I am trying to store cost drivers as strings in a cube. I have a separate cube that derives the cost.
I wanted to store, in this Cost Driver cube, a list of strings that, based upon rules, evaluate the cost driver (i.e., what primarily influences the cost).
I have previously been able to store strings in cubes, by entering them manually. I understand that the last dimension has to contain the string based member. In this case, I have one named Value whose property I have set to be string.
This time I am trying to create and store the string using a calculation (or rule). Finally, I tried to test with a simple rule such as below.
['Value'] = 'Test';
I get an error message that only says "invalid statement".
What am I doing wrong? How do I store values of strings as above, using rules? Note that, even in the above case, I can enter a string into the cube, manually, by entering the value into the cell in a cube view.
I also tried
['Value'] = STR(0);
as a test. This time the error is "missing colon".
I honestly feel I am missing a colon at this point :)
Any help much appreciated!
EDITED:
I am now moving to a different implementation where the Cost Drivers will be a list of members in a dimension, and I will use a value of 1 or 0 in the Cost Driver cube to indicate whether that particular driver is applicable to that dimension member and that cost metric. I know this will work - in retrospect, it may actually be a better implementation, but I would still like to know what I am doing wrong in my earlier approach in storing strings as values of cells in a cube.
------------------------------
Shubho Ghosal
------------------------------
#PlanningAnalyticswithWatson