Forum Discussion

whitefomalhaut's avatar
whitefomalhaut
Regular Visitor
8 years ago
Solved

Only dublicates count

Hi, Im new in Power BI, so I hope someone will help,I need measure that count only values of dublicates without counting of other data in one Column that counts more than once a a a b ...
  • McCow's avatar
    McCow
    8 years ago

    Yes, whitefomalhaut

    But this solution can be simple realise with calculated column. With measure is IMHO a little complex.

    Look: 

     

    Calculated_Column = IF(CALCULATE(COUNTROWS(Table1);ALLEXCEPT(Table1;Table1[Data]))>1;
    1/CALCULATE(COUNTROWS(Table1);ALLEXCEPT(Table1;Table1[Data]));BLANK())

    The new EXAMPLE code is here to

    Best regs