Forum Discussion
Calculating Percentages
- Anonymous3 years ago
Hi macgeorge ,
Please try:
% of Total = DIVIDE ( SUMX ( VALUES ( 'Table'[Priority] ), SUM('Table'[Compliant])), SUMX ( VALUES ( 'Table'[Priority] ), [All Compliant] ) )then select the measure -> measure tools and change the format to percentage:
Result:
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
=ROUND( DIVIDE( SUMX(VALUES(table[Priority]),[Total Compliant]), [All Compliant], 0),2)
can this work?
The rounding works, thank you - but I am still not getting the % correct it should read 45% not 0.45%
- Anonymous3 years agoNot applicable
Hi macgeorge ,
Please try:
% of Total = DIVIDE ( SUMX ( VALUES ( 'Table'[Priority] ), SUM('Table'[Compliant])), SUMX ( VALUES ( 'Table'[Priority] ), [All Compliant] ) )then select the measure -> measure tools and change the format to percentage:
Result:
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
- macgeorge3 years agoHelper I
Thank you so much - this is excellent.