Rules to load data from attribute to element

Post Reply
Shwetha
Posts: 5
Joined: Fri Sep 20, 2013 10:09 am
OLAP Product: Cognos TM1
Version: 10.1
Excel Version: 14.0.6129.5000

Rules to load data from attribute to element

Post by Shwetha »

Hi ,

I wanna load data from an attribute in a dimension to measure element in other dimension which belongs to same cube.
Ex: Cube A has dimension x and dimension y
Both dimensions have different set of elements.
I wanna copy data from one of the attribute(say m) from dimension x to measure element (say n) from dimension y.

Please someone help me in writing rules and feeders :cry:
BariAbdul
Regular Participant
Posts: 424
Joined: Sat Mar 10, 2012 1:03 pm
OLAP Product: IBM TM1, Planning Analytics, P
Version: PAW 2.0.8
Excel Version: 2019

Re: Rules to load data from attribute to element

Post by BariAbdul »

"You Never Fail Until You Stop Trying......"
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Rules to load data from attribute to element

Post by tomok »

Shwetha wrote:Hi ,

I wanna load data from an attribute in a dimension to measure element in other dimension which belongs to same cube.
Ex: Cube A has dimension x and dimension y
Both dimensions have different set of elements.
I wanna copy data from one of the attribute(say m) from dimension x to measure element (say n) from dimension y.

Please someone help me in writing rules and feeders :cry:
Given the lack of details on your part this is as specific as I can be (assuming the attribute is a string):

Code: Select all

['n']=S:ATTRS('x',!x,'m');
The feeder for this would exist in the }ElementAttributes cube and be:

Code: Select all

['m']=>DB('Cube A',!x,'n');
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
lotsaram
MVP
Posts: 3706
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Rules to load data from attribute to element

Post by lotsaram »

tomok wrote:The feeder for this would exist in the }ElementAttributes cube and be:

Code: Select all

['m']=>DB('Cube A',!x,'n');
That's cruel Tom. ;)
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Rules to load data from attribute to element

Post by tomok »

lotsaram wrote:
tomok wrote:The feeder for this would exist in the }ElementAttributes cube and be:

Code: Select all

['m']=>DB('Cube A',!x,'n');
That's cruel Tom. ;)
Cruel? For giving him what he asked for or for NOT telling him what he wants to do is a bad idea? :) If he would have provided a little more information, like why he wanted to copy an attribute into a cube, then I would have pointed that there's really no need to. Just reference the attribute in the report / active form / web sheet. Who cares if it's in the cube as long as it's accessible.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
lotsaram
MVP
Posts: 3706
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Rules to load data from attribute to element

Post by lotsaram »

I just like the idea of feeding from the attribute cube!
java_to_tm1
Posts: 33
Joined: Mon Sep 23, 2013 3:24 pm
OLAP Product: TM1
Version: 10.2
Excel Version: Excel 2010

Re: Rules to load data from attribute to element

Post by java_to_tm1 »

tomok wrote:I would have pointed that there's really no need to. Just reference the attribute in the report / active form / web sheet. Who cares if it's in the cube as long as it's accessible.
If websheets are an option, I would go with DBRA'ing the attribute rather than bringing it into the cube itself.
But I've worked with client's who are so pissed with having to do their planning and Forecasting on MS Excel that they wont open a websheet!

Without Cognos BI integration, the only "reporting" option available is to pull the attr as one of the measures in the "report" cube view.

Love the idea of feeding from the attr cube! :D

~Sri
The Java_to_TM1 Convert
TM1 Version 10.1, 10.2, Cognos Insight 10.1, 10.2
Local: Windows 7 Professional, Excel 2007
Server: Windows Server 2008 64-bit
p.s. I have a healthy disregard for Performance Muddler.
Shwetha
Posts: 5
Joined: Fri Sep 20, 2013 10:09 am
OLAP Product: Cognos TM1
Version: 10.1
Excel Version: 14.0.6129.5000

Re: Rules to load data from attribute to element

Post by Shwetha »

Hi everyone,

Thank you for the reply. Sorry for my late response. I am new to TM1 and was trying different options to acheive some calculation through TI process.

Thanks,
Shwetha
danielb
Posts: 1
Joined: Thu Apr 10, 2014 3:43 pm
OLAP Product: tm1
Version: 10.1
Excel Version: 2007

Re: Rules to load data from attribute to element

Post by danielb »

tomok wrote:Just reference the attribute in the report / active form / web sheet.
Hi everyone,
i'm new to tm1 and i have the same problem: i have a dimension with some element attributes and i need to show them in a cube view in tm1web (i'm working with cognos express and xcelerator).
How can i reference the attribute in the tm1web view?
Thanks,
daniel
declanr
MVP
Posts: 1831
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: Rules to load data from attribute to element

Post by declanr »

danielb wrote:
tomok wrote:Just reference the attribute in the report / active form / web sheet.
Hi everyone,
i'm new to tm1 and i have the same problem: i have a dimension with some element attributes and i need to show them in a cube view in tm1web (i'm working with cognos express and xcelerator).
How can i reference the attribute in the tm1web view?
Thanks,
daniel
A cube view can only show exactly what is in the cube. Your options are either to bring the attribute into the cube (likely causing unnecessary duplication) OR don't use a cube view and create an active form that still has all the cube data referenced but with an extra column doing a DBRA.
Declan Rodger
Post Reply