1 Reply Latest reply on Jan 31, 2018 7:41 AM by Robin Cottiss

    Embeded a Dashboard with filter options in a Webside

    Lea Zimmer

      Hi together,

       

      my collegaue wants a link to a Dashboard with filtered datas. Example only the datas from today.

       

      I can embeded a Dashboard in the webside, but the filter does not work. I always get all the data. Here is my programming code:

       

      function Filter(KPI Name) {

           var sheet = viz.getWorkbook().getActivSheet();

           if

                sheet.clearFiltersAsync("KPI Name); }

           else {

                sheet.applyFilterAsync("KPI Name" Tableau.FilterUpdateType.REPLACE);

      }}

       

      Thank you for your help

       

      Lea