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 Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,922)