dbTalk Databases Forums  

How do I make the "unknown member" work?

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss How do I make the "unknown member" work? in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Markus Raatz
 
Posts: n/a

Default How do I make the "unknown member" work? - 06-02-2006 , 04:12 AM






Hi all,

I have a role-playing time dimension that I use twice in my sales cube, with
two different key columns in the fact table, let's imagine they are "order
date key" and "delivery date key". There is always an "order date key", but
of course for some sales there is no delivery date (yet), so this column is
NULL in the fact table. I enabled the "unknown member" in my time dimension,
it is visible now, and I set the "Error Configuration" of the related
measure groups to "(custom)", specifying the "KeyErrorAction"
"ConvertToUnknown", and the "NullKeyConvertedToUnknown" to "IgnoreError". On
the "Measure Group Bindings" of the delivery date-dimension (the one with
the unknown member) I set the "Null Processing" for the relationship between
dimension columns and measure group columns to "UnknownMember". It processes
beautifully, but I see nothing on the unknown member of the "delivery date"
dimension, and - even worse - from now on the whole cube contains only sales
that have a delivery date, all undelivered sales (with NULLs in the fact
table) are gone from the cube. They come back when I remove the relationship
between "delivery date" and my measure groups.

Does anybody have an idea what am I missing here? BOL doesn't really help
very much on this...

Thanks in advance,

Markus.



Reply With Quote
  #2  
Old   
yongli
 
Posts: n/a

Default RE: How do I make the "unknown member" work? - 06-02-2006 , 04:07 PM






It seems that the link between delivery date key and fact date key might be
the problem. Please make sure that you used the right key in the fact (you
will need to have two date keys in the fact table).

"Markus Raatz" wrote:

Quote:
Hi all,

I have a role-playing time dimension that I use twice in my sales cube, with
two different key columns in the fact table, let's imagine they are "order
date key" and "delivery date key". There is always an "order date key", but
of course for some sales there is no delivery date (yet), so this column is
NULL in the fact table. I enabled the "unknown member" in my time dimension,
it is visible now, and I set the "Error Configuration" of the related
measure groups to "(custom)", specifying the "KeyErrorAction"
"ConvertToUnknown", and the "NullKeyConvertedToUnknown" to "IgnoreError". On
the "Measure Group Bindings" of the delivery date-dimension (the one with
the unknown member) I set the "Null Processing" for the relationship between
dimension columns and measure group columns to "UnknownMember". It processes
beautifully, but I see nothing on the unknown member of the "delivery date"
dimension, and - even worse - from now on the whole cube contains only sales
that have a delivery date, all undelivered sales (with NULLs in the fact
table) are gone from the cube. They come back when I remove the relationship
between "delivery date" and my measure groups.

Does anybody have an idea what am I missing here? BOL doesn't really help
very much on this...

Thanks in advance,

Markus.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.