SSAS Articles Time Dimension Working with date and time measures to calculate average elapse time
Working with date and time measures to calculate average elapse time
User Rating: / 1
PoorBest 
Written by Dr. John Tunnicliffe   
Monday, 03 December 2007 14:59

There are some things in the life that are so implicit and taken for granted that nobody ever bothers to tell you about them or write up any documentation. This is how I feel the implicit support for date and time measures must have come about in Microsoft SQL Server 2005 Analysis Services (SSAS). Certainly I could not find any documentation about the topic and yet intriguingly both Measures and Calculated Members have "Simple Date" and "Simple Time" in their drop down list of possible text formats.

Clearly SSAS will allow you to add attributes to a dimension that have the data type DateTime. However, SSAS does not allow you to create a measure based on DateTime data type. Now this is a bit of a drawback when you want to calculate the average time a process took, which is exactly what I needed to do. After searching the internet, I was none the wiser as to how to solve the problem so some experimentation was in order.

Read more...

 
Comments (1)
1 Friday, 11 April 2008 07:11
Ravi kumar.C
It is really super,I implemented this its working fine.Good job mr.Jhon