![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I am from Argentina and i'm working in 'Telecom Argentina', forgive me for my english, but i'll try to explain my self as best as posible. I have just started working in a project with MDX and i've been trying for a while to accomplish an specific result without any success. What i have is this (i will use letters, instead of the real name of the cubes and dimensions because they are all in spanish): cube: 'CUBE' - Dimension: 'A'(it's a parent-child, and the depth is unknown) How can i list all members, no matter in what level they are, that meet a condition ([Measures].[X]>10) and that have and specific value in a property (A.CurrentMember.Properties("P")="<value>")? |
#3
| |||
| |||
|
#4
| |||
| |||
|
| SELECT |
|
Thanks for responding so soon, I really appreciate your help. But if i may, i would like to ask one more thing. What if i wanted to know not all members of the HOLE dimension, but only those starting from an arbitrary/random member of the dimension. Instead of "[Red].AllMembers", let's say "[Red].[<level-1>].[<level-2>]...[<level-n>].AllMembers". This is what my query looks like so far. SELECT {[Measures].AllMembers} ON COLUMNS, { filter( [Red].AllMembers, [Red].CurrentMember.Properties("Categoria")="CENTRAL" AND [Measures].[VAP] < 10 ) } ON ROWS FROM IP WHERE [DimFecha].[2005].[2] I tried this, but it didn't work: SELECT {[Measures].AllMembers} ON COLUMNS, { filter( [Red].[Telecom].[Nivel1 - 00].AllMembers, [Red].CurrentMember.Properties("Categoria")="CENTRAL" AND [Measures].[VAP] < 10 ) } ON ROWS FROM IP WHERE [DimFecha].[2005].[2] I suspect that it didn't work because "AllMember" can be used only with dimensions. Thanks for help. Emiliano |
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |