Forum Discussion

mahra-in's avatar
mahra-in
Helper II
8 years ago
Solved

Measure for % on Total

Please give me measure for below requirement

 

I have a column as

 

Delievry

On Time

Late

On Time

Not Available

On Time

On Time

Late

 

And the result I need is 

 

Total there are 7 rows or values, On Time = 4/7 * 100=57.14%

 

Please help me

1 Reply

  • Zubair_Muhammad's avatar
    Zubair_Muhammad
    Community Champion

    Hi mahra-in

     

    Try this MEASURE

     

    =Divide(Calculate(COUNTROWS(TableName),
    TableName[Delievry]="On Time"),
    COUNTROWS(TableName))