使用 URL 将多个参数传递给 SSRS

Passing multiple parameters to SSRS with URL

我正在使用 Visual Studio 16.4.5 和 SSRS 15.0.1659.0

目前,我正在尝试使用三个参数在本机模式下传递 URL:

="https://reporting/ReportServer?/Production/Equipment/Prime%20On%20Rent%20No%20Shipper&AttachmentOption=N&Store=" & 字段!StoreNumber.Value & "&Division=" & 参数!Division.Value

每次我点击服务器端的结果框,我得到:

An error has occurred during report processing. (rsProcessingAborted)
     Query execution failed for dataset 'DataSet1'. (rsErrorExecutingCommand)
          For more information about this error navigate to the report server on the local server machine, or enable remote errors

我试过将它包装在 javascript 中,尽管我不想为此使用 javascript。我只想能够打开带有参数的目标报表。我做错了什么?

所以,有几件事:

  1. 我的查询中有一个表的别名错误,因此找不到它。
  2. 我必须让两个初始变量接受多个值,以便我可以将它们加入最终 URL。

一旦我解决了这些问题,它就成功了!