Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
yanivvl0
Creator III
Creator III

How to change field in dynamic dimension according to select field value?

hi to all , i have  a chart , in it there is a year dimension ( and an expression ) , in the model there is another status field , and 4 year fields,

i need in the (calculate) year dimension  - for every single selected value in the status field to use a different year field ,

for example  : if i select status = 210 , then the dimension need to be year_fld_1 ,

if i select status = 211 , then the dimension need to be year_fld_2   ....

is there any way to do so ?   THANKS .

1 Solution

Accepted Solutions
marcus_sommer

Maybe with something like this:

pick(match(Status, 210,211,...), year_fld_1, year_fld_2, ...)

- Marcus

View solution in original post

2 Replies
marcus_sommer

Maybe with something like this:

pick(match(Status, 210,211,...), year_fld_1, year_fld_2, ...)

- Marcus

yanivvl0
Creator III
Creator III
Author

thanks M arcus !!