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
jengnz
Frequent Visitor

Help with Dax

Trying to figure out a measure to get the Case number and the Critical errors.  So I need Case Number 1 with 7 critical errors not 21 critical errors.  The Total Critical Errors column is the total but it is showing for each row.  Thank you

Case NumberStart dateTotal Critical ErrorsTotal Non Critical errors
15/19/2023711
15/19/2023711
15/19/2023711
25/18/202353
25/18/202353
35/19/202365
35/19/202365
1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @jengnz 

please try

SUMX (

VALUES ( 'Table'[Case Number] ),

CALCULATE ( MAX ( 'Table'[Total Critical Errors] ) )

)

View solution in original post

2 REPLIES 2
jengnz
Frequent Visitor

Worked perfectly! Thanks

tamerj1
Super User
Super User

Hi @jengnz 

please try

SUMX (

VALUES ( 'Table'[Case Number] ),

CALCULATE ( MAX ( 'Table'[Total Critical Errors] ) )

)

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.