This content has been marked as final. Show 7 replies
Are you sure that no records were rejected during your cube load? The total number of rejected records will show up in olapsys.XML_LOAD_LOG table.
Check these three things:
(1). Do the following type of query between your FACT table and each olap dimension to confirm that there are no "extra" dimension members (or keys) in fact table which are not present in your olap dimensions.
SELECT PRODUCT_ID FROM FACT_TABLE
*'SCHEMA.AWNAME DURATION QUERY',null,null,*
*'DIMENSION product_id as varchar2(250) from PRODUCT'))*
(2). Also check the number of dimension members for each dimension in the AW. Maybe one of the dimensions was not loaded properly and has less members in it.
exec DBMS_AW.Execute('AW Attach schema.aw_name RO');
exec DBMS_AW.Execute('SHOW OBJ(DIMMAX ''dim_name'')'); -- two single quotes
*.... repeat for all dimensions in this AW*
This will give you an idea, how many dimension values exist in your AW.
(3). In the AWM cube viewer, make sure that you have selected the right dimension members.
When I visualize dimensions individually in AWM, data are showing. So I guess, it means that data are loaded ?
But when I execute : exec DBMS_AW.Execute('SHOW OBJ(DIMMAX ''dim_name'')');
No rows are retourned. Does it mean that data are not loaded ?
I'm a little confused as to whether data are loaded or not.
When I compare with the example that works perfectly, dimensions, cube are all defined the same. The only difference when it worked perfectly, was that the fact table was just a few rows.
Thank you for your help.
The olapsys.XML_LOAD_LOG query shows only one entry that hasn't changed for a while. It doesn't update after each ''maintenance''.
The second part of the (1) query formats the results by concatenating with the level defined.
Example of results :
With a first part of the (1) query being :
MINUS will never give the expected results.
Is it correct to add "WITH HIERARCHY hierarchy_name FROM dimension_name" to your query 2 ?