Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rosemarie
New Member

FILTER function

Hello,

 

I am trying to use FILTER to flter my table to just include certain rows, but it is returning the full rows. This is my formula:

 

Successful Challenges = CALCULATE(COUNT('Challenges'[Challenge ID]), Filter(Challenges, Challenges[Challenge Status] IN {"Awarded", "Closed"}))
 
Any suggestions would be appreciated.
 
Thanks, Rosemarie
2 ACCEPTED SOLUTIONS
Fowmy
Super User
Super User

@rosemarie 

Can you try this, if this doesn't work, please provide more details and screenshots:

Successful Challenges =
CALCULATE (
    COUNT ( 'Challenges'[Challenge ID] ),
    Challenges[Challenge Status] IN { "Awarded", "Closed" } 
)



Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

Thanks - that solved my problem.

View solution in original post

2 REPLIES 2
Fowmy
Super User
Super User

@rosemarie 

Can you try this, if this doesn't work, please provide more details and screenshots:

Successful Challenges =
CALCULATE (
    COUNT ( 'Challenges'[Challenge ID] ),
    Challenges[Challenge Status] IN { "Awarded", "Closed" } 
)



Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Thanks - that solved my problem.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.