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

MDX query to show dimension values in Excel

$
0
0

Hey guys,

I have a problem with an SSAS cube:

I need an MDX query to show dimension values. The statement i defined so far looks like this:

IIF ( [Measures].[Dimension1 Count] > 0 AND [Dimension 1].[Boolean 1].CURRENTMEMBER.MEMBER_VALUE > 0,[Dimension 1].[Start Year].CURRENTMEMBER.MEMBER_VALUE , null )

Excel 2010 will be used as front end via a OLAP connection. However, the following situation occurs:

o    In Excel: If the respective dimension attribute is not selected, the intersection field shows simply “ALL”
o    If the field is selected to be shown in the pivot list, the requested value is shown in the intersection field.

Is it possible to achieve that without the integration of that dimension attribute? I attached 2 screenshots to illustrate the issue:

Screenshot 1: With Start Year Attribute selected in the Pivot Table selection.

Screenshot 2: Without Start Year Attribute selected in the Pivot Table selection.

So, to sum up: I'd like to show the value for the dimension attribute "Start Year" without selecting it in the pivot table field list. Is that possible?

I appreciate your feedback!


Viewing all articles
Browse latest Browse all 2472

Trending Articles



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