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
Anonymous
Not applicable

% of Total Measure

Hello,

 

I am tyring to figure out how to get the % of Total measure into a PowerPivot table.

 

My data is structed this way, with columns for Product, Time and Qty.

brent_excel_1-1619072356822.png

 

My pivot table looks like this, with the Product column in the row fields.

 

brent_excel_3-1619072625648.png

 

I am unsure of which measure to use to get the %TotalQty.

 

TotalQty = SUMX(FILTER ('Data', 'Data'[Time] = "Current"), 'Data'[Qty])

%TotalQty = ?

 

1 ACCEPTED SOLUTION
Vera_33
Resident Rockstar
Resident Rockstar

Hi @Anonymous 

 

Have a try

%TotalQty = [TotalQty] / CALCULATE ([TotalQty],ALL('Data'[Product]))

View solution in original post

2 REPLIES 2
Vera_33
Resident Rockstar
Resident Rockstar

Hi @Anonymous 

 

Have a try

%TotalQty = [TotalQty] / CALCULATE ([TotalQty],ALL('Data'[Product]))
Anonymous
Not applicable

 @Vera_33 Thanks so much!  This solution is perfect.

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.

Top Solution Authors