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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. 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
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.