The sum of all SQL Server matter that exist,
and the space in which all SQL Server events
occur or could occur.
Welcome to SQL Server Universe.com Sign in | Join | Help
in
Home SS SLUG Forums Articles Photos Downloads

parameter problem ssrs2005

Last post 05-15-2008, 9:15 by Lasi. 1 replies.
Sort Posts: Previous
  • parameter problem ssrs2005

     08-06-2007, 0:26

    • Joined on 07-19-2007
    • Posts 4
    • Points 0
    • Top 50 Contributor

    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: parameter problem ssrs2005

     05-15-2008, 9:15

    • Joined on 05-15-2007
    • Posts 4
    • Points 0
    • Top 50 Contributor

    Hi,

    The code you provided have some single quotes missing/incorrectly placed. Please recheck the query.

    Lasi

View as RSS news feed in XML

(Best viewed with a resolution of more than 1024 * 768)

Powered by Community Server, by Telligent Systems