lk_wick


hi ,
i am trying generate a report using following query. but the parameter is nt properly passing. (OLEDB). i need to correct it. pls help me.

="WITH "+

"MEMBER [Measures].[Amount] AS 'IIF(ISEMPTY([Measures].[Amount Usd]),0,[Measures].[Amount Usd])'"+

"SET [FilteredBUList] AS 'descendants((STRTOSET ( '{" & Join(Parameters!BU.Value,",") & "}', CONSTRAINED),[Account¡ªBillingCodeDsc].[Billing Code Description],leaves) ' "+



"SET [CustomTimeSet] AS Descendants([Date¡ªFiscal].[2006].[Quarter 1]:"+
"[Date¡ªFiscal].[2007].[Quarter 4],[Date¡ªFiscal].[month],Leaves)"+



"SELECT "+
"{[Measures].[Amount]} ON COLUMNS,"+

"{ [FilteredBUList] "+
"}on rows"+

" FROM Profitability"

That BU parameter is multi value parameter. query should accept multi values .



Re: SSRS 2005 probplem with mdx prameter passsing

Deepak Puri


Such expressions can be difficult to debug by visual inspection alone - I'd suggest temporarily adding a text box to your report, with its value set to the above expression. When you run the report, you'll see the actual query string generated. If the problem isn't obvious, posting this string here would be helpful.







Re: SSRS 2005 probplem with mdx prameter passsing

lk_wick

i need to knw how the parameter should pass to this query.