Forum Discussion
Calculating Percentage
- Anonymous8 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
Hi Anonymous,
- Are you sure you named your measure "CountOpen" ? it is case sensitive
- is "CountOpen" Formatted as a whole number ?
Best Regards,
L.Meijdam
Hi Anonymous
Thank you brother, it's working now, but I need to be in percentage format
- Anonymous8 years agoNot applicable
Hi Anonymous,
You can select your measure and after that click on the button in the picture below:
Best Regards,
L.Meijdam
- Anonymous8 years agoNot applicable
actually, it's dimmed!
- Anonymous8 years agoNot applicable
Hi Anonymous
Thank you very much for your helpful replies.
- Anonymous8 years agoNot applicable
Anonymous,
You're welcome, glad I could help :)
Best Regards,
L.Meijdam