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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors