I have declared a master dimension called Category. This dimensions has a an expression (i tried "match" and "if" condition) which allows me to select only the categories i'm interested in.
Then I use this dimension as a filter pane.
Then in my chart, i would like to have a different treatment depending on the Category chosen in the filter pane.
I know the function Getfieldselections but it doesn't work. There is no value displayed.
I figured out that this function doesn't work when the master dimension has a specific expression. If the master dimension is equal to the data table field there is no problem. Getfieldselections returns the correct results.
Does anyone have an idea/workaround of how to get the filtered value chosen?
Thanks for your help.