Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

CALCULATE % of TOTAL value

Hi Pbi expert

i need to calculate a % value og each row based on total.

eg:  i want to calculate value as showed down in red

How can I reach such calculation ? 

categ.Count 
M-52025%
M-41924%
M-71519%
M-31316%
M-61215%
Total79 
1 ACCEPTED SOLUTION
djurecicK2
Super User
Super User

Hi @Anonymous ,

 You can try adding the count to the matrix again but then setting the field to show as % of grand total.

 

djurecicK2_0-1669999940716.png

Please accept as solution if this answers the question- thanks!

View solution in original post

2 REPLIES 2
v-jianboli-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on your description, please try:

Percentage = DIVIDE(COUNT('Table'[categ]),CALCULATE(COUNT('Table'[categ]),ALL('Table')))

Change the format:

vjianbolimsft_1-1670312208773.png

Final output:

vjianbolimsft_0-1670312167184.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

djurecicK2
Super User
Super User

Hi @Anonymous ,

 You can try adding the count to the matrix again but then setting the field to show as % of grand total.

 

djurecicK2_0-1669999940716.png

Please accept as solution if this answers the question- thanks!

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.