reporting-services

SSRS get meta data of remote report

喜夏-厌秋 提交于 2019-12-24 01:08:42
问题 How can I retrieve the meta data such as Description, Modified/Create Dates etc from a Remote SSRS report. The report itself displays no problems in the ReportViewer control on the aspx page so I can access the report... there doesn't seem to be any properties for those values in the .ServerReport object... thanks heaps! 回答1: There are a couple of ways, one way is to add a web reference to the web services interface of your reporting server and call the GetReportDefinition method. more

Overlapping tables in reportviewer

不羁岁月 提交于 2019-12-24 00:56:13
问题 I have a reportviewer control to which I feed a SSRS report. The report that gets generated is fairly large to fit in single view. So when we see that report in reportviewer on Firefox 11+ or chrome 15+ the tables rendered are overlapped but it runs perfectly well in IE. Is there any generic solution for these. Refer Image: 回答1: I have some bad news for you, I'm afraid. Browser support outside IE in version 9.0.0.0 (the 2008 version) is... terrible. As Microsoft states on the corresponding

SSRS iif statement error “No accessible IIf accepts this number of arguments” [closed]

旧时模样 提交于 2019-12-24 00:52:33
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Can someone provide some insight why I am getting this error: "Overload resolution failed because no accessible 'IIf' accepts this number of arguments" Here is the IIf statement: =iif(Sum(Fields!CallsRemaining.Value))<0,1,((Sum(Fields!TotalInventory.Value)+Sum(Fields!CallsRemaining.Value))/(Sum(Fields

Converting Cognos reports to SSRS , what does XSUM command does?

北城余情 提交于 2019-12-24 00:42:52
问题 We are in process of converting cognos reports to ssrs reports . i have a query which i got it from the cognos report and it is written in pervasive sql i am not sure about the language. I am able to interpret most of the query but i am stuck with one command XSUM. It has a syntax as XSUM(col21 at col3 col7 col5 col5 for col3 col7) as col22 where col21,col3,col5, and col7 are columns from the table. Can any one help me in understanding what the command XSUM does and what is the equivalent of

Barcodes and SSRS

廉价感情. 提交于 2019-12-24 00:36:49
问题 Good Day All, I am trying to get barcodes to print correctly in SSRS. I have the correct font installed on the report server and on the machine printing the report, the barcodes look correct on the screen but when you go to print the report it puts spaces in the barcodeand distorts it making it unreadable. How can I fix this issue without a ton of coding or complex solutions? Thanks 回答1: Not a direct answer to your question and I am not an expert in barcode. However following is what we are

SSRS Alternating Row Colors Within Groups

為{幸葍}努か 提交于 2019-12-24 00:28:24
问题 I have some issues getting alternate row colors. I've tried different expressions and this is as close as I've gotten to getting it done: =IIF(RunningValue(Fields!agent_name.Value,CountDistinct, Nothing) MOD 2 = 1, "Gainsboro", "White") Where all other of my reports are getting correct alt row shading, I'm having trouble with this specific report that has a Row group and a Column group.. Spent about 2 days and still no luck :( When I make my rows with the above expression, it is displayed

Report Parameter validation in ssrs report

混江龙づ霸主 提交于 2019-12-24 00:12:09
问题 I have created one SSRS report having begin date and end date. If I provide end date< start date it will execute the report as shown in the image But that condition I need to show a pop up "Please Check the start date and end date provided". How to do this? 回答1: Click Report Menu then Report Properties. Go to Code Tab and add similar code as per your requirement: Function CheckDateParameters(StartDate as Date, EndDate as Date) as Integer Dim msg as String msg = "" If (StartDate > EndDate)

write an expression to check if the any of the value in the group is false

谁说胖子不能爱 提交于 2019-12-23 23:19:05
问题 want to write an expression in an SSRS 2008 textbox to check if any of the value in a field in a group is false. If false stop and change the background color of the Textbox. i am trying to do =iif(field!coloumnname.value="False","Red","silver") The above expression is taking the top most value in the group and giving the output. I mean if the value is True , it is giving silver background. Can anyone help me out 回答1: Just use the min function in the group level background property: =iif(min

SSRS Selective Page Break

自作多情 提交于 2019-12-23 22:20:04
问题 I'm having some formatting issues in SSRS with a current report I'm working on concerning property records. My report is built with 6 tablixes aligned in a landscape view meant to remain in a specific layout for potential printing of the report. The first Tablix contains general information about the property in question and the owner. This information will be completely static and should remain the same. The second Tablix is the problem. This Tablix is formatted to pull data from a stored

How to delete old subscriptions

橙三吉。 提交于 2019-12-23 20:48:30
问题 I have subscriptions which are 3 years old. I just want to delete 2 years old unused, Old and Orphan subscriptions. 回答1: The script below shows all subscriptions/schedules/when they were create/when they were last executed (apologies for lack of attribution) you could use it to find where the subscriptions are you want to dump and manually go and remove them using @Kavins directions --SSRS SUbscriptions USE ReportServer SELECT AgentJobName = sysjobs.NAME ,DataDriven = Case when subs