SSAS Report Action with multiple parameters RRS feed

  • Question

  • Hi,

    I wanted to test the reporting action in one of our test cubes however I am having trouble passing multiple parameters into the report.

    The SSRS report is very basic, links to the database and has one parameter (Customer) which accepts the name of 'Customer No' from the customer dimension of the cube. It is set-up to accept multiple values.

    With the following MDX I am able to get the report to run for one customer at a time. Example:

    UrlEscapeFragment( [Customer].[Customer no].CurrentMember.Name )

    When I click the reporting action in the cube, it generates the following URL.


    If I manually alter this URL to include the second customer number from the screen grab it loads fine.


    Using the article below on the issue I have created this MDX which should return the currently selected customers and pass them into the URL as generated above.

    WITH MEMBER [Measures].[Order Param List] AS
     UrlEscapeFragment (  GENERATE(
            EXISTS( [Customer].[Customer no].[Customer no].members , ,
        [Customer].[Customer no].CurrentMember.Name,
        "&Customer=") )
    SELECT {[Measures].[Order Param List], [Measures].[Invoiced Value]} ON 0
        ,([Time].[Fiscal Month].[Fiscal Month]) ON 1

    Example results 



    However when I paste the code below into my parameter in the cube the option to run the report is available and runs fine for a single customer, for multiple customers when I click on a sub total or grand total cell it does not pass in the parameters correctly. 

     UrlEscapeFragment (  GENERATE(
            EXISTS( [Customer].[Customer no].[Customer no].members , ,
        [Customer].[Customer no].CurrentMember.Name,
        "&Customer=") )

    The URL loads as below


    I have fiddled with various combinations of this MDX and various ways to pass in the parameters with no success.

    Any help with this would be greatly appreciated.




    • Edited by richy999 Monday, March 14, 2016 3:33 PM
    Monday, March 14, 2016 3:10 PM