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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
ElliotCartlidge
Frequent Visitor

Max Sum of individual days but ignoring filters

Hello,

As the subject suggests i've been attempted to create a measure which finds the highest day total of a unit but ignoring filters.

I worked out how to calculate the highest day total, but can't get it to ignore filters. Below is what i am using.

 

Highest Day Total = maxx(SUMMARIZE('Manufactured Items','*KEEP*Date'[Date],"Total",SUM('Manufactured Items'[SMU])), [Total])

 

How do i get this forumla to ignore Date filters.

 

Kind regards,

Elliot

1 ACCEPTED SOLUTION
SpartaBI
Community Champion
Community Champion

@ElliotCartlidge try:

 

Highest Day Total =
MAXX (
	ADDCOLUMNS(
        ALLSELECTED(*KEEP*Date'[Date]),
        "Total",CALCULATE(SUM ( 'Manufactured Items'[SMU] ))
    ),
    [Total]
)

 


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


Full-Logo11.png

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

Showcase Report – Contoso By SpartaBI

View solution in original post

3 REPLIES 3
SpartaBI
Community Champion
Community Champion

@ElliotCartlidge try:

 

Highest Day Total =
MAXX (
	ADDCOLUMNS(
        ALLSELECTED(*KEEP*Date'[Date]),
        "Total",CALCULATE(SUM ( 'Manufactured Items'[SMU] ))
    ),
    [Total]
)

 


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


Full-Logo11.png

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

Showcase Report – Contoso By SpartaBI

That worked perfectly, looks like I need to filter for certain years in the date table though now. Please can you suggest how I'd alter what you've created to look at only 2022 and 2021?

@ElliotCartlidge you can add any filter you want outside the visual (filter pane / slicer / other visual ) and if you will select there only these years it will work as expected.
ALLSELCETED only ignors filters from inside the same visual (in a simple explanation, it actually does something much more complex with shadow filters, but the outcome is that it ignors filters from inside the visual and retain filters from outside the visual).



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


Full-Logo11.png

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

Showcase Report – Contoso By SpartaBI

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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