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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Sut_Datanaut
Helper II
Helper II

% of total based on additional fields (in same table)

Hi, 

 

I am trying to find a calculated column or measure forumla for a % of total volume based on the name and store. I would like the formula to sum each Names total, but then provide a percentage breakdown by the store. % of Volume by Store & Person is the column in the example below that i am trying to make. 

 

Thanks in advanced

 

NameStoreVolume% of Volume by Store & Person
JimStore A220%
JimStore B220%
JimStore C660%
KathyStore A4040%
KathyStore B6060%
JoeStore A95100%
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Sut_Datanaut ,

Here are the steps you can follow:

1. Create calculated column.

Volume% of Volume by Store & Person =
DIVIDE(
SUMX(FILTER(ALL('Table'),'Table'[Name]=EARLIER('Table'[Name])&&'Table'[Store]=EARLIER('Table'[Store])),[Volume]),
SUMX(FILTER(ALL('Table'),'Table'[Name]=EARLIER('Table'[Name])),[Volume])
)

2. Result:

vyangliumsft_0-1662082264866.png

If you need pbix, please click here.

% of total based on additional fields (in same table).pbix

 

Best Regards,

Liu Yang

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

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi  @Sut_Datanaut ,

Here are the steps you can follow:

1. Create calculated column.

Volume% of Volume by Store & Person =
DIVIDE(
SUMX(FILTER(ALL('Table'),'Table'[Name]=EARLIER('Table'[Name])&&'Table'[Store]=EARLIER('Table'[Store])),[Volume]),
SUMX(FILTER(ALL('Table'),'Table'[Name]=EARLIER('Table'[Name])),[Volume])
)

2. Result:

vyangliumsft_0-1662082264866.png

If you need pbix, please click here.

% of total based on additional fields (in same table).pbix

 

Best Regards,

Liu Yang

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

worked perfectly! Thank you

Sut_Datanaut
Helper II
Helper II

The columns got messed up, but essentially the volume in 2,2,6,40,60,95 and the Stores are Store A, B, C

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.