SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 MDX Union
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

cipriani1984
Constraint Violating Yak Guru

United Kingdom
304 Posts

Posted - 12/04/2012 :  04:13:38  Show Profile  Click to see cipriani1984's MSN Messenger address  Reply with Quote
Hi

I have the following union in MDX and just trying to figure out how to only put a parameter on one of the unions, any ideas?

SELECT
[Measures].[Score Dm Count]
ON COLUMNS,
UNION (
CROSSJOIN (
[Dim ACQ Score Card Time Table].[Month Name].&[7] ,
NONEMPTY ( [Dim ACQ Score Dm Acc Rej].[Hierarchy].[Label] )
) ,
CROSSJOIN (
[Dim ACQ Score Card Time Table].[Month Name].&[10] ,
NONEMPTY( [Dim ACQ Score Dm Acc Rej].[Hierarchy].[Label] )
)
) ON ROWS
FROM [Accs Rej]

So the 2nd set of results on the 2nd crossjoin id like to paramitise those results and the ones from the first will always stay.

Thanks
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000