Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I Have a Build Up Chart that goes from the "Programmed Values" to the "Real Values" and when the first one is greater than the second one, my data must change so that:
Programmed | 50 |
A | 2 |
B | 3 |
C | 4 |
D | -5 |
E | 8 |
F | 20 |
Real | 82 |
Becomes:
Programmed | 50 |
A | 8 |
B | 4 |
C | 3 |
D | 20 |
E | 2 |
F | -5 |
Real | 82 |
What I did was change the order. For exemple, the greatest value (20) was assigned to F but now the lowest value is. The same goes to the second greates (8), assigned to E. The second lowest (2) is now assigned to E.
How can I reassing values in Qlik Sense like that?
Hi you share your expression!!!
Hi you share your expression!!!
Got It by myself but I thank you for the help
I created 6 variables:
Then, for exemple, to change the value of vB based on it's rank among A,B,C,D,E and F, I used:
Using the same formula for vA,vC,vD,vE and vF but changing the variable in red to the corresponding one, I can reverse the values as I intended:
Got It by myself but I thank you for the help
I created 6 variables:
Then, for exemple, to change the value of vB based on it's rank among A,B,C,D,E and F, I used:
Using the same formula for vA,vC,vD,vE and vF but changing the variable in red to the corresponding one, I can reverse the values as I intended: