Feeders Problem ( Range )
Posted: Tue Apr 18, 2017 8:20 am
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?
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?