![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm using UPDATE CUBE statements but I need to protect against upper level updates. Querying the cube for each member is too costly so I'm looking for an MDX option (or a cube setting to ignore all upper level updates). Right now I'm wrapping each member name in: StrToMember(Iif(IsLeaf([membername]), "membername", "[$$NOT_LEAF$$]")) Obviously $$NOT_LEAF$$ is a valid member in the cube and the update will fail. Exceptions as flow control isn't very elegant so I'm looking for a better option. Thoughts? -zoltan |
#3
| |||
| |||
|
|
You could use cell-level write security, but I'm sure it's worth the hassle. Who/what are you trying to protect against? Your own actions, users' mistakes or intentional malicious changes? -- Hope this helps Marius "Zoltan Grose" <zgrose (AT) mac (DOT) com> wrote in message news:ep5GqJeIGHA.3856 (AT) TK2MSFTNGP12 (DOT) phx.gbl... I'm using UPDATE CUBE statements but I need to protect against upper level updates. Querying the cube for each member is too costly so I'm looking for an MDX option (or a cube setting to ignore all upper level updates). Right now I'm wrapping each member name in: StrToMember(Iif(IsLeaf([membername]), "membername", "[$$NOT_LEAF$$]")) Obviously $$NOT_LEAF$$ is a valid member in the cube and the update will fail. Exceptions as flow control isn't very elegant so I'm looking for a better option. Thoughts? -zoltan |
![]() |
| Thread Tools | |
| Display Modes | |
| |