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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Topjacket
Helper I
Helper I

Distinct Count all except all page filters

Hi

 

Is it possible to distinct count a field, ignoring selected filters but including the "All Pages" filters? I could obviously replicate the All pages filters but I would prefer not to as if they ever change, I will need to remember to change the measures.

 

The basic dax I am using at the moment is below but as I have found out this also ignores the "All Pages" filters

 

CALCULATE(DISTINCTCOUNT(MASTER_DATA[Company]),All(MASTER_DATA))
 
Any tips would be great.
 
Thanks
1 REPLY 1
FreemanZ
Super User
Super User

hi @Topjacket ,

 

what do you mean by "ignoring selected filters but including the "All Pages" filters? "?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.