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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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