![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||||
| |||||
|
| {Filter(Descendants([Accounts].AllMembers,0,LEAVES) |
| {Filter(Descendants([Accounts].[All Accounts],,LEAVES) |
|
Hi, I'm using Analysis Services on a SQLServer 2000 on Windows 2003. My dimension 'accounts' has more than 250.000 members, so it contains automatically created member groups (intervals) of accounts. In one of my cubes, I've got a calculated measure which returns a boolean/bit value. This measure is intended as an indicator and works fine so far. Now I'd like to find the accounts where this indicator measure is TRUE/1. My MDX works, but returns the affected account groups. That's no help; I need the distinct account numbers where the indicator measure ist set. How can I 'expand' the groups into the distinct accounts that have an indicator value of 1? My MDX: SELECT {[Measures].[Amount]} ON COLUMNS, {Filter(Descendants([Accounts].AllMembers,0,LEAVES), [Measures].[Indicator] = 1)} ON ROWS FROM MyCube WHERE [Date].[All Dates].[2006-01-01 00:00:00] Thx Martin |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |