March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
91 | |
89 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |