External Cube Reference issue
Posted: Sat Dec 01, 2012 8:17 am
Good Morning,
I'm sure i'm overlooking something here, so forgive me if it is obvious, but the more i look at this the more annoyed i get and less clear are my thoughts.
I have a budget cube with a year dimension which i want to pull into an actuals cube that has a month dimension with quarter and year consolidations.
['Budget','Hours']=N:
DB('Project Budgets', !Project,!ProjectTask, !ProjectExpType, '2013', DB('}ElementAttributes_Project',!Project,'EWOVersion') ,'Budget','Hours');
If i use the above, the rule returns the budget values correctly. However hard coding a year is not ideal, so i want to replace 2013 with
DB('ProjectPhasing',!ProjectPeriod,'Yearlookup')
but when i do this no values are returned.
If i write the following rule in another cell, just to see what is returned, then i get 2013
['Budget','6026','JAN-13','Costs']=DB('ProjectPhasing',!ProjectPeriod,'Yearlookup');
Any ideas why this won't work?? Is there a data mismatch or am i missing something fundamental?
Many thanks
Lee
I'm sure i'm overlooking something here, so forgive me if it is obvious, but the more i look at this the more annoyed i get and less clear are my thoughts.
I have a budget cube with a year dimension which i want to pull into an actuals cube that has a month dimension with quarter and year consolidations.
['Budget','Hours']=N:
DB('Project Budgets', !Project,!ProjectTask, !ProjectExpType, '2013', DB('}ElementAttributes_Project',!Project,'EWOVersion') ,'Budget','Hours');
If i use the above, the rule returns the budget values correctly. However hard coding a year is not ideal, so i want to replace 2013 with
DB('ProjectPhasing',!ProjectPeriod,'Yearlookup')
but when i do this no values are returned.
If i write the following rule in another cell, just to see what is returned, then i get 2013
['Budget','6026','JAN-13','Costs']=DB('ProjectPhasing',!ProjectPeriod,'Yearlookup');
Any ideas why this won't work?? Is there a data mismatch or am i missing something fundamental?
Many thanks
Lee