cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
powerapps890
Post Prodigy
Post Prodigy

Counter based on filter

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")

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

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?

 

Best regards,
Community Support Team _ Jeffer Ni

 

View solution in original post

2 REPLIES 2
v-jefferni
Community Support
Community Support

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?

 

Best regards,
Community Support Team _ Jeffer Ni

 

View solution in original post

v-jefferni
Community Support
Community Support

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.

 

 

Best regards,
Community Support Team _ Jeffer Ni

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (65,842)