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
Pheroxiz
New Member

Sum of max in a day and ignore other filter

Hello everyone,

Given the table name is Table1

Day        I Number I   Type
1-Jul-24 I      20     I     A
1-Jul-24 I      10     I     A
2-Jul-24 I      10     I     B
3-Jul-24 I      5       I     C
3-Jul-24 I      8       I     C
4-Jul-24 I      5       I     C

I would like to create a measure that reflect the sum of max number in a day whether I used a slicer to filter type or not. However, the total number should still consider the day slicer.

For example,
W/O day slicer: regardless of which type I filter out, the measure should be 20+10 + 8 + 5 = 43
Filter out 4-Jul-24: The measure should be 20 + 10 + 8 = 38

 

Your help is appreciated!

1 ACCEPTED SOLUTION
Gabry
Super User
Super User

Hello @Pheroxiz ,

this is you measure 

MXS = CALCULATE(SUMX(SUMMARIZE('Table', 'Table'[Day], "Max", MAX('Table'[number])),[Max]), ALL('Table'[type]))

View solution in original post

1 REPLY 1
Gabry
Super User
Super User

Hello @Pheroxiz ,

this is you measure 

MXS = CALCULATE(SUMX(SUMMARIZE('Table', 'Table'[Day], "Max", MAX('Table'[number])),[Max]), ALL('Table'[type]))

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.

Top Solution Authors