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! Request now

Reply
Tcounihan
New Member

Date filter

Hello, 

 

I have a 'case open date' filter applied to my sheet 

 

I am wondering if it is possible to create a measure that counts all cases opened prior to the filtered dates? 

 

Thanks, 

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @Tcounihan 

 

You could use ALLEXCEPT or ALL function in your measures. For example, the following measure will count id on all case open dates and ignore the 'case open date' filter.

measure_count = CALCULATE ( COUNT ( 'table'[id] ), ALL ( 'table'[case open date] ) )

 

However, if you replace ALL with ALLEXCEPT, it will count id on filtered case open dates and ignore filters on other potential columns. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

KNP
Super User
Super User

Yes it is.

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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