Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase «««123

The Date Dimension in Analysis Services Expand / Collapse
Author
Message
Posted Wednesday, December 9, 2009 4:12 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, November 5, 2013 6:08 AM
Points: 1,079, Visits: 591
Thanks guys, even though it took time for me to update you with this regard.

The main issue as to why I raised this is that I have 1 time dimensions with two hierachies. The first hierachy starts from the first of January and ends on 31 December whereas the other starts from 01 April and it ends on the 31st of March.

The issue here was that the other time dimension hierachy of the two was always showing measured data for only the current month however the other time dimension was always showed the current month.

I couldn't find where the problem was but I ended up re-creating the time dimension(New_Time_dimension).

There were some named_calculations that used members from deleted time dimension(old_time_dimension).
When creating the new time dimension I never used all members from the deleted time dimension and this caused the error posted above.

Instead I found out that the main cause of my problem is the below"

ALTER CUBE CURRENTCUBE
Update DImension [Date].[YearQuarterMonthDay],
Default_Member = StrToMember("Tail(Filter([Date].[YearQuarterMonthDay].[Month Name And Year].members,
Not IsEmpty([Date].[YearQuarterMonthDay].CurrentMember)), 1).Item(0)")



What you don't know won't hurt you but what you know will make you plan to know better
Post #831282
Posted Wednesday, December 9, 2009 5:44 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, November 5, 2013 6:08 AM
Points: 1,079, Visits: 591
duda (12/9/2009)


ALTER CUBE CURRENTCUBE
Update DImension [Date].[YearQuarterMonthDay],
Default_Member = StrToMember("Tail(Filter([Date].[YearQuarterMonthDay].[Month Name And Year].members,
Not IsEmpty([Date].[YearQuarterMonthDay].CurrentMember)), 1).Item(0)")


This caused the other hierachy to only show measured data for only the current month.


What you don't know won't hurt you but what you know will make you plan to know better
Post #831306
« Prev Topic | Next Topic »

Add to briefcase «««123

Permissions Expand / Collapse