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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ridercos
Regular Visitor

Row percent based on row total in a matrix

Hi 

 

I need some help..

 

I have a table

 

Date(Bins)    Type A        Type B        Type C       RowTotal (I created this measure adding the row)

 

Jan 2016         30              276              342               648

Feb 2016         24             269              307               600

Mar 2016        41             332              286               659

 

I need to be able to add columns Type A % of RowTotal

Type B % of Row Total

Type C % of Row Total 

 

and display that in 3 columns for each of the months or rows like shown above

 

Anyhelp? Thanks in advance

1 REPLY 1
Eric_Zhang
Microsoft Employee
Microsoft Employee


@ridercos wrote:

Hi 

 

I need some help..

 

I have a table

 

Date(Bins)    Type A        Type B        Type C       RowTotal (I created this measure adding the row)

 

Jan 2016         30              276              342               648

Feb 2016         24             269              307               600

Mar 2016        41             332              286               659

 

I need to be able to add columns Type A % of RowTotal

Type B % of Row Total

Type C % of Row Total 

 

and display that in 3 columns for each of the months or rows like shown above

 


If that is a table visual, I think you can create 3 measures as below. The [RowTotal] is the measure you already  created.

 

Type A % = SUM(yourTable[TypeA])/[RowTotal]

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.