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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.