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
abhiigt
Frequent Visitor

ALLEXCEPT DAX function not working

Hi,

 

I am using ALLEXCPET DAX function in the below sample formula :

 

Measure_Sample= calculate(count(city),ALLEXCEPT(citytable,updateddate))
 
and when I use updateddate in filter pane as a filter the value of Measure_Sample is getting effected by the filter values, ideally it should not, please correct if wrong !!! 
1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @abhiigt ,

 

Here is one post which is similar with yours. Please check if it could help you.

 


 

This is not really an issue. It is clearly explained in this article from Alberto. It is happening because of Auto Exist feature in DAX.

Besides, creating a seperate dimension table is not really a workaround, but rather a best practice. A Star Schema is always considered best when working with Power BI Datamodel. This is what makes it more powerful!

 

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

View solution in original post

3 REPLIES 3
Icey
Community Support
Community Support

Hi @abhiigt ,

 

Here is one post which is similar with yours. Please check if it could help you.

 


 

This is not really an issue. It is clearly explained in this article from Alberto. It is happening because of Auto Exist feature in DAX.

Besides, creating a seperate dimension table is not really a workaround, but rather a best practice. A Star Schema is always considered best when working with Power BI Datamodel. This is what makes it more powerful!

 

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

Fowmy
Super User
Super User

@abhiigt 

ALLEXCEPT removes all context filters in the table except filters that have been applied to the specified columns.
In your case  updateddate  columns is not affected here.

if you need to remvoe flters from that column then use:

 

Measure_Sample= calculate(count(city),ALL(citytable[updateddate]))

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂


Website YouTube  LinkedIn



 

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

abhiigt
Frequent Visitor

Hi Fowmy,

 

I want to block all column filters from table city, except updateddate column. Using All is also not working 😞

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!

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.