Forum Discussion

mohany2211's avatar
mohany2211
Frequent Visitor
7 years ago
Solved

Count of similar value in multiple Rows

Hi...I have a table in powe bi where i have multiple similar value in rows and i want a count of the total values of similar value in each row, something like this. Pls advise the formula for the sam...
  • Anonymous's avatar
    Anonymous
    7 years ago

    Try adding a calculated column to your table and adding the below:

     

    Column =
    COUNTX (
        FILTER (
            Table1,
            Table1[Entity] = EARLIER ( Table1[Entity] )
        ),
        Table1[Entity]
    )

     

    where Table1 is your table.