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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.