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! Request now

Reply
zubairs
Helper I
Helper I

Cost allocation to routes under a branch

I'm creating a cost allocation model where I need to allocate the logistics and sales force cost to routes under a branch.

 

The allocation is based upon dividing the total cost of the branch with the number of routes under the branch.

 

Cost per route.png

The problem occurs when I drop the route into the field. The model is not allocating as per the branch, rather showing the full amount.

Route problem.png

 

Can anybody help?

 

@amitchandak 

 

 

 

3 REPLIES 3
zubairs
Helper I
Helper I

These are the relationships in the model:

 

relationship.png

Hi,

Share the download link of your PBI file and also show the expected result very clearly.


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

Hi, @zubairs 

You can add  another measure as below:

 

measure1 =
CALCULATE (
    [Sales Force(Cost per route)],
    ALLEXCEPT ( 'SAP+BO_salesdata', 'SAP + BO_salesdata'[Route] )
)

 

Best Regards,
Community Support Team _ Eason

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.

Top Solution Authors