dbTalk Databases Forums  

Re: Check whether current dimension member is Allowed/Denied

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


Discuss Re: Check whether current dimension member is Allowed/Denied in the microsoft.public.sqlserver.olap forum.



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

Default Re: Check whether current dimension member is Allowed/Denied - 08-25-2005 , 12:10 PM






Hi JeJe,

The IsError Construct worked. I had to use
StrToSet(IIF(ISERROR(StrToValue("[Metrics].&[M0010]")),
"{"[Metrics].&[M0000]}", "{[Metrics].&[[M0010]}"))

Thanks for your help.

Regards
Venkatesh.
"Jéjé" wrote:

Quote:
and anything like:
iif(iserror(strtomember("[Metrics].&[M0010]"))

or
iif(count(filter([Metrics].members, [Metrics].currentmember.key = "M0010"))
= 0


vvenkie (AT) gmail (DOT) com> wrote in message
news:1124912829.960388.78330 (AT) g43g2000cwa (DOT) googlegroups.com...
I tried the function. It doesn't work.




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.