1 Reply Latest reply on Jul 6, 2018 11:50 AM by Matt Lutton

    how can I filter the "Masked Data" in filters when the value passed to the filters using Voice commands?

    Shrey Jain

      I am using a speech recognition js and a tableau js "tableau_v8.debug.js" to control the tableau filters. when i speak "Site 2" it must filter my data set. I have masked the data of different sites as Site 1, Site 2, Site 3.. and so on.


      Here is my code . I am passing "Site 2" to noteContent:


      function BLDG(noteContent)


        var worksheets = activeSheet.getWorksheets();

         for(var i = 0; i < worksheets.length; i++)


      activeSheet.getWorksheets()[i].applyFilterAsync('Building', noteContent, tableau.FilterUpdateType.REPLACE);





      Here in above code Building is my filter name , that is visible in the picture above. Any help on this would be appreciated.