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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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