Can anyone tell how to use daysbetween() function in analytical view?

I have been trying to create a calculated column in analytical view. Column needs to calculate days between two dates.
Using daysbetween (date1,date2) function, I have been trying to bring the difference but while validating i m getting error as date 1 is not an attribute.
Infact, I am using fields from my column itself but still not able to move further. Please help
Regards,
Vikram Sharma

Hi Peter,
The datatype is date, initially it was NVARCHAR type but i wanna keep it to date type so i changed it.
However, the query that you have given will calculate days from current date, right?. I have one date as a column in a table and another date is from input parameter.
So I need to calculate days lapse between two specified dates in which i have been unsuccessfull so far..
Also, just for your info. when i used this date function in HANA SPS 07 it was working fine but don't know what happen now when I am using it in SPS08.
Regards,
Vikram

Similar Messages

Maybe you are looking for

  • Should i go for Windows 7 or 8 for rMBP mid 2012 model with BootCamp 5.0.1?

    Hello! I recently got my 15'' rMBP 2.6Ghz with 8gb ram and 512gb SSD. (Manufactured on September 2012) Updated mac os x mountain lion to 10.8.2. Am in 'urgent' need of Windows OS to use ANSYS, and few of the high end CAD softwares like Solidworks, et

  • Music is Distorted and Skips

    I currently have the iphone 5 and my software has been udpated to 6.1.4. But the issue I am having is that, when I'm running or working out, my music would sound distorted and skips. This is the only time it happens. Any suggestions or ways to resolv

  • SICF- only in display mode

    Hi all, I want the tcode SICF to be in display mode alone. Under which authorization object it comes? Can I make only in display mode. Regards, R.Suganya

  • How do convert DivX AVI to play in iTunes and especially on iPod?

    I have a DivX AVI video file I would very much like to have on my iPod but have no clue what program might exist that would convert it to an iPod compatible format? I have Toast 7 if that helps..

  • Adobe Reader for Nokia 6600

    Hi, I am new to this forum. I was wondering whether there is any information about Adobe Reader for Nokia 6600. Does anyone know? Any help would be great. Thanks.