This worked for me:
nest two funtion: add date and previous month
Importe MismoMes AñoAnt =CALCULATE(SUM('MR GOPMX_ViewA'[Importe MN]), DATEADD(PREVIOUSMONTH(DateDim[FullDateAlternateKey]),-11,MONTH))
nest two functions: date add and previous month.
I have a table created / have the property configured as a date table.
Engage and empower students with Power BI!
Continue your learning in our online communities.
Travel to Melbourne and network with thousands of peers!
Check out what's new in the Power BI Community!