The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi, I'm trying to create a measure that would calculate the value of previous december for all current month.
So far I managed to get the value of past december 2018 for the current december 2019 month with the following Dax formula :
Solved! Go to Solution.
Hi @Anonymous
try
CALCULATE(Table[KPI Value];FILTER(ALL(Date);Date[Month_NB]=12 && YEAR(Date[Date])=YEAR(SELECTEDVALUE(Date[Date]))-1) )
Hi @Anonymous
try
CALCULATE(Table[KPI Value];FILTER(ALL(Date);Date[Month_NB]=12 && YEAR(Date[Date])=YEAR(SELECTEDVALUE(Date[Date]))-1) )
Thanks it works fine !