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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

Allocation of Cost by % of Sales

 

Hi,  I have data set including locations, revenue and cost types and amounts. I d like to calculate allocated cost to each rev type based on the share of the sales performance at each location. Like in table 2 . Can you help me with this please, thanks

 

seva369_0-1688416517865.png

seva369_1-1688416612294.png

 

1 ACCEPTED SOLUTION

Hi,

Please find attached my solution file.

Hope this helps.

Untitled.png


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

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Thank You Ashish, that worked really well

 

You are welcome.


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

Hi,

Your question is not clear.  How did yu arrive at 13.64?  Based on the first table that you have shared, show the expected result along with the calculation logic.  Also, share data in a format that can be pasted in an MS Excel file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

 

Hi, 

 

Thank you for the response.

 

Unfortunately it doesnt allow me to paste or create tables or attach excel & pbi files. 

 

You can find screen shots below - 45.5% is the share of Digital sales at that location

Many thanks in advance
Serhan
.

 

seva369_3-1688469362945.png

 

seva369_4-1688469600217.png

 

 

 



Hi,

Please find attached my solution file.

Hope this helps.

Untitled.png


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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.