1 Reply Latest reply on Jun 20, 2016 2:51 PM by Tom W

    Applying an exclusive filter using the Javascript API

    Imran Akbar

      I'm using Tableau's Javascript API to embed a viz into a website.


      I'm passing the options to my viz like so:

      var mainVizOptions = {

                      hideTabs: true,

                      hideToolbar: true,

                      width: "100%",

                      height: "600px",

                      "Country": "USA" };


      However, it seems to be applying the filter in addition to the default (which is all values).  How do I tell Tableau to select just this single value as the filter?

      Do I have to use URL parameters like this page mentions?