Skip to main content
cancel
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.

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.

 

 

 

 










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


Proud to be a Super User!









"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
Employee
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.










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


Proud to be a Super User!









"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.

 










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


Proud to be a Super User!









"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
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

PBI_APRIL_CAROUSEL1

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.