Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

How to calculate duplicate based on different column

Hi All,   I am new in Power BI and wanted to know how can I calculate duplicate in below situation.   Number Assignment group Parent 1 A XYZ 2 B XYZ 3 A XYZ   In this cas...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Anonymous ,

     

    We can update the measure.

    Record = COUNTROWS( DISTINCT(SELECTCOLUMNS('Table',"parent",[Parent],"group",[Assignment group])))

    If the above one can't help you get the desired result, please provide your expected result with backend logic.

     

    Best Regards,

    Neeko Tang

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