SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 Date Hierarchy
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

aravula
Starting Member

5 Posts

Posted - 09/11/2013 :  11:23:24  Show Profile  Reply with Quote
Hi,

I am new to ssas and trying to create a Hierarch Like Year - Month - Day. I have only one date column in the table and I need to use that and create a hierarchy. Can someone help me how to do it.


Thanks,
aravula

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 09/12/2013 :  16:27:37  Show Profile  Reply with Quote
you can add a time dimension by creating derived columns out of date column using functions like YEAR,MONTH,DAY etc to generate year, month etc values. then make the type of attributes as Year. Month etc in SSAS and make dimension type as Time.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

aravula
Starting Member

5 Posts

Posted - 10/07/2013 :  09:04:35  Show Profile  Reply with Quote
Thank you. I followed the same steps.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 10/08/2013 :  00:17:27  Show Profile  Reply with Quote
Welcome

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000