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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (53,750)