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)
 creating custom Hierarchies
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

learntsql
Aged Yak Warrior

India
515 Posts

Posted - 03/07/2014 :  02:27:53  Show Profile  Reply with Quote
Hi All,

I have to create a kind of user defined Hierarchies
Current month weeks --> name os the hierarchy
under this it should have the Week name like 2014/03/01
under this it should have the dates of this week like 2014/03/01

similerly for next week
Week name like 2014/03/02
dates of this week like 2014/03/02 to 2014/03/08

can some one please tell me how to do this in SSAS?
Is there any built in functions to do this.

thanks in advance.


learntsql
Aged Yak Warrior

India
515 Posts

Posted - 03/10/2014 :  01:22:29  Show Profile  Reply with Quote
Hi All,

Any Idea please?
Thanks in advance.
Go to Top of Page

sqlsaga
Yak Posting Veteran

USA
93 Posts

Posted - 03/27/2014 :  12:09:35  Show Profile  Reply with Quote
I don't think you need to create a hierarchy for this.

you can actually do this by writing an MDX query to create a dynamic set and use it. If you can post the structure of Date dimension in the cube, it will possible to write an MDX statement.

Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.
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.05 seconds. Powered By: Snitz Forums 2000