I have a dropdown box that is populated by a column with scenarios 1-14. In my datasource I have 500 items that are tagged as sceanrio 1-14. I need an if statement that will show the counter based on the scenario they selected in the dropdown box. This is what I have currently, the first part of the formula works. I just don't know about the if statement for all 14 and the second part of the formula. CountIf(GUAT, Scenario = "Scenario 1") - CountIf(GUATResponses2, Title=vUserMail && Scenario="Scenario")
Solved! Go to Solution.
Hi @powerapps890 ,
Do you want to count records bases on the scenario selected in the Dropdown?
If you do, try below formula:
CountIf(GUAT, Scenario = ScenarioDropDown.Selected.Value)
About the second part of the formula, could you please share more details about your formula? What was the error prompt? What is the "Scenario" part represents?
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Hi @powerapps890 ,
Do you want to count records bases on the scenario selected in the Dropdown?
If you do, try below formula:
CountIf(GUAT, Scenario = ScenarioDropDown.Selected.Value)
About the second part of the formula, could you please share more details about your formula? What was the error prompt? What is the "Scenario" part represents?
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Hi @powerapps890 ,
Have you tried the formula in your working app? If you have any further question, please let us know.
If this post helps, please consider Accept it as the solution to help the other members find it.
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
207 | |
70 | |
51 | |
49 | |
20 |
User | Count |
---|---|
261 | |
120 | |
85 | |
80 | |
68 |