SSRS尝试在URL中传递参数,不起作用
我正在尝试创建另一个分页报告的URL。最终,我希望URL能够传递初始报告中给出的两个参数,但由于我是新手,我首先尝试给出一个固定值。SSRS尝试在URL中传递参数,不起作用
起初,我一直得到参数Periode
的默认值,但现在我在参数设置为select a value
的点,但我似乎无法获得我在URL中给出的值:
myreportserver/ReportServer/Pages/ReportViewer.aspx?/ReportName&Periode=Januari+2017
图片的屏幕,我上面的网址获得:
参数值可供选择:
- 下面是一些网址的我试过的: myreportserver /的ReportServer /页/ ReportViewer.aspx/REPORTNAME & RS:命令=渲染& Periode.Period.period = Februari + 2017年
myreportserver/ReportServer/Pages/ReportViewer.aspx?/ ReportName & rs:Command = Render & Periode.Period.period =%5BPeriode%5D。%5BPeriod%5D。%5BPeriod%5D。%26%255%B2017%5D。%5B2% 5D
myreportserver/ReportServer/Pages/ReportViewer.aspx?/ ReportName?:embed = y &: display_count = no &:linktarget = _self &:tabs = no &:showVizHome = no & SelectionList.SelectedItem =%5BPeriode%5D。%5BPeriod%5D。%5BPeriod%5D。%26%5%B2017%5D。%5B2%图5D
myreportserver /的ReportServer /页/ ReportViewer.aspx/REPORTNAME &:嵌入= Y &:DISPLAY_COUNT =无&:linktarget = _self &:突片=无&:showVizHome =无&%5BPeriode%5D%5BKey %5D。%5BKey%5D =%5BPeriode%5D。%5BPeriod%5D。%5BPeriod%5D。%26%255%B2017%5D。%5B2%5D
myreportserver/ReportServer/Pages/ReportVie ?wer.aspx/REPORTNAME & Periode =%5BPeriode%5D%5BPeriod%5D%5BPeriod%5D%26%255%B2017%5D%5B2%5D
试着改变你的网址如下:。。。。
myreportserver/ReportServer/Pages/ReportViewer.aspx?/ReportName&rs:Command=Render&Periode=Januari+2017
请记住,在URL中的参数名称必须与参数名报告和用户看到匹配不及时,并且通过必须匹配可用的值,而不是其显示出的其中一个标签值用户。
您能否提供报表设计的一些截图,以及当您尝试加载该URL时会发生什么? – iamdave
这是一个截图:https://i.stack.imgur.com/TU2d4.jpg – avk
在Periode下拉菜单中可以选择哪些值? – iamdave