Re: Need help to build a dimension with duplicate members using a parent child
From: Dave Wickert [MSFT] (dwickert_at_online.microsoft.com)
Date: 04/28/04
- Next message: Yuan Shao: "RE: Calculated Members And NonEmptyCrossJoin"
- Previous message: Dave Wickert [MSFT]: "Re: Need help to build a dimension with duplicate members using a parent child"
- In reply to: Dave Wickert [MSFT]: "Re: Need help to build a dimension with duplicate members using a parent child"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 27 Apr 2004 21:16:46 -0400
And make it a regular dimension.
-- Dave Wickert [MS] dwickert@online.microsoft.com Program Manager BI Practices Team SQL BI Product Unit (Analysis Services) -- This posting is provided "AS IS" with no warranties, and confers no rights. "Dave Wickert [MSFT]" <dwickert@online.microsoft.com> wrote in message news:%23IlOMvLLEHA.3292@TK2MSFTNGP11.phx.gbl... > Just change the "Allow Duplicate Names" to True. > -- > Dave Wickert [MS] > dwickert@online.microsoft.com > Program Manager > BI Practices Team > SQL BI Product Unit (Analysis Services) > -- > This posting is provided "AS IS" with no warranties, and confers no rights. > > > "tdoyon" <thomas.doyon@cgi.com> wrote in message > news:2754459b.0404270921.5f0b5cab@posting.google.com... > > I need to build a dimension that would have duplicate member under > > different parents. > > > > Something like: > > A > > -- B > > -- D > > -- E > > -- C > > -- F > > -- G > > -- D > > > > As you can see, the member D is under two different parents: B and G. > > > > The ideal way to build this dimension would involve using a table with > > parent child relationship. The table would contain the following > > records: > > > > Parent Child > > A B > > B D > > B E > > A C > > C F > > A G > > G D > > > > This will not work with Analysis Service. You get the notorious error > > "The dimension member key is not unique". Using the option "Names are > > unique among: Not unique" doesn't help either. > > > > Any thought on this? My example above involves a dimension with only 3 > > levels, but my actual dimension actually has over 12+ levels. Please > > consider it in your recommendations. > > > > I read another post that recommends changing the member key to a > > combination of the parent key with the member key. Unfortunately, this > > won't work in a multi-level dimension. > > > > For instance A->B can be changed easily to A->AB but how do you change > > B->D? If you apply B->BD you will end up with a flat dimension (no > > hierarchy) since the member B doesn't exist by itself anymore. The > > correct conversion would be AB->ABD. Converting all the parent child > > records to this new format seems very involved and complicated, > > especially for a dimension with 12+ levels. > > > > Thanks in advance for any help or ideas > >
- Next message: Yuan Shao: "RE: Calculated Members And NonEmptyCrossJoin"
- Previous message: Dave Wickert [MSFT]: "Re: Need help to build a dimension with duplicate members using a parent child"
- In reply to: Dave Wickert [MSFT]: "Re: Need help to build a dimension with duplicate members using a parent child"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|