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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Not applicable

DAX ALL function not working with multiple filter

I have 3 dimension and 1 fact tables. I want calculate the sum(Fact[Value]) that filter through the dimension tables except that one dimension table should ignore the filter context, see my dax measure below :


Measure = CALCULATE( SUM( FACT[Value]), FILTER(DimCategory, DimCategory[Category] = "Marker")

                   , FILTER(DimDept, DimDept[Dept] =1 , ALL(DimHierarchy) )

The ALL(DimHierarchy) is not ignoring the Filter context in DimHierarchy table. I need other filters of Marker and dept =1 to filter through but the dimhierarchy should return grandtotal of the table .

How can i make this dax working. thanks

Community Support
Community Support

Hi @Anonymous ,


Try the following formula:


Measure = 
    SUM( FACT[Value]),
    DimCategory[Category] = "Marker",
    DimDept[Dept] = 1,





If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Super User
Super User

@Anonymous , if you selected something from DimHierarchy and then using all, you will get the value summed up against that value only

I explained this case in details here :: Need of an Independent Table in Power BI:

Not applicable

I have watched the video and it is not what i was looking for.

I needed the rollup from DimHierarchy table despite I am filtering category Marker from another table

Not applicable

Please can you elaborate with DAX because I look at the video and I'm still confused.

Helpful resources

Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City


Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.