Forum Discussion
Anonymous
6 years agoNot applicable
December last year value
Hello! I have a fact table which has Sales values. I also have a date table and fact and date table are mapped. My question is, I have to calculate a month value for december last year. Say if the ...
OwenAuger
Super User
6 years agoHello PV
There are a various ways you could do this. Here is one that springs to mind:
Sales Previous December =
CALCULATE (
[Sales],
PREVIOUSYEAR ( 'Date'[Date] ),
'Date'[Month] = 12
)Regards,
Owen