Hello,
New to Hana so it might be a stupid question but I have a date attribute in my analytic view and I am trying to create a calculated attribute for 'year' based on the attribute "Date".
I thought it should be simple (and may be it is) but when I define the data type as NAVCHAR 4 and expression as "Date", I get the entire date instead of just first 4 characters. I tried expression leftstr("Date",4) but I get an error. Tried several different options Year("Date") etc. but nothing seems to work.
Can someone help me please?
regards,
Manoj