tabcmd icon indicating copy to clipboard operation
tabcmd copied to clipboard

Filtering issue when replacing colon/comma/ampersand with asterisk

Open katyhulm opened this issue 2 years ago • 2 comments

Hi, thank you for building this great tool! I'd like to raise a query about running an export command on a Tableau dashboard view. I am using the same export command for a number of country x role name filter combinations, and it works great for role names without commas, e.g.

tabcmd export "[workbook]?Country=USA" --pdf -f [filename] --filter "Role name=Cashiers" cashiers

However, when I try to follow the instruction from within the export documentation (see below):

Note:In both formats, the filter clause cannot contain a colon (:), a comma (,) or an ampersand (&). You must replace each of these characters with an asterisk ()

...this does not appear to be interpreted correctly and the output seems not to have matched to any role name (no visualisation is displayed):

tabcmd export "[workbook]?Country=USA" --pdf -f [filename] --filter "Role name=Appraisers* Real Estate" appraisers

Whereas this is what I can see in Tableau, for context: tableau

Thank you for any help you can provide. I tried escaping the * with , just using the comma, and switching the filter into the URL, but just can't quite figure it out.

katyhulm avatar Nov 14 '23 11:11 katyhulm

Is this in Tableau Online? If not, can you tell me what version of Tableau Server you are using?

jacalata avatar Nov 14 '23 11:11 jacalata

Is this in Tableau Online? If not, can you tell me what version of Tableau Server you are using?

It is in Tableau Online, yes

katyhulm avatar Nov 14 '23 12:11 katyhulm