Forum Discussion

pjdsh's avatar
pjdsh
Helper I
5 years ago
Solved

Need Help in Repeated value

Need help in calculation to find out the repeated value in a period of 30 days and display the repeated value as 'Repeated' as shown in the sample data. I have to find out whether a TP ID is repeated...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi pjdsh ,

     

    Try this calculated column.

    Column =
    VAR _COUNT =
        IF (
            [TP ID] <> BLANK (),
            CALCULATE ( COUNTROWS ( 'Table' ), ALLEXCEPT ( 'Table', 'Table'[TP ID] ) )
        )
    RETURN
        IF ( _COUNT > 1, "Repeat ID" )

     

     

    You can check more details from here.

     

     

     

    Best Regards,

    Stephen Tao

     

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