Name of Cube in the Rule

Post Reply
EP_explorer
Regular Participant
Posts: 221
Joined: Sat Dec 04, 2010 2:35 pm
OLAP Product: PAL
Version: 2.0.9
Excel Version: 2016

Name of Cube in the Rule

Post by EP_explorer »

the Cube has the rule

Is it possible to found a name of current cube in the Rule?
User avatar
Elessar
Community Contributor
Posts: 412
Joined: Mon Nov 21, 2011 12:33 pm
OLAP Product: PA 2
Version: 2.0.9
Excel Version: 2016
Contact:

Re: Name of Cube in the Rule

Post by Elessar »

Hi,

No.
Best regards, Alexander Dvoynev

TM1 and Data Science blog: 10th article - AI has failed TM1 Quiz.
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: Name of Cube in the Rule

Post by Steve Rowe »

If you explain why you would want to do this then maybe someone can propose a solution.

It is not something I've ever wanted to do other than for documentation purposes. i.e.

#This the rule sheet for Cube ABC, it does adding up.
Technical Director
www.infocat.co.uk
EP_explorer
Regular Participant
Posts: 221
Joined: Sat Dec 04, 2010 2:35 pm
OLAP Product: PAL
Version: 2.0.9
Excel Version: 2016

Re: Name of Cube in the Rule

Post by EP_explorer »

I.e. I have }Cubes dimension in the cube B
and I want to write feeder from Cube A to Cube B without writing name of cube in rule in Cube A explicitly but using calculated name of the cube
Wim Gielis
MVP
Posts: 3233
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Name of Cube in the Rule

Post by Wim Gielis »

From the few things I can understand from the post above, I would say 'no'.
But then again, with a better explanation, we might be able to make sense out of it.
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
declanr
MVP
Posts: 1828
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: Name of Cube in the Rule

Post by declanr »

EP_explorer wrote: Tue Nov 17, 2020 11:58 am I.e. I have }Cubes dimension in the cube B
and I want to write feeder from Cube A to Cube B without writing name of cube in rule in Cube A explicitly but using calculated name of the cube
I think you might be out of luck.

In "Cube B" you can obviously use !}Cubes notation to pull data from the source cube since you have the }cubes dimension. But in Cube A, I can't think of any way to automatically reference the name of the cube that your rule belongs to.

Its quite a niche requirement but I assume you are trying to put a pretty generic feeder into multiple cubes and want to automatically reference the cube you are in to save a bit of time. If that's the case I would expect that the time spent trying to think of ways to achieve it will exceed the 1 off tasks of writing out the cube names.
At least once your feeder is in place, the cube that you are feeding from won't change name overnight so it should be a 1 off task.
Declan Rodger
Post Reply