Re: How to identify set (similar as possible)
- From: "Jéjé" <willgart_A_@xxxxxxxxxxxxxx>
- Date: Thu, 10 Aug 2006 17:46:42 -0400
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)
"igorkov" <igorkov@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6DFAF47D-F06E-4E65-AA21-3275E11AE858@xxxxxxxxxxxxxxxx
Simple question appears when reading BOL
<cut here>
The following example returns TRUE if [Time].[Fiscal].CurrentMember is a
leaf member:
IsLeaf([Time].[Fiscal].CurrentMember)
<cut here>
But if CurrentMember is set, this request will generate an error. Is it
possible to identify such situation before evaluating IsLeaf?
Thank you in advance for help.
.
- Prev by Date: Initialization of the data source failed.............. Does anyone know what the fix is?
- Next by Date: Re: Creating a dimension having more than 64,000 distinct values
- Previous by thread: Initialization of the data source failed.............. Does anyone know what the fix is?
- Next by thread: Re: How to identify set (similar as possible)
- Index(es):
Relevant Pages
|