Forum Discussion

jengnz's avatar
jengnz
Frequent Visitor
3 years ago
Solved

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
  • Hi jengnz 

    please try

    SUMX (

    VALUES ( 'Table'[Case Number] ),

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

    )

2 Replies

  • tamerj1's avatar
    tamerj1
    Community Champion

    Hi jengnz 

    please try

    SUMX (

    VALUES ( 'Table'[Case Number] ),

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

    )