Forum Discussion

mariuscourcel's avatar
mariuscourcel
Frequent Visitor
6 years ago
Solved

Return a unique value by counting specific values under multiple criterias

Hello all,   I am trying to return a unique number (this is important, because i know how to get that number through a table visual, but not as a single value) based on specific criterias : i need ...
  • v-eachen-msft's avatar
    6 years ago

    Hi mariuscourcel ,

     

    Do you mean to get the "Test" formula? Try to add "Date" condition.

    Test =
    IF (
        COUNTROWS (
            FILTER (
                Bd_03_Franco;
                Bd_03_Franco[Cle_Liv] = EARLIER ( Bd_03_Franco[Cle_Liv] )
                    && Bd_03_Franco[Date] = EARLIER ( Bd_03_Franco[Date] )
            )
        ) > 1;
        1;
        BLANK ()
    )