![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am extracting data form a cube using MDX and I want to obtain the foreign key for the dimensions returned rather than the name. Is it possible to do this. |
#3
| |||
| |||
|
|
Tom, Try something like -- member measures.[Keyname] as '[Dimension].currentmember.key' HTH, Jim "Tom M" wrote: I am extracting data form a cube using MDX and I want to obtain the foreign key for the dimensions returned rather than the name. Is it possible to do this. |
#4
| |||
| |||
|
|
Using the MDX sample application ran the following against the Sales cube in the Foodmart2000 sample With MEMBER [Measures].[Product Key] as '[Product].CurrentMember.key' Select NonEmptyCrossJoin([Promotion Media].Members, [Product].[Product Family].Members) on rows, { [Measures].Members, [Measures].[Product key]} on columns From Sales In the Product Key column all that was displyaed was #ERR "Jim_OLAP" wrote: Tom, Try something like -- member measures.[Keyname] as '[Dimension].currentmember.key' HTH, Jim "Tom M" wrote: I am extracting data form a cube using MDX and I want to obtain the foreign key for the dimensions returned rather than the name. Is it possible to do this. |
![]() |
| Thread Tools | |
| Display Modes | |
| |