Hi,
I have 2 cubes with the following structure:
Cube 1:
Dimensions: Year, Month, BusinessLine, ProductType, Stage, Measures
Cube2:
Dimensions: Year, YearTo, Month, MonthTo, BusinessLine, ProductType, Stage, Measures
Rules in Cube 2:
SKIPCHECK;
['Measure']=N:DB('Cube 1',!Year,!Month,!BusinessLine,!ProductType,!Stage,'Measure');
FEEDERS;
Feeders from Cube 1 to Cube 2:
['Measure']=>DB('Cube2',!Year,'2015',!Month, '1',!BusinessLine,!ProductType,!Stage,'Measure');
['Measure']=>DB('Cube2',!Year,'2015',!Month, '2',!BusinessLine,!ProductType,!Stage,'Measure');
..............................................................................................
['Measure']=>DB('Cube2',!Year,'2015',!Month, '12',!BusinessLine,!ProductType,!Stage,'Measure');
['Measure']=>DB('Cube2',!Year,'2016',!Month, '1',!BusinessLine,!ProductType,!Stage,'Measure');
..............................................................................................
['Measure']=>DB('Cube2',!Year,'2016',!Month, '12',!BusinessLine,!ProductType,!Stage,'Measure');
I have tried to write the feeders from Cube 1 to Cube 2 as:
['Measure']=>DB('Cube2',!Year,{'2015', '2016'},!Month,{'1','2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'},!BusinessLine,!ProductType,!Stage,'Measure');
but I received the error: "Sintax error on or before: "{'2015', '20 invalid string expression" "
I have also tried to put the dimension before, but was the same error:
['Measure']=>DB('Cube2',!Year,YearTo:{'2015', '2016'},!Month,{'1','2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'},!BusinessLine,!ProductType,!Stage,'Measure');
Any solutions?
Feeders Problem ( Range )
-
- Posts: 60
- Joined: Thu Nov 17, 2016 2:13 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2013
-
- MVP
- Posts: 3241
- 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: Feeders Problem ( Range )
That's an easy one.
{ } is supported on the left hand side of the feeder or rule, but not on the right hand side.
Either duplicate it, either feed a consolidated element grouping those 12 elements.
{ } is supported on the left hand side of the feeder or rule, but not on the right hand side.
Either duplicate it, either feed a consolidated element grouping those 12 elements.
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
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
-
- Posts: 60
- Joined: Thu Nov 17, 2016 2:13 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2013
Re: Feeders Problem ( Range )
Thank you for the fast reply.
I already did it with the consolidated element. But let s say i don t want to feed all the years that i have, and i only want 2015,2016. in the all element i have all the years.
So it s not possible to select only a range? or only 2-3 values like in the left side?
Thank you
I already did it with the consolidated element. But let s say i don t want to feed all the years that i have, and i only want 2015,2016. in the all element i have all the years.
So it s not possible to select only a range? or only 2-3 values like in the left side?
Thank you

-
- MVP
- Posts: 3241
- 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: Feeders Problem ( Range )
No.
Duplicate your feeder rule for 2 years.
Or create a consolidation with 2015 and 2016 and feed that consolidation. That is the best solution because probably next year you will update the years. Then you only change the children and reprocess the feeders.
Duplicate your feeder rule for 2 years.
Or create a consolidation with 2015 and 2016 and feed that consolidation. That is the best solution because probably next year you will update the years. Then you only change the children and reprocess the feeders.
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
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
-
- Posts: 60
- Joined: Thu Nov 17, 2016 2:13 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2013
Re: Feeders Problem ( Range )
ok,
Thank you for fast reply
i will do that
Thank you for fast reply

-
- 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: Feeders Problem ( Range )
Yes but there is another "hardcoded array notation" for feeders which is supported on the right hand side of a rule. You can just separate the items you want to feed with a comma.Wim Gielis wrote:{ } is supported on the left hand side of the feeder or rule, but not on the right hand side.
e.g.
[A] => , [C], [D];
or
[A] => , DB(), DB(), ...
But I agree that rather than hardcoding it would be better to create a "technical consolidation" in the Year dimension e.g. "Years to Feed" with children 2015 & 2016. The consolidation can then be changed and can run reprocess feeders without having to edit the rule.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
-
- MVP
- Posts: 3241
- 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: Feeders Problem ( Range )
lotsaram wrote:Yes but there is another "hardcoded array notation" for feeders which is supported on the right hand side of a rule. You can just separate the items you want to feed with a comma.Wim Gielis wrote:{ } is supported on the left hand side of the feeder or rule, but not on the right hand side.
e.g.
[A] => , [C], [D];
or
[A] => , DB(), DB(), ....
You are right.
It's good to have the various ways summarized in this topic.
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
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