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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Filter with slicer giving wrong results

I have the below measure, and its not giving me the right result. On the page I'm using this measure, I'm using a slicer. However, the data the slicer is filtering, isn't on the "Members" table. 

 

The way I have this written, shouldn't it ignore ANY filtering that could be applied to the "Members" table? When I have the Slicer on "ALL", it gives me the correct value ie: The count of members with created at date BEFORE 10/31/2019. However, when I select an option in the slicer, it gives me the wrong result. 

 

# of Members =
CALCULATE (
COUNT ( 'Members'[id] ),
FILTER ( ALL ( 'Members' ), 'Members'[createdAt] <= DATE ( 2019, 10, 31 ) )
)
 
Thanks in advance! 
Jim
2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

I did a test but the error you mentioned didn't appear.

0202.gif

 

Could you share some sample data and the expected result to have a clear understanding of your question please? I can do some tests for you.

You can save your files in OneDrive, Google Drive, or any other cloud sharing platforms and share the link here.

 

Best Regards,

Yuna

OwenAuger
Super User
Super User

Hi @Anonymous 

Could you post a sample pbix file or more details on the data model, and the visual where you are displaying this measure?

 

You are correct that the measure itself should effectively remove any filters on the 'Members' table.

 

It's hard to say, but it could be related to DAX auto-exist and the queries generated by Power BI using SUMMARIZECOLUMNS - see discussion here:

Owen


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors