2017-06-13 39 views
1

第二份報告,我想這樣的創建報告:如何從原來的打開SSRS

Report 1

我有一個名爲「hatalar」一欄。如果我點擊「hatalar」列中的數據,
我想開一個新的報告。

新的報告應該是這樣的: New report

我怎樣可以打開一個新的報告,當我在報告點擊數據?

+1

您可以使用操作來創建指向另一個報告的鏈接。 – Peter

+2

看看是否有幫助:https://docs.microsoft.com/en-us/sql/reporting-services/report-design/drillthrough-reports-report-builder-and-ssrs – niktrs

回答

0

有兩種主要方式可以做到這一點,在新窗口中打開或「鑽取」到下一個有問題的報告。

  • 新窗口:創建一個JavaScript表達式檢查報告是否呈現爲一個報告或Excel/PDF格式,並創建一個鏈接,打開一個新的窗口,正確的網址:

    = IIF(全局RenderFormat.Name = 「RPL」! 「的javascript:無效(window.open( '!http://myrshost/ReportServer?/AdventureWorks 2008R2/Employee_Sales_Summary_2008R2 & ReportMonth =」 &領域ReportMonthId.Value & 「', '_空白'))」,「http://myrshost/ReportServer?/AdventureWorks 2008R2/Employee_Sales_Summary_2008R2 & ReportMonth =「!場ReportMonthId.Value)如何通過報告URL傳遞報表參數

附加MS文檔可以發現here但關鍵是這樣的:

純模式網址:

http://myrshost/ReportServer?/AdventureWorks 2008R2/Employee_Sales_Summary_2008R2&ReportMonth=3&ReportYear=2008 

的SharePoint模式網址:

http://myspsite/subsite/_vti_bin/reportserver?http://myspsite/subsite/AdventureWorks 2008R2/Employee_Sales_Summary_2008R2.rdl&ReportMonth=3&ReportYear=2008 
  • 鑽取:將hatalar文本框的操作設置爲「鑽取」並傳遞報告參數。這將導致當前頁面被替換爲子頁面。

Additional documentation可以在MS文檔頁面找到鑽取。