Hi Experts,
we want to calculate current date previous year.
I am able to do this in Webi, by using formula:
=If FormatDate(RelativeDate(CurrentDate();-365);"DD") = FormatDate(CurrentDate();"DD")
Then RelativeDate(CurrentDate();-365)
Else RelativeDate(CurrentDate();-366)
But i am not able to calculate it in IDT WITH HANA as Back end.
We don't have any table that have date field.
Can any one please help me for the same. That which function we can use for the same in IDT.
DATEADD,DATEDIFF are not working !!!!
Thanks in Advance!!!
Sheetal Sharma