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!

SSAS & SSRS; Excel 2007 Report Action with Parameter 1

Status
Not open for further replies.

cs2009

Programmer
Aug 10, 2009
50
US
Using SSAS & SSRS 2005; MS Excel 2007.

I am attempting to add a Report Action to a cube that passes a parameter to a SSRS report. I have a Customer dimension with 2 attributes; customer number and customer name.

The action is defined like this:
Code:
Target Type: Attribute Members
Target Object: Customers.Customer Number
Parameters: UrlEscapeFragment( Customers.[Customer Number].CurrentMember.UniqueName )
The SSRS report ATTEMPTS to launch in the web browser; however, the parameter is not being passed correctly to the report. I expect to pass an integer value only to the report, but part of the actual parameter description is being passed.

Here is the url that is generated by SSAS:
Code:
[URL unfurl="true"]http://xxxxx-xxxxxx/ReportServer$Prod/Pages/ReportViewer.aspx?/Apps/TopCust/CustProfile&CustNo=%5bCustomers%5d.%5bCustomer%20Number%5d.%26%5b2780%5d&rs:Command=Render&rs:Renderer=PDF[/URL]
The "Customers" and "Customer Number" literals are being passed as well as the integer customer number. All I want is the actual integer customer number. In this case it is 2780.
 
Thanks, RiverGuy. You are the best!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top