Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parameter Driven MDX Query in RS Report

Status
Not open for further replies.

SQLBI

IS-IT--Management
Jul 25, 2003
988
GB
Hi,

I have the following MDX query which drives my latest RS report.

Code:
SELECT {[Measures].[Value], [Measures].[WDR], [Measures].[SDR]} ON COLUMNS, NON EMPTY
	{[Supplier].[Product].Members} ON ROWS
	FROM [Margin]
	WHERE [Practice].[Practice].[b][101 - Eccleshill][/b]

However, i want to include a report parameter in the WHERE clause, replacing '101 - Eccleshill' with my parameter, '@Practice', but i can't seem to make it work.

Anyone had this before?

Thanks in advance.


Cheers,
Leigh

"Give a man a fish and he can feed himself for a day..."
Give him the means to catch his own fish and he can really annoy his girlfriend by spending all his spare time fishing!


Join the PAC -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top