dbTalk Databases Forums  

Create a column with time difference between two columns in Analysis Services 2005

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Create a column with time difference between two columns in Analysis Services 2005 in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
nitasha.gupta@gmail.com
 
Posts: n/a

Default Create a column with time difference between two columns in Analysis Services 2005 - 10-13-2006 , 11:25 AM






I have a table with two columns in it
ExportDate: 2006-09-20 17:10:00Z
CreationDate:2006-09-12 13:21:00Z

I want to create a another column containing the time taken from
Creation to Export of a product

I created a named calculation called Averagetime and wrote the
following expression in
ExportDate-CreationDate

However I'm getting time correct but the difference in the date is
incorrect It shows the following result.

Averagetime: 1900-01-09 03:49:00Z

Can u please help

Thanks


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.