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

Get Fabric certified for FREE! Don't miss your chance! 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
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.