You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
csv_req_option can not filter if it's a boolean filter #1464
Describe the bug
I tried to download the data from tableau and save it in csv format, but when I tried to filter data on a boolean filter, it doesn't work
Versions
Details of your environment, including:
Tableau Server version (or note if using Tableau Online): 2023.1.8
filter1 works good, because filter1 is a normal filter with option in text format, but filter2 doesn't work, because filter2 is a boolean filter. But I don't know how to put the value in req_option if I want to filter the data with boolean filter2 with filter2 =True. and I didn't see any instruction in document saying about this one.
NOTE: Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.
@irisx0719 I was recently looking at boolean filters and I think you need to pass them in as lower-case strings, for example "true" or "false". It seems that the Tableau Server/Cloud backend treats those as case sensitive.
Let us know if that works for you and we can turn this into a documentation story to make that more clear.
@irisx0719 I was recently looking at boolean filters and I think you need to pass them in as lower-case strings, for example "true" or "false". It seems that the Tableau Server/Cloud backend treats those as case sensitive.
Let us know if that works for you and we can turn this into a documentation story to make that more clear.
thank you @bcantoni, I tried put to the lower-case string and the problem solved.
Activity
bcantoni commentedon Sep 18, 2024
@irisx0719 I was recently looking at boolean filters and I think you need to pass them in as lower-case strings, for example "true" or "false". It seems that the Tableau Server/Cloud backend treats those as case sensitive.
Let us know if that works for you and we can turn this into a documentation story to make that more clear.
irisx0719 commentedon Sep 19, 2024
thank you @bcantoni, I tried put to the lower-case string and the problem solved.
jacalata commentedon Sep 20, 2024
Added a note here - #1471
#1464 - docs update for filtering on boolean values (#1471)
0.34 development merge
0.34 development merge
tableau#1464 - docs update for filtering on boolean values (tableau#1471