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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
chillpill
Helper I
Helper I

How to calculate percentage of two items in the same row in a Matrix

I have an existing matrix with the below summed values. I would like to convert reach row value into a percentage of the total between the two row values. So in this case for January, the total is 6698 for <24H and > 24H (5716 + 982), which makes the <24H column 85% of the total between the two, and >24H at 15%.

 

Capture.JPG

I am looking for a way to get the matrix reflect like this instead:

 

CSC Email<24H>24H
January85%15%
February73%27%
2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

The solution would depend upon the layout of the original dataset.  Share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Syk
Super User
Super User

Create 2 measures. One like below, the other just flip the values 1 and 2!

 

Measure = Divide(sum('Table'[val1]),(sum('Table'[val1])+SUM('Table'[val2])),0)

Syk_0-1686861089023.png

 

 

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors