Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

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

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 creating custom Hierarchies
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Aged Yak Warrior

524 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.

Aged Yak Warrior

524 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

Yak Posting Veteran

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 for more t-sql code snippets and BI related how to articles.
Go to Top of Page
  Previous Topic Topic Next 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