Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 Cube Calculation

Author  Topic 

phanicrn
Starting Member

42 Posts

Posted - 2010-10-06 : 14:55:37
how do write the same calculation for custom calculated column SSAS.


I'm finding difference of year between current year and prior 19 years..

select BIRTH_DT from dbo.HM_MEMBERSHIP
where (datediff(year,BIRTH_DT,GETDATE())) between 20 and 29


phani
   

- Advertisement -