Hi Angela,
Thanks for your reply. I still dont understand why a SAS OLAP cube cant be built.
Executing the following SQL on my Oracle staging database:
select distinct
MEASUREKEY,
SUPERCATEGORY,
CATEGORY,
SUBCATEGORY,
MEASURENAME,
SOURCE
from mytable
results in 743 rows. the total rows are 743. that means each row is a unique top to bottom hierarchy.
I dont understand why I get an error telling me their are duplicates.
You said "Essentially the error msg means that the 'testmember' value appears differently in the SUBCATEGORY level of your hierarchy"
Well, if it appears differently in the column subcategory than it is a different parent of MEASURENAME, correct?
the full error reads:
-----------------------------
ERROR: A duplicate member caption was found in "SUBCATEGORY" level for value "growthxxxxxxxxxxxxxxxxxx
xxxx
".
It may be that the same caption exists with different variants of upper and lower case characters, o
r with a different number of
leading blanks. The MDX language is case tolerant so having one or more captions that differ only i
n the case or number of leading
blanks makes the captions ambiguous.
ERROR: Hierarchy "DIM_KPI" could not be initialized.
ERROR: Cube "xxxxx" cannot be created.
---------------------------------------
There are not that many spaces in any of the rows under columns SUBCATGORY. A statement like this
select measurekey,subcategory from T_measures where subcategory LIKE '% %' results in not a single row returend. So I can not make out to what member name the error refers.
... View more