cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Filter and Count Values in a column

Hi Experts

 

I cannot see my error - want to Count the occurence in a column the number of time we get apples and banana - based on Filter

CALCULATE(
COUNT('STG Fact_To_Do'[Task_Results]),
FILTER('STG Fact_To_Do','STG Fact_To_Do'[Task_Results] ="Apples" && "Banana"))
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IV
Super User IV

@Anonymous , You want like ?

CALCULATE(
COUNT('STG Fact_To_Do'[Task_Results]),
FILTER('STG Fact_To_Do','STG Fact_To_Do'[Task_Results] in {"Apples", "Banana"}))



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

2 REPLIES 2
Highlighted
Super User IV
Super User IV

@Anonymous , You want like ?

CALCULATE(
COUNT('STG Fact_To_Do'[Task_Results]),
FILTER('STG Fact_To_Do','STG Fact_To_Do'[Task_Results] in {"Apples", "Banana"}))



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Highlighted
Anonymous
Not applicable

Thanks 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors