Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
21 | |
15 | |
15 | |
11 | |
7 |
User | Count |
---|---|
25 | |
24 | |
12 | |
12 | |
11 |