12 Replies Latest reply on Jan 31, 2020 12:25 PM by Chad Banicki

    Can I filter query views with the server Python client?

    Matt Coles

      When requesting the CSV, PDF, or PNG of a view on Tableau Server, the Server REST API allows you to pass in filter values as documented at the bottom of this page. An example would be:


      GET /api/api-version/sites/site-id/views/view-id/data?vf_SalesTerritory=Washington


      The intent here would be to obtain a CSV of a viz, but with the viz filtered to the Washington sales territory.


      Does the Python Server Client allow for me to pass these filter values into a request to download the image of a view, for example, as shown here? How would I do that?