Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Detect double duplicate value by entity

Hello, how to calculate in dax the number of identical rows in the name and date columns. The idea is to be able to display by entity the number of rows having the same value for name and date. He...
  • VahidDM's avatar
    5 years ago

    Hi   

    Try to add a column as a "DATENAME" by concatenating name and date, then try this measure:

    Measure=
    CALCULATE (
        COUNTROWS ( 'Table' ),
        FILTER ( ALL ( 'Table' ), 'Table'[DATENAME] = MAX ( 'Table'[DATENAME] ) )
    )

     

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    Appreciate your Kudos 

     

     

     

     

    Anonymous