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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (5,095)