Forum Discussion
Anonymous
9 years agoNot applicable
How create the column PYDate?
Hello,
How create the column with the same date as the previous year?
- Anonymous9 years ago
Anonymous,
Please check if the following DAX returns your expected result. If not, please share sample data of your column and post desired result here.
PYDate = DATE(YEAR(Table[date])-1,MONTH(Table[date]),DAY(Table[date]))
Regards,
2 Replies
- AnonymousNot applicable
Anonymous,
Please check if the following DAX returns your expected result. If not, please share sample data of your column and post desired result here.
PYDate = DATE(YEAR(Table[date])-1,MONTH(Table[date]),DAY(Table[date]))
Regards,- AnonymousNot applicable
Hi Anonymous,
Thank you very much and best regards.