Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Divide each value by total row

I have a matrix in power bi as below 

Cityitem 1item 2item 3Totals
C130342185
C222342177
C3323343108

the values are distinct counts of IDs and the totals are provided by power bi

 

now I want the same table but with percentage (each value divided by the Total of the row)

for example C1,item1 = 30/85

so I will get something as below 

Cityitem 1item 2item 3Total
C135%40%25%100%
C229%44%27%100%
C330%31%40%100%

3 Replies