Stop View Changing Dimension Order when adding a Subset

Post Reply
John Hammond
Community Contributor
Posts: 300
Joined: Mon Mar 23, 2009 10:50 am
OLAP Product: PAW/PAX 2.0.72 Perspectives
Version: TM1 Server 11.8.003
Excel Version: 365 and 2016
Location: South London

Stop View Changing Dimension Order when adding a Subset

Post by John Hammond »

Help

I was trying to write some generalised TI code using views to load a cube when I realised that when you added a subset to the input view you changed the order in which the dimensions presented themselves in the TI code.

If you start with subset 'All' then the dimensions are in the order of the source cube. Say the dimensions are

A,B,C,D,E

If you assign a subset to C then it goes to the back of queue

A,B,D,E,C

If you then assign a subset to A then it goes to the back of queue and so on.

B,D,E,C,A

The problem occurs when you read your datasource into variables and it completely rejigs what is in each variable and you have to rename the variables or remap depending on your approach.

Is there any way to stop View Changing Dimension Order when adding a Subset?

Is there a sane reason why TI chooses to behave like this?

Regards

John
User avatar
Steve Rowe
Site Admin
Posts: 2456
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: Stop View Changing Dimension Order when adding a Subset

Post by Steve Rowe »

Hi John, IMO this is a bug and should not be happening. Are you starting with a view created from scratch in the TI or one that was created through the server explorer?

Cheers
Technical Director
www.infocat.co.uk
John Hammond
Community Contributor
Posts: 300
Joined: Mon Mar 23, 2009 10:50 am
OLAP Product: PAW/PAX 2.0.72 Perspectives
Version: TM1 Server 11.8.003
Excel Version: 365 and 2016
Location: South London

Re: Stop View Changing Dimension Order when adding a Subset

Post by John Hammond »

HI Steve

I am using a view created in TI, but the behaviour seems to be the same if the view is created by hand.

NB the order of the dimensions in the view when used as TI input is the same order that is shown in the properties window on the right when you have selected a view on the left. This allows you to see the order in a view more easily than creating a TI process each time!

Thanks

John
Post Reply