Distributing String Values Within a Cube
Posted: Sun Jul 14, 2024 3:04 pm
Hi all. I'm new to IBM TM1, I've been working with it for a little over two months. I solved past problems and difficulties by reading IBM documentation or viewing topics on the forum. Please help me solve the following problem.
I have two cubes 01_Approval and 01_Approval_General.
Cube dimensions 01_Approval: Year, Period, }Clients (system dimension), Rates
Cube dimensions 01_Approval_General: Year, Period, Rates
Both cubes have the same dimensions, except that 01_Approval has the }Clients dimension.
Also, the Rates dimension contains elements (R_01, R_02, R_03, R_04).
Using rules, I need to fill the cells of the cube 01_Approval on the slice [Rates:{P_01, P_02}] from the cube 01_Approval_General for all elements of the }Clients dimension (cube 01_Approval).
I have written the following rules.
Cube 01_Approval:
Cube_01_Approval_Tech:
This works, the values are transferred correctly, but if I enable zero suppression (cube 01_Approval), then it only works for the calculated cells (green) of the Admin element (because a feeder is written for it in Cube_01_Approval_Tech).
How to solve this problem? My ideas:
1. Write feeders for all users. This is bad because when adding a new user (for example, a new employee), it will be necessary to change the cube feeders.
2. Pass values only for the Admin element and then, inside the 01_Approval cube, distribute the values in the }Clients:Admin slice to all other elements (except Admin).
Thank for help!
I have two cubes 01_Approval and 01_Approval_General.
Cube dimensions 01_Approval: Year, Period, }Clients (system dimension), Rates
Cube dimensions 01_Approval_General: Year, Period, Rates
Both cubes have the same dimensions, except that 01_Approval has the }Clients dimension.
Also, the Rates dimension contains elements (R_01, R_02, R_03, R_04).
Using rules, I need to fill the cells of the cube 01_Approval on the slice [Rates:{P_01, P_02}] from the cube 01_Approval_General for all elements of the }Clients dimension (cube 01_Approval).
I have written the following rules.
Cube 01_Approval:
Code: Select all
FEEDSTRINGS;
SKIPCHECK;
[Rates:{P_01, P_02}] = S: DB('01_Approval_General', !Year, !Period, !Rates);
Code: Select all
FEEDSTRINGS;
FEEDERS;
[Rates:{P_01, P_02}] => DB('01_Approval', !Year, !Period, 'Admin', !Rates);
How to solve this problem? My ideas:
1. Write feeders for all users. This is bad because when adding a new user (for example, a new employee), it will be necessary to change the cube feeders.
2. Pass values only for the Admin element and then, inside the 01_Approval cube, distribute the values in the }Clients:Admin slice to all other elements (except Admin).
Thank for help!
