I have the Site name as shown in the filter above. I want to filter any Site Name using voice commands, for eg., if i say Bull Street, then there should do the wild match to filter the Site 1/125 Bull St, New Delhi. The same way is say Singham Road it must filter 21/585 Singham Rd Mt St jahn.
I was using the below code to filter my data:
here in noteContent the Site name , like Bull Street, Singham etc. will be passed.
function FilterSite(noteContent)
{
var worksheets = activeSheet.getWorksheets();
for(var i = 0; i < worksheets.length; i++)
{
activeSheet.getWorksheets()[i].applyFilterAsync('Site', noteContent, tableau.FilterUpdateType.REPLACE);
}
}
Any help on this would be appreciated.
Hi Shrey,
Apply filter sync syntax you are using is incorrect.the filter name is site but you are using building in the syntax.
please check the syntax :Tableau JavaScript API Concepts--Filtering
BR,
bharat