dbTalk Databases Forums  

filter product list in MDX

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss filter product list in MDX in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Pieter M
 
Posts: n/a

Default filter product list in MDX - 08-22-2006 , 03:49 AM






In a reporting services report based on a cube I have a parameter in which I
only want to show the values which have measures in a measuregroup associated
with it. For Example: I only want to choose products which have sales in the
cube. (Retrieving the values outside the cube is not an option)



This is the current dataset which fills the parameter list:



WITH MEMBER [Measures].[ParameterCaption] AS '[Kalender].[Jaar Nummer
Lang].CURRENTMEMBER.MEMBER_CAPTION' MEMBER [Measures].[ParameterValue] AS
'[Kalender].[Jaar Nummer Lang].CURRENTMEMBER.UNIQUENAME' MEMBER
[Measures].[ParameterLevel] AS '[Kalender].[Jaar Nummer
Lang].CURRENTMEMBER.LEVEL.ORDINAL' SELECT {[Measures].[ParameterCaption],
[Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS ,
[Kalender].[Jaar Nummer Lang].ALLMEMBERS ON ROWS FROM [Cube]

How can I realise this?

Thanks.
Pieter

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.