I have had a headache since yesterday with a measure.
My table is Data
and in this table, I have a column Data[Date]
which contains the first day of each month from January to June and a measure which calculates Total revenue
.
I need a measure that calculates for June: Total REV = April + May + June
.
I have tried this measure:
CALCULATE([TOTAL REV], DATESINPERIOD(Data[Date], LASTDATE(Data[Date]), -3, MONTH))
but in order to have the correct number I need to select all three months in the slicer, not just the month I am interested in.
[Total revenue]
measure? Your formula should work if it's something likeSUM(Data[Revenue])
. – Alexis Olson