reporting-services

How to do Jump to URL in SSRS?

大憨熊 提交于 2019-12-24 18:23:41
问题 I have two reports , in same forder in reportserver. i wanted to link both the reports back and forth passing parameters. I tried to use jump to Report passing parameter, it works but opens the report in the same window. I am looking for opening the report in a new window , so tried to use the Jump to URL using this expression. ="javascript:void(window.open('http://servername/reportserver?%2fStaffing%2fTest%2fStaffing Forecast Summary&rs:Command=Render&PI_REGION_LIST="+Parameters!PI_REGION

Can “allow multiple values” for parameters be used with stored procedures in Report Builder 3.0?

送分小仙女□ 提交于 2019-12-24 17:43:38
问题 Microsoft says that you cannot allow multiple values for a parameter in Report Builder 2.0 when using stored procedures. https://technet.microsoft.com/en-us/library/Dd207127(v=SQL.100).aspx I cannot find a similar statement for Report Builder 3.0. How does report builder send the data contained in a parameter with multiple selections to a stored procedure? It seems from this post that it passes them as a string, is that right? https://www.mssqltips.com/sqlservertip/2844/working-with

SSRS reports Group doesn't display properly once limited rows per page

北慕城南 提交于 2019-12-24 17:05:22
问题 I'm trying to make a SSRS Delivery Note report which details required to be grouped by customer and use customer address as report header. One data set contains multiple customers and each customer may has 10+ lines of item details. However detail rows are limited to 10 on each page as the delivery note paper are pre-printed. So I group all details by customer information, use a big matrix nest with a smaller matrix to display both customer information(Header) and item detail information

SSRS Category Grouping

ε祈祈猫儿з 提交于 2019-12-24 17:02:03
问题 I'm trying to create a grouped category on a bar chart in SSRS. My query is: select distinct filedate, transaction_date, duedate, event_instance, event_name, eventstatus (datediff(DD, duedate, filedate)+1) as DaysAged, -(DATEDIFF(WK, duedate, filedate) *2) -(case when DATENAME(DW, duedate) = 'sunday' then 1 else 0 end) -(case when DATENAME(DW, FileDate) = 'saturday' then 1 else 0 end) as wkends from MY TABLE where filedate = (select MAX(filedate) from MY TABLE) and FileDate > duedate In

Why can't I use a datetime parameter in ssrs?

喜你入骨 提交于 2019-12-24 16:57:18
问题 I have an SSRS Date/Time parameter generated from a shared dataset query against a SQL Server datetime field. The parameter displays correctly in a report textbox but it will not work in an embedded dataset query, even against the same table that the datetime value was generated from. In order to use the parameter for a dataset query I have to parse both sides of a where clause to get it to work in Preview in SSDT: (convert(varchar,invoice.snapshot_datetime,120)) = (convert(varchar,

SSRS matrix pivot

不想你离开。 提交于 2019-12-24 16:54:38
问题 I have following structure: Col1 Col2 Col3 --------------- F P R1 F P R2 F P R3 F P R4 Col3 values can be anything. Now I want, in following format, only the top 3: Col1 Col2 Res1 Res2 Res3 ------------------------------ F P R1 R2 R3 I tried it using Matrix, but I m not able to separate the result as 3 columns. Basically, the end user opens this report in Excel and applies filter and sorting to it. 回答1: I suggest editing the filter on the grouping of col3 - as follows: Right-click on the

SSRS - Sending multiple ID values in a parameter and generating a tablix row for each value in parameter

こ雲淡風輕ζ 提交于 2019-12-24 15:42:10
问题 UPDATE : Solution at bottom of post! I have a report in SSRS that receives one parameter @ID and then generates the report. My task is to find out if it's somehow possible to pass multiple ID values at once inside one parameter and then generate a report for each of those values and place them all inside one PDF file. However, I want to know if it's possible to somehow pass a parameter that contains multiple number values (IDs) which would look like this, for ex. : @ID=1,2,3,4,5. I would then

Adding multiple functions to RDLC custom code

时间秒杀一切 提交于 2019-12-24 15:33:29
问题 I am trying to make a comparatively complex rdlc report for my web application and the problem that I am currently facing is that there is one function defined in the custom code section of the report. And then I added another function there and the report is not executing giving an error "The definition of report is invalid." Everytime I remove this function the report runs smoothly, when I add it back it gives this error in the report viewer. 回答1: For writing custom code in rdlc : On the

How can I change the column order of a SQL Server Report Services report at runtime?

三世轮回 提交于 2019-12-24 15:21:14
问题 I would like to change the sequence of the headers/columns of an *.rdlc report at runtime based on e.g. user preference settings. I found that you can make some columns invisible, but I haven't found a way to change the order of the columns. I am using the ReportViewer control in an ASP.NET web page. And at runtime in this case would mean that the layout can change during two page requests. I read somewhere that you could configure the rdlc xml dynamically or use the rdl object model to

ssrs url path string manipulation

让人想犯罪 __ 提交于 2019-12-24 15:08:19
问题 I have a url string that I'm getting from the DB for a file in my sharepoint server e.g. http://mysharepointserver.com/abc/def.jpg and I would like to get the url path e.g. http://mysharepointserver.com/abc removing the file name. Can someone please give me an example on how this can be done in SSRS? I'm using SSRS 2012 but I'm fairly new to SSRS. Any help greatly appreciated. Vince. 回答1: You could write some custom code on the report. There is a Code property on the report itself where you