Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi there,
It's my first post here. I hope this will find you well.
I've created a measure which calculates the percentage of the costs.
Now I want to use these percentages to calculate the Turnover per employee according to their costs. How can I use the result of a measure in another measure?
Cost in % =
VAR CurrentOrder = Values(expensepostings[order_id])
VAR CurrentSuborder = Values(expensepostings[suborder_id])
VAR TotalCosts =
SWITCH(
TRUE(),
ISINSCOPE(employees[display_name]), CALCULATE(SUM(expensepostings[cost_amount]), ALLSELECTED(expensepostings), expensepostings[order_id] IN CurrentOrder, expensepostings[suborder_id] in CurrentSuborder),
ISINSCOPE(expensepostings[suborder_id]), CALCULATE(SUM(expensepostings[cost_amount]), ALLSELECTED(expensepostings), expensepostings[order_id] IN CurrentOrder),
ISINSCOPE(expensepostings[order_id]), CALCULATE(SUM(expensepostings[cost_amount]),ALLSELECTED(expensepostings))
)
RETURN
IF(
ISINSCOPE(expensepostings[order_id]),
DIVIDE(expensepostings[Gesamtkosten], TotalCosts),
1
)
Now I have the percentages from each employee per suborder. I want to use these percentages to calculate the turnover for each employee per suborder. In the order table I have the information that suborder 19790 has a turnover of 875. But I don't know how to use the calculated percentages.
I would like to excpect the turnover for each employee per suborder like this:
Does somebody has an idea how to do this?
You cannot measure a measure. Implement your entire business logic in a single measure.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 20 | |
| 13 | |
| 12 |