![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Dear All, I have a cube named Sales. it has several dimensions two of them are [Product Form] and [Product Category] and they have the same hierarchy. I am trying to find a member inside the [Product Category] that is equivalnt to a specfic member inside the [Product Form] using the following: LinkMember( [Product Form].[All Product Form].[DROPS].[OTOCALM Ear Drops 10 ML 23] , [Product Category]) This function returns "Miscellanous" which is a member in [Product Category] and not a member in [Product Category].[product]. Note: when I run this function using a product other than "OTOCALM Ear Drops 10 ML 23" the function returns true result. I don't know why this happened. Thanks for any suggestion. Marwa. |
#3
| |||
| |||
|
|
Marwa, are you aware that LinkMember is based on key, not name? Do the keys conform? public @ the domain below www.tomchester.net "Marwa" <maelteir (AT) yahoo (DOT) com> wrote in message news:d5a87768.0402120450.42583511 (AT) posting (DOT) google.com... Dear All, I have a cube named Sales. it has several dimensions two of them are [Product Form] and [Product Category] and they have the same hierarchy. I am trying to find a member inside the [Product Category] that is equivalnt to a specfic member inside the [Product Form] using the following: LinkMember( [Product Form].[All Product Form].[DROPS].[OTOCALM Ear Drops 10 ML 23] , [Product Category]) This function returns "Miscellanous" which is a member in [Product Category] and not a member in [Product Category].[product]. Note: when I run this function using a product other than "OTOCALM Ear Drops 10 ML 23" the function returns true result. I don't know why this happened. Thanks for any suggestion. Marwa. |
#4
| |||
| |||
|
|
Marwa, are you aware that LinkMember is based on key, not name? Do the keys conform? public @ the domain below www.tomchester.net "Marwa" <maelteir (AT) yahoo (DOT) com> wrote in message news:d5a87768.0402120450.42583511 (AT) posting (DOT) google.com... Dear All, I have a cube named Sales. it has several dimensions two of them are [Product Form] and [Product Category] and they have the same hierarchy. I am trying to find a member inside the [Product Category] that is equivalnt to a specfic member inside the [Product Form] using the following: LinkMember( [Product Form].[All Product Form].[DROPS].[OTOCALM Ear Drops 10 ML 23] , [Product Category]) This function returns "Miscellanous" which is a member in [Product Category] and not a member in [Product Category].[product]. Note: when I run this function using a product other than "OTOCALM Ear Drops 10 ML 23" the function returns true result. I don't know why this happened. Thanks for any suggestion. Marwa. |
#5
| |||
| |||
|
|
Marwa, are you aware that LinkMember is based on key, not name? Do the keys conform? public @ the domain below www.tomchester.net "Marwa" <maelteir (AT) yahoo (DOT) com> wrote in message news:d5a87768.0402120450.42583511 (AT) posting (DOT) google.com... Dear All, I have a cube named Sales. it has several dimensions two of them are [Product Form] and [Product Category] and they have the same hierarchy. I am trying to find a member inside the [Product Category] that is equivalnt to a specfic member inside the [Product Form] using the following: LinkMember( [Product Form].[All Product Form].[DROPS].[OTOCALM Ear Drops 10 ML 23] , [Product Category]) This function returns "Miscellanous" which is a member in [Product Category] and not a member in [Product Category].[product]. Note: when I run this function using a product other than "OTOCALM Ear Drops 10 ML 23" the function returns true result. I don't know why this happened. Thanks for any suggestion. Marwa. |
![]() |
| Thread Tools | |
| Display Modes | |
| |