Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Apologies if this is a bit basic and my Subject title is vague - I'm a strong beginner at best!
I've two matrices and a filter with 'Budget' selected. The difference between the matrices is that in the second instead of using the implicit measure 'Value' from BudgetCosts (which is summed) I've used an explicit measure Budget Cost = SUM(BudgetCosts[Value])
Problem: For the row field, Item Description, I want to see values only in the Amount column (i.e. the amounts relating to the items from the ActualsCosts table) and nothing in the Value/Budget Cost columns - as these values from the BudFctCost table should relate only to Account Code (i.e. Line Item) and Supplier ID (i.e. Supplier Name). I was hoping that maybe this can be resolved through DAX...
Questions:
Thanks for any help!
Matrix 1, Filter, Matrix 2, Fields (Matrix 1):
Data Model and Relationships:
Lookup Tables (Mapping and Supplier):
Fact Tables (ActualsCosts and BudFctCost):
Solved! Go to Solution.
Hi @DanDan ,
You can update the measure [Budget Cost ] as below and create another new measure to replace it on the matrix, please find the details in the attachment.
Budget Cost =
IF (
(
ISINSCOPE ( 'Mapping'[Line Item] )
&& NOT ( ISINSCOPE ( 'ActualsCosts'[Item Description] ) )
)
|| (
NOT ( ISINSCOPE ( 'ActualsCosts'[Item Description] ) )
&& ISINSCOPE ( 'Supplier'[Supplier Name] )
),
SUM ( BudgetCosts[Value] ),
BLANK ()
)
Measure = SUMX(VALUES('Mapping'[Line Item]),[Budget Cost])
Best Regards
Hi @DanDan ,
You can update the measure [Budget Cost ] as below and create another new measure to replace it on the matrix, please find the details in the attachment.
Budget Cost =
IF (
(
ISINSCOPE ( 'Mapping'[Line Item] )
&& NOT ( ISINSCOPE ( 'ActualsCosts'[Item Description] ) )
)
|| (
NOT ( ISINSCOPE ( 'ActualsCosts'[Item Description] ) )
&& ISINSCOPE ( 'Supplier'[Supplier Name] )
),
SUM ( BudgetCosts[Value] ),
BLANK ()
)
Measure = SUMX(VALUES('Mapping'[Line Item]),[Budget Cost])
Best Regards
Hi,
what if we can't sum because we have text repeating?
orange is rows and black is values. I don't want black to repeat.
That's amazing! It works perfectly. Thanks so much @Anonymous - what a Pro! 😀
ISINSCOPE - I need to learn this!
Very much appreciated,
Dan
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
70 | |
37 | |
29 | |
26 |
User | Count |
---|---|
91 | |
49 | |
45 | |
38 | |
36 |