Forum Discussion
Syndicate_Admin
4 years agoAdministrator
Variable value zero issue in powerapps
Hi, I am creating a quiz in powerapps wherein for every score there is a comment viz if the total score is 10 it will be poor, for 20 it will be Okay, like wise. The issue is that everything is ...
Syndicate_Admin
4 years agoAdministrator
What is the score variable showing as its value when they are all wrong - likely its Blank rather than zero.
You could try changing the way you reference the score value, like this maybe:
If(
IsBlank(Score), "poor",
Score <10, "poor",
Score <20, "bad",
Score <30, "Not Good",
Score <40, "Okay",
Score <50, "Good",
Score >=50, "Excellent"
)