Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 8 | |
| 8 | |
| 7 |