Forum Discussion
EnrichedUser
Helper III
3 years agoIncorrect Totals: - Matrix
Hi, I have an issue with a measure(s) that I have exhuasted all other resources to solve. I am trying to solve for "Monthly Inflation" which is defined as: ( [Last Unit Cost] - [Base Unit C...
EnrichedUser
Helper III
3 years agoThanks for the attempt, but was not sucessful.
Here is my latest go:
Monthly Inflation (TEST) =
VAR VirtualTable =
ADDCOLUMNS(
SUMMARIZE(
GENERATE(
VALUES(Receipts[Site_Item_Key]),
VALUES('Date'[Year Month])
),
Receipts[Site_Item_Key],
'Date'[Year Month]
),
"@Monthly Inflation", [Monthly Inflation (R)]
)
RETURN
IF(
ISINSCOPE( Receipts[Site_Item_Key] ) && ISINSCOPE( 'Date'[Year Month] ),
[Monthly Inflation (R)],
SUMX( VirtualTable, [@Monthly Inflation] )
)