1 Reply Latest reply on Nov 5, 2019 11:18 PM by Santiago Sanchez

    Apply filter on a secondary data source before loading visualization using Tableau JS

    smita h

      I am able to filter the dashboard using api applyFilterAsync("[seconday_data_source_name].[filter_name]", 'value', tableau.FilterUpdateType.REPLACE). I referred to Applying a Filter on a Secondary Data Source from JavaScript API  for the format of filter name if it is derived from a secondary data source.


      When I apply this filter before loading the visualization, the data does not get filtered. Any suggestion or work around would be greatly appreciated.