![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a dimension containing a string as the member column. Each member is associated with a member property containing a numeric ID. The ID in essence identifies the member uniquely. I need to select a subset of the members in the dimension based on the ID (which is defined as a member property). However, I am using a front end application, which does not support selecting members based on member properties, so I have created a virtual dimension containing the member property "ID" from the regular dimension. When I select the members of the virtual dimension that I need, the correct members of the regular dimension are displayed. The problem is that the query is VERY slow - much slower than if I just selected the members from the regular dimension directly (this can for various reasons not be done in general, which is why I use the other approach). Why is that and is there any way to speed up a selection like this? Do I have a design issue which needs to be resolved? If I need to be more specific, please let me know. Thanx a lot in advance for any help! -- Michael Barrett |
#3
| |||
| |||
|
|
If this ID identifies each member uniquely - why not use that column as a member name directly ? This way you won't need virtual dimension. Virtual dimensions are great when you have many to one relationships (alternative to the normal hierarchy), but here you have one to one. |
#4
| |||
| |||
|
|
I have a dimension containing a string as the member column. Each member is associated with a member property containing a numeric ID. The ID in essence identifies the member uniquely. I need to select a subset of the members in the dimension based on the ID (which is defined as a member property). However, I am using a front end application, which does not support selecting members based on member properties, so I have created a virtual dimension containing the member property "ID" from the regular dimension. When I select the members of the virtual dimension that I need, the correct members of the regular dimension are displayed. The problem is that the query is VERY slow - much slower than if I just selected the members from the regular dimension directly (this can for various reasons not be done in general, which is why I use the other approach). Why is that and is there any way to speed up a selection like this? Do I have a design issue which needs to be resolved? If I need to be more specific, please let me know. Thanx a lot in advance for any help! |
#5
| |||
| |||
|
|
Micheal, Sounds like your front end app is letting you down here. There are clients that allow you to select members from a dimension based on their member properties. Which front end are you using? Post me a mail if you prefer. |
![]() |
| Thread Tools | |
| Display Modes | |
| |