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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.