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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
danextian
Super User
Super User

Function ALL not working when trying to remove filter from a measure

Hi All,

 

I have a page filter for rolling months showing just the past 13 months. However, I want a measure to show all rows and not be affected by the page filter. I use ALL but  it  is not working.

 

My measure is this 

Amount (All) = SUMX(ALL('Calendar'[Rolling Months]),[MEASURE])

 

The measure doesn't show values past 13 months.

 

 

 

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
5 REPLIES 5
v-jiascu-msft
Microsoft Employee
Microsoft Employee

@danextian

 

Hi,

 

ALL will work. You should try Calculate like this if you have a filter on Rolling Months.

 

Amount(all) =
CALCULATE ( [MEASURE], ALL ( 'calendar'[Rolling Months] ) )

 

 Function ALL not working when trying to remove filter from a measure.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best Regards!

Dale Cui

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

I tried using all(table). The values in the matrix  updated with the value of all rows in the table for that measure but Jan-Mar are still blank.

 

Could you give me a copy of your pbix? I might be doing it wrong.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

@danextian

 

Hi,

 

I just tested it with the formula. Nothing special. Could you please post formula here? You can use dummy names. Another possibility is that you have chosen the wrong column from a different table, which filtered the Jan-Mar. Please check it out.

 

Best Regards!

Dale.

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

Hi @v-jiascu-msft

 

I tried  this but it did not work. My page filter is for rolling 13 months.  Jan-Mar last year still showing blank values.

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
spuder
Resolver IV
Resolver IV

Hi @danextian

 

I don't think that will work. Visual, Page and Report Level Filters can't be eleminated by DAX.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.