Re: How to identify set (similar as possible)
- From: "Jéjé" <willgart_A_@xxxxxxxxxxxxxx>
- Date: Fri, 11 Aug 2006 18:09:30 -0400
currentmember always return a member, not a set.
what you don't know is if the dimension is currently used in a set!
using the extract function on a set when you don't know if the set contain
this dimension or not raise an error when the dimension is not here.
try to use the iserror function or convert the set to string and test the
string himself using string comaprison functions.
"igorkov" <igorkov@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CBF79ADB-8CD8-4CDE-A2D1-59CFF7F88A11@xxxxxxxxxxxxxxxx
"Jéjé",
the problem is that you never know either is CurrentMember is a member or
set (lets assume). So i'd like to create a construction something like
this
IIF( [Time].[Fiscal].CurrentMember is set, IsLeaf(Extract.....),
IsLeaf([Time].[Fiscal].CurrentMember)
Thank you.
"Jéjé" wrote:
CurrentMember can be used against 1 dimension only, not against a set.
use the Extract function to extract 1 dimension only from your set, then
use
the currentmember
IsLEaf(Extract(<<my set>>, [Time].[Fiscal]).CurrentMember)
.
- References:
- Prev by Date: Saving a Virtual Cube (AS2000) causes a full dimension reprocess?
- Next by Date: Re: Needed Advice - Olap client tool
- Previous by thread: Re: How to identify set (similar as possible)
- Next by thread: Can I use a Case Statement
- Index(es):
Relevant Pages
|