4 Replies Latest reply on Nov 25, 2013 10:14 PM by Sivaranjani Bommana

    Tableau API

    Sivaranjani Bommana

      Can we have two tableau dashboards embedded into one web page?

      Requirement is to have all the drop down filters on one dashboard and the report on another.

      So these two tableau dashboards should be related and should be one VIZ object.

      We want this because the requirement is as we scroll down in the report we still be able to see the filters.

        • 1. Re: Tableau API
          Russell Christopher

          Sivaranjani Bommana wrote:

           

          Can we have two tableau dashboards embedded into one web page?

          Requirement is to have all the drop down filters on one dashboard and the report on another.

          So these two tableau dashboards should be related and should be one VIZ object.

          We want this because the requirement is as we scroll down in the report we still be able to see the filters.

           

          Yes, you can, but not via one Viz Object. Each viz instantiate in a different div should be controlled with a different Viz Object.

           

          Hope this helps!

          • 2. Re: Tableau API
            Sivaranjani Bommana

            Yes this way I am able to get two dashboard into one web page.But the underlying requirement for us to have two dashboard in one webpage was to have drop down filters in one dashboard and report in the other dashboard.So as we scroll the report the filter will still be visible.If the dashboards will be from two different Viz Object there won't be any connection between both.Hence the filter dashboard willn't have not affect the data in the report.So having as two different div objects will not help :-(

            • 3. Re: Tableau API
              Russell Christopher

              The Tableau JavaScript API also allows you to:

               

              • Detect when someone plays with a filter
              • Retreive the values that were applied to the filter

               

              So, you could "watch" what the user is doing in the first dashboard, gather the filter values that they've selected (see the getAppliedValues() method), then apply them to the second dashboard.

               

              Hope this helps!

              • 4. Re: Tableau API
                Sivaranjani Bommana

                Thanks Russell....I will try it out.