![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am writing an application that uses a tree control to display dimension members. Because some dimensions have a ton of members, I only want to load the first level that a user has access to and then make round-trips to get the children as the user navigates down. If a user has rights to members at different levels of the dimension, I want to display the top-most members of each branch in the root of my control. Let's say this is my dimension 111 AAA aaa BBB bbb 222 CCC ccc DDD ddd If a user has rights to [111] and all its children but only [DDD] in the second branch, my control will display like so +111 +DDD Currently, I retrieve all the members a user has rights to and then loop thru the set to find those members whose parents are not in the set. This is expensive on resources and time on my web server. Is there a way in MDX to return just these top-most members? |
#3
| |||
| |||
|
|
Actually, I don't think you can set up dimension security to have access to [111] + children and [DDD]. In dimension security, the resulting dimension still has to be balanced by levels, so your scenario probably cannot happen. -- ================================================== Mosha Pasumansky - http://www.mosha.com/msolap Development Lead in the Analysis Server team All you need is love (John Lennon) Disclaimer : This posting is provided "AS IS" with no warranties, and confers no rights. ================================================== "Henk van der Meer" <hvanderm (AT) ncen (DOT) com> wrote in message news:3873d41a.0404050800.c02ac88 (AT) posting (DOT) google.com... I am writing an application that uses a tree control to display dimension members. Because some dimensions have a ton of members, I only want to load the first level that a user has access to and then make round-trips to get the children as the user navigates down. If a user has rights to members at different levels of the dimension, I want to display the top-most members of each branch in the root of my control. Let's say this is my dimension 111 AAA aaa BBB bbb 222 CCC ccc DDD ddd If a user has rights to [111] and all its children but only [DDD] in the second branch, my control will display like so +111 +DDD Currently, I retrieve all the members a user has rights to and then loop thru the set to find those members whose parents are not in the set. This is expensive on resources and time on my web server. Is there a way in MDX to return just these top-most members? |
![]() |
| Thread Tools | |
| Display Modes | |
| |