Incorrect data in hierarchy

Post Reply
rangasubhe
Posts: 2
Joined: Fri Jun 10, 2011 5:56 pm
OLAP Product: TM1
Version: 9.5.1
Excel Version: 2007

Incorrect data in hierarchy

Post by rangasubhe »

Hi,

I am getting incorrect hierarchy when specify consolidation/element with the below.

Source Data:

Code: Select all

City		Country		User
NewYork		US		  David
London		UK		  David
Bangalore	INDIA		David
Pune		INDIA		  Marc 
My hierarchy is User -> Country -> City
I set the User and Country as consolidation and City as element. But in return when i check the dimension i am getting the below

Code: Select all

David
	US
		NewYork
	UK
		London
	INDIA
		Bangalore
		Pune
Marc
	INDIA
		Bangalore
		Pune
For David the city Pune is mapped and for Marc the city Bangalore is mapped in dimension, but which is not the case. Am i doing something wrong? Please help me with your suggetions. Thanks in advance.
User avatar
jim wood
Site Admin
Posts: 3961
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Incorrect data in hierarchy

Post by jim wood »

Are you using dimension destroy before you create the hierarchy? It may be inheriting something you had there previously?
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
rangasubhe
Posts: 2
Joined: Fri Jun 10, 2011 5:56 pm
OLAP Product: TM1
Version: 9.5.1
Excel Version: 2007

Re: Incorrect data in hierarchy

Post by rangasubhe »

I tried with and without dimension destroy.. But still the result is same.
User avatar
Steve Rowe
Site Admin
Posts: 2464
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Re: Incorrect data in hierarchy

Post by Steve Rowe »

What you are seeing is exactly what I would expect.

Bangalore is a child of INDIA is a child of David
Pune is a child of INDIA is a child of Marc

But Bangalore and Pune are both children of India which is why the consolidation is why you see what you see. You can't have two different Indias.

Depending on what you want to do you either need two different hierarchies one that does Geography and one that does "Owner" or make one of the Owner/Geographies an attribute or something like this.

City Country User
NewYork US David
London UK David
Bangalore INDIA David
Pune INDIA1 Marc
INDIA1 INDIA
But that's not nice.

Anyway you need to think about what you are trying to achieve and firgure out what you need to build on that basis.

Cheers,
Technical Director
www.infocat.co.uk
Post Reply