Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
How to create dax measure 'actual spend' for that month when I have cumulative spend amount value for month on month. Please help.
I tried something like this
Hi @Jendeep ,
Please try something like this:
ActualSpend =
VAR _previous =
CALCULATE (
[Spend To Date],
FILTER (
ALL ( 'dates table' ),
[Date] <= EOMONTH ( MAX ( 'dates table'[Date] ), -1 )
)
)
RETURN
[Spend To Date] - _previous
Best regards,
Gengar
Hi,
I applied your formulae to calculate the actual spend for that month. It is appearing as below.
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.