Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

MDX - Get current member value from other hierarchy attribute

$
0
0

Hello,

I don't know how to achieve a certain cell value in MDX.

This is the simplified case:

My dimension has two Hierarchy Attributes:

[Product].[Id]

[Product].[Area]

On ROWS I'm returing the set of Ids like:

SELECT 
{ [Measures].[Product Count] } ON COLUMNS,
{ [Product].[Id].[Id].Members } ON ROWS
FROM [My Cube]

How to have the value Product Area of each related Product Id in a separate Column?

I need these values in the final dataset because it must be used on Reporting Services side.

Thanks


Emiliano



Viewing all articles
Browse latest Browse all 2472

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>