Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I have a requirement to assign Corporate Expenses to the several Operating Departments according with the percentage of the Cost of Sales.
1. The percentage of Operating Cost of Sales per Department (% Operating Cost of Sales)
2. The Total Corporate Expenses (Corporate Amount)
3. The expected result is to multiply The Corporate Cost of Sales by the % of Expenses of each Operating Department.
The issue is that I'm not able to assing the Corporate cost on the Operating side.
First row = 22,207,639.31 * 0.26%
....
Last row = 22,207,639.31 * 3.13%
Solved! Go to Solution.
Hi, @gerardotrejogcg ;
Try it.
Measure = MAXX(ALL('Table'),[Corporate Expense])*[% Operating Cost of Sales]
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @gerardotrejogcg ;
Try it.
Measure = MAXX(ALL('Table'),[Corporate Expense])*[% Operating Cost of Sales]
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
This kind of dax should do what you want:
[Allocated costs] = MAX(Table[% operating cost of sales])*CALCULATE(AVERAGE(Table[Corporate expenses]),ALL(Table), Table[Corporate expenses]<>BLANK())
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
Proud to be a Super User!
I tried to adequate the provided dax with no luck.
This is the expected result I want to reach. Corporate Expense in gray means that currently I'm not able to assign that measure for "Operaciones" (Operating Department) since the result is calculated for "Corporativo" (Corporate Department) only.
The result is limited to apply the Corporate Expense multiplied by % Operating Cost of Sales.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |