Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

How do I filter out the "All" row of this mdx query?

$
0
0

Hey MDX'ers - I hope this is an easy one as i'm really new to MDX & have only read 82 pages of my 900 page "Teach yourself MDX" Wrox book..

I want to remove the 'All' row that is being generated in the following query: 

WITH MEMBER [Measures].[ParameterCaption] 
AS [Time].[Month Of Year].CURRENTMEMBER.MEMBER_CAPTION MEMBER [Measures].[ParameterValue] 
AS [Time].[Month Of Year].CURRENTMEMBER.UNIQUENAME MEMBER [Measures].[ParameterLevel] 
AS [Time].[Month Of Year].CURRENTMEMBER.LEVEL.ORDINAL 
SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS , 
[Time].[Month Of Year].ALLMEMBERS ON ROWS 
FROM ( SELECT ( [Time].[Year].&[2008-01-01T00:00:00] : null ) ON COLUMNS FROM [DW Player])

This query is generated by SSRS, but I don't want the 'All' row as these values are being passes to a subreport & that row is generating a null value in the report. Any help on this is greatly appreciated - thanks in advance - Carl 


Carl


Viewing all articles
Browse latest Browse all 14337

Trending Articles