dbTalk Databases Forums  

AS2005: Unknownmember feature without NULL values?

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


Discuss AS2005: Unknownmember feature without NULL values? in the microsoft.public.sqlserver.olap forum.



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

Default AS2005: Unknownmember feature without NULL values? - 05-08-2006 , 09:26 PM






Hi,

Does it possible to "flag" an unknown member as... "unknownmember"?

I mean...
In my database all the keys are filled, NULL values are NOT authorized.
so my "product_id" column always contain a value,
but
the "-1" ID is linked to an "unknown product".
using this "unkonwn" member, I control all the labels of the levels of my
dimension.
and also I control default values for my attributes (like the product
height, width, etc...)

But, can I flag this member as the unknownmember? and then use the
..unknownmember function to identify this member in my MDX formula instead-of
using the [dimension].[hierarchy].&[-1] syntax . unknownmember is more easy
to understand and read then the "-1" value.

thanks.

Jerome.



Reply With Quote
  #2  
Old   
Akshai Mirchandani [MS]
 
Posts: n/a

Default Re: AS2005: Unknownmember feature without NULL values? - 05-09-2006 , 02:10 PM






No -- but you could always use a SQL query to expose -1 as NULL

--
Try out the MSDN Forums for Analysis Services at:
http://forums.microsoft.com/MSDN/Sho...ID=83&SiteID=1

This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"Jeje" <willgart (AT) hotmail (DOT) com> wrote

Quote:
Hi,

Does it possible to "flag" an unknown member as... "unknownmember"?

I mean...
In my database all the keys are filled, NULL values are NOT authorized.
so my "product_id" column always contain a value,
but
the "-1" ID is linked to an "unknown product".
using this "unkonwn" member, I control all the labels of the levels of my
dimension.
and also I control default values for my attributes (like the product
height, width, etc...)

But, can I flag this member as the unknownmember? and then use the
.unknownmember function to identify this member in my MDX formula
instead-of using the [dimension].[hierarchy].&[-1] syntax . unknownmember
is more easy to understand and read then the "-1" value.

thanks.

Jerome.





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.