I want to compare 5 variables’ values (scores) and Display the Top 2 (Highest Scores) in the End Screen.
How to Compare Scores of 5 Variables and Display the Top 2 (Highest Scores) in the End Screen
Best answer by vivekthakur.b2b
Hi
You need to create multiple “v_compare” variables e.g. v2_compare, v3_compare, v100_compare….
And need to use the same solution which you previously used:
“if balanced_investor > 0, add to v_compare
if cash_flow_creator > 0, subtract from v_compare
if v_compare > 0 → go to balanced_investor end screen
else → go to cash_flow_creator end screen”
You need to create multiple end screens for all possible outcomes. First place logic if Top1 is greater than all 4 variables and then if Top 2nd is greater than remaining 3 variables, only then go to that specific end screen.
For the next end screen, do use the ‘v2_compare’ variable, and so on. You’ll achieve the results accurately. All the Best!
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.