reporting-services

Repeat Row group on top of table as table headers between every groups in SSRS

£可爱£侵袭症+ 提交于 2019-12-24 20:44:38
问题 I have a table showing population, and other details of all cities by all countries in the world. This table I have managed to create in SSRS with 'Country' column as a Row Group. Now instead of having the country name taking up the first column I would like to move this information up as table headers/title, so that there is more space to include more details on the right side of the table(which is not showing in the image). This would mean separating this big table into several small group

How perform SSRS URL action without triggering Print Dialog?

大憨熊 提交于 2019-12-24 20:38:38
问题 I have several SQL Server Reporting Services reports with text boxes having URL actions that look like this: ="javascript:void(window.open('http://...some-web-site...=" + Fields!someField.Value + "&lang=eng&tab=reg','_blank'))" The URL actions work, but immediately after the web page opens, the browser's Print Dialog opens with a print-to-pdf type option selected. The user then has to close the Print Dialog in order to view the web page. How can I stop the browser's Print Dialog from opening

How to group by some column and show grouped value within existed another column

 ̄綄美尐妖づ 提交于 2019-12-24 20:34:04
问题 I would like to implement grouping, where values I need group by, may be shown within other existed column. Please, see screenshot: How can I do it by SSRS v14.0? 回答1: STart by building your report with the details rows, then right-click the detail row in the row group panel below the main report design. Do "Add Group" then "Parent Group". Choose the field that contains Buy/Sell and tick the "Add group header" option. A new column will be added with the buy/sell field added. Delete this new

Programatically upload XML file to SSRS server

一笑奈何 提交于 2019-12-24 20:19:34
问题 How do I programatically upload an XSLT file to an SSRS server database? I would like exactly the same functionality as the 'Upload File', preferably using the 'rs' command. I have tried rs.CreateResource, but it doesn't seem to work for XML/XSLT files (though it works for Excel and image files) I understand that manipulating the SSRS db is not supported. Thanks 回答1: This is the code SSMS generated when I tried to upload an xml file:- Dim Resource As String = "home" Dim Parent As String = "/"

Why am I getting a “Multi-part Identifier could not be bound” error?

拜拜、爱过 提交于 2019-12-24 19:28:38
问题 I recently started using SSRS reports and I am struggling to understand why I am getting the following error: "The multi-part identifier 'ST.ProvinceID' could not be bound". I understand what the error means, but I don't understand why it's not working in this instance. I have build quite a few SQL statements in my life, but for some reason, (of which I still need to figure out), SSRS SQL reports does not always work the same way a normal SQL query would. Here is my execution code for the

How to keep List contents on the first page? (SSRS 2005 - PDF Export)

与世无争的帅哥 提交于 2019-12-24 19:20:00
问题 I've got the following report setup: 1. Letterhead (not in the header, since i only want it on the first page) 2. List control with some data when i export the report to PDF, and the contents of the List are less that one full page - my letterhead is displayed on the first page (the rest of the page is empty) and the List content gets moved to the second page. if the List grows over 1 page - reports is showing up just fine (Letterhead and portion of the list on the first page - the rest on

SSRS text parameter tied to SQL variable

天涯浪子 提交于 2019-12-24 18:36:00
问题 I currently have a report with two parameters. Both those parameters have a datatype of "text". I am having an issue passing the desired value to these parameters from SQL because the variables that represent those parameters in SQL cannot be text due to variables not being able to be "text" datatypes in SQL now. The variables right now are "datetime" datatypes. I tried using some other text like datatype in SQL such as nvarchar, nchar, char, varchar etc. but none of those solved my problem.

SSRS Split expression #Error

你说的曾经没有我的故事 提交于 2019-12-24 18:28:19
问题 Trying to get this expression working: IIF(Fields!Text.Value like "*som:*",Split(Fields!Text.Value, ": ").GetValue(0)&":" & vbcrlf & Split(Fields!Text.Value, ": ").GetValue(1), Fields!Text.Value) And for the fields which contain "som:" it works as I want but not for the "else fields" which show #Error. I've also tried Fields!Text.Value.ToString().Contain("som:") but got the same result. The Warning goes: The Value expression for the textrun ‘XXXXXX.Paragraphs[0].TextRuns[0]’ contains an error

Report Manager Expression-based Connection Strings Missing

自古美人都是妖i 提交于 2019-12-24 18:25:58
问题 I'm using an expression for a report connection string but when I upload the report to the report manager (2017 June) and save the credentials in the data source setting the text box that contains the expression gets cleared out. The same report works fine in SSRS 2014. I've tried using IE, Chrome and Edge and get the same behaviour. before save after save 回答1: I had a similar issue in ReportServer 2017; however, if you click the button 'Revert to Default' (a button displayed in the same

Report Manager Expression-based Connection Strings Missing

百般思念 提交于 2019-12-24 18:24:02
问题 I'm using an expression for a report connection string but when I upload the report to the report manager (2017 June) and save the credentials in the data source setting the text box that contains the expression gets cleared out. The same report works fine in SSRS 2014. I've tried using IE, Chrome and Edge and get the same behaviour. before save after save 回答1: I had a similar issue in ReportServer 2017; however, if you click the button 'Revert to Default' (a button displayed in the same