3 Replies Latest reply on May 9, 2018 2:09 AM by kumar bharat

    Get worksheet filters in python

    Andrea Grella

      Hi community!


      Few days ago I started playing with python on tableau.


      Here is the situation:


      • I  have a field called Country, this is used in my worksheet as a filter.
      • I want my python script to receive filtered countries. I see that, if I put Country on columns or on details, it is possible to get such filtered countries.
      • I would like to get filtered countries without putting Country on columns/rows/details.


      I need this because in the "real" workbook, I work with Country and many others fields in filters. If I put all these field in columns/rows/detail the script

      take too long for being computed.



      I attach an "example" workbook. Thanks to all!