Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi everybody
today I'm trying to achieve the following:
What I'm trying to achieve is to allocate the cost from Plant 'A', based on Days Online, to Plant 'B' and 'C'.
Should look like this:
Thanks & Rgds
Tobias
Follow these steps to achieve your desired result.
1-Create 2 Same Tables which contains your plants. (PlantTable1 and PlanTable2).
PlantTable1 includes Plant1 Column
PlantTable2 includes Plant2 Column
2-Assume your main table name is PlantCost (including Columns Plant, Costs and DaysOnline). Then:
Create relationships between PlantCost and PlantTable1 (on Plant and Plant1)
PlantCost and PlantTable2 (on Plant and Plant2)
3-CREATE measures Below:
Hi @tweidner
You only have these 3 categories or it is a sample data?
I mean always you want to B and C from A?
in my dataset I've like 100 entries in 'Plant' which are allocated to 25 countries.
I didn't mention that because I assume I would be able to solve it, if example scenario is solved.
Thanks for your feedback!
Rgds
T
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
89 | |
87 | |
81 | |
64 | |
49 |
User | Count |
---|---|
123 | |
109 | |
88 | |
68 | |
67 |