Hello, I use program languages, but I don't know how to write it in Power apps. I have created variable Set(CriteriaCounter, 0), so in programic language it is int criteriaCounter = 0.
This variable is going create number for each criteria depends on numbers of criteria in this code: ( you can just take a look only in two first If() functions )

Okay first if works right, but my variable CriteriaCounter is still 0, but I need to say CriteriaCounter++ or CriteriaCounter = CriteriaCounter +1, so in this case my variable will be changed, and I will get the rigth numbers. Please help😊