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
I have dimension table dim_Account_Resource_CostItem (picture 1)
I have fact table Budget (picture 2)
The realtionship between these tables (picture 3)
I have a Matrix report (picture 4)
Rows:
1.Resource
2.CostItem
The report uses measure Budget CP:
Budget CP =
SWITCH(TRUE(),
ISINSCOPE(dim_Account_Resource_CostItem[Account_ID]), BLANK(),
SUM('Budget'[Value])
)
The problem is that for Resources "Laboratory", "Tractors" and "Water" it shows one value 600 summarized by CostItem not separated by Resources.
It's understandable why.
The question is - how to change the measure Budget CP or how to make additional changes to get the result -
If Resource in ("CostOfMaterial", "CostOfServices") then use relationship by ItemCost, but if Resource in ("Laboratory", "Tractors", "Water") then use use relationship by Resource between dim_Account_Resource_CostItem table and Budget table?
The result should be:
Link to pbix file 'Razosana_v3.0_MODEL - EXAMPLE.pbix' for download:
plz share sample data
The link to example pbix file in the main topic.
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 |
---|---|
25 | |
18 | |
15 | |
9 | |
8 |
User | Count |
---|---|
37 | |
32 | |
21 | |
16 | |
14 |