Hi All
I am working on a CUBE ( Microsoft SSAS SQL Server 2008)
I just want to have a calculated member on the cube, based on two date columns in one of the dimension table.
My dimension table has below columns
DOB ( Date type)
Start_Date ( Date Type)
I created a new calculated member in the CUBE as below:
DATEDIFF(YY,[Due Date].[DOB] - [Due Date].[Start Date])
When I process the cube , it processed without any errors, but when I try to have new calculated Member in Excel , it comes as #VALUE!
Script View comes as below:
CALCULATE;
CREATE MEMBER CURRENTCUBE.[Measures].[Driver Age]
AS DATEDIFF(YY,[Due Date].[DOB] - [Due Date].[Start Date]),
FORMAT_STRING = "$#,##0.00;-$#,##0.00",
VISIBLE = 1 , DISPLAY_FOLDER = 'Calc Malli' , ASSOCIATED_MEASURE_GROUP = 'Fact Internet Sales' ;
Appreciate all your advices.
Mira