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

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

Reply
Alex_Hasan
Helper II
Helper II

ALL vs REMOVEFILTERS

Hello, I have a question about using ALL and REMOVEFILTERS functions. Here you can see the perecentage of sales using those two functions and the results are the same.  So, which one is the correct way to calculate? 

All.JPGremovefilters.JPG

1 ACCEPTED SOLUTION

@Alex_Hasan this is not something I can really explain in a post message here 🙂
Basically when you want to remove filters through calculate (like in your example) then you can use each one. It's the same.
When you want to create a table for some purpose that has all the values regardless of filters, then you use ALL.
Check out these 2 videos:
https://www.youtube.com/watch?v=GIP5dzBmUxc&t=2s

https://www.sqlbi.com/tv/removefilters-dax-guide/



2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png

Showcase Report – Contoso By SpartaBI


SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Full-Logo11.png

View solution in original post

4 REPLIES 4
powerbi_zone
Frequent Visitor

When using inside calculate there is not much difference .Also there is some context behind why the REMOVEFILTERS function was introduced.If i try to explain it here the blog will become too lengthy .See this video till the end ,Hope things become more clearer ! 

Cheers !

https://www.youtube.com/watch?v=BPo7SzJXb0w 

SpartaBI
Community Champion
Community Champion

@Alex_Hasan As a 2nd argument in calculate (the way you used it in your example) there is no difference at all 🙂
ALL can aslo be used as Table funciton where REMOVEFILTERS has only the calculate modifier role. (ALL can do both).
REMOVEFILTERS was added few years back to make it more understandable instad writing ALL there in the calculate modifer scenarios. 


2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png

Showcase Report – Contoso By SpartaBI


SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Full-Logo11.png

Hi @SpartaBI , could you please elaborate when to use ALL and when to use Removefilters? 

@Alex_Hasan this is not something I can really explain in a post message here 🙂
Basically when you want to remove filters through calculate (like in your example) then you can use each one. It's the same.
When you want to create a table for some purpose that has all the values regardless of filters, then you use ALL.
Check out these 2 videos:
https://www.youtube.com/watch?v=GIP5dzBmUxc&t=2s

https://www.sqlbi.com/tv/removefilters-dax-guide/



2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png

Showcase Report – Contoso By SpartaBI


SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Full-Logo11.png

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.