Just want to double check before I over engineer...
I have two cubes that I want to be totally independent in order to preserve the Rule Cache in each cube.
If the rule sheet for both cubes reference the attributes of the same dimension via a lookup, something like a prior period lookup then does this create a dependency between my two cubes?
i.e.
in Cube A
['Measure'] = DB ('Cube A' , ......, DB('}ElementAttributes_Period' , !Period, 'Prior') ,....);
in Cube B
['Measure'] = DB ('Cube B' , ......, DB('}ElementAttributes_Period' , !Period, 'Prior') ,....);
My instinctive response is that it does create a dependency between Cube A <---> Cube B as the dependency logic in the engine doesn't care about the direction of the dependency (I assume).
Has anyone done direct testing of this?
Rule Dependency Query
- Steve Rowe
- Site Admin
- Posts: 2455
- 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
Rule Dependency Query
Technical Director
www.infocat.co.uk
www.infocat.co.uk
-
- Regular Participant
- Posts: 155
- Joined: Tue May 21, 2019 3:33 pm
- OLAP Product: TM1
- Version: PA 2.0.x
- Excel Version: 2016
- Location: The Internet
Re: Rule Dependency Query
Hi,
I've never done any testing but during server startup, can you see the cube dependency being created ?
You could also use in tm1s-log.properties file.
Let us know if you find anything, that's an interesting one
I've never done any testing but during server startup, can you see the cube dependency being created ?
Code: Select all
12345 [] INFO 1900-01-01 00:00:00:00 TM1.Cube.Dependency Adding cube dependency: Cube 'Cube A' depends on cube 'Cube B'
Code: Select all
log4j.logger.TM1.Cube.Dependency=DEBUG
Let us know if you find anything, that's an interesting one
-
- MVP
- Posts: 3698
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Rule Dependency Query
No.Steve Rowe wrote: ↑Thu Jan 04, 2024 10:35 am If the rule sheet for both cubes reference the attributes of the same dimension via a lookup, something like a prior period lookup then does this create a dependency between my two cubes?
This creates a dependency in both cubes to the (attribute cube of the) Period dimension. It doesn't create a dependency between cube A & cube B.Steve Rowe wrote: ↑Thu Jan 04, 2024 10:35 am in Cube A
['Measure'] = DB ('Cube A' , ......, DB('}ElementAttributes_Period' , !Period, 'Prior') ,....);
in Cube B
['Measure'] = DB ('Cube B' , ......, DB('}ElementAttributes_Period' , !Period, 'Prior') ,....);
My instinctive response is that it does create a dependency between Cube A <---> Cube B as the dependency logic in the engine doesn't care about the direction of the dependency (I assume).
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.