Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have 6 Master Itens classified as Measures, let's say A,B,C,D,E,F. Let's call them ListOfMeasures.
I want to establish a ranking order for each measure, let's say A>F>D>B>C>E.
My goal is to change the value of A to the value of E, change the value of F to the value of C and change the value of D to the value of B.
The logic I was aiming for was, for each Measure in ListOfMeasures
Things I tried:
How can I sort this out?
@Ratier share sample data with expected output
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:
@Ratier share sample data with expected output
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: