1 Reply Latest reply on Sep 25, 2015 4:30 PM by diego.medrano

    Global Filter-Java API

    MGMurthy Murthy

      Hi

       

      I saved in 10 reports in single workbook(like a package), so it has multiple data source. but all report has same quickfilter in dashboard like buisnessdate. I will fetch the data based on businessdate and few other filters. I would like to apply global filter instead of changing the businessdate for all reports. hope we can achieve this using Java API.


      I used this reference link to apply Global Filter JavaScript API Tutorial

       

      I pass the filter as a parameter but variables in JavaScript are not initializing properly. Please Suggest.

       

      function filterSingleValue() {

        activeSheet.applyFilterAsync(

        "Region",

        "The Americas",

        tableau.FilterUpdateType.REPLACE);

      }

       

      Regards,

      MG