Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Calculating Percentage

Dears,   I am new in Power BI and I need to calculate percentage of "Open" status but I don't know how   your help is highly appreciated
  • Anonymous's avatar
    Anonymous
    8 years ago

    Hi Anonymous,

     

    I think you can do it like this:

     

    Create a measure: 

    CountOpen = CALCULATE(COUNTA(Table1[Status]);Table1[Status] = "Open")

     and after that:

    PercentageOpen = [Countopen] / COUNT(Table1[Status])

    The last measure will give you the percentage of Open status'es, you need to format the last measure as percentage!

     

    If you want to do the same for Closed you can do it the same way but replace "Open" by "Closed"

     

    Let me know if this worked. :)

     

    Regards,

    L.Meijdam