reporting-services

Subscribing to a report with different default parameters

自古美人都是妖i 提交于 2019-12-12 06:13:50
问题 I have created a report in VS2013. I have also created a Stored procedure that returns a dataset that works out Last_week_start, Last_week_finish, Last_month_start, Last_month_finish etc. I have done this so users can subscribe to these reports and get them emailed to them on a Monday for the weekly and on the 1st on the month for the monthly reports. Do I have to create separate reports for the weekly and monthly reports with different default parameters? ie Audit Report (weekly) and Audit

Changes to custom assembly in SSRS are ignored

拜拜、爱过 提交于 2019-12-12 05:54:39
问题 I have custom assembly which serves only 1 purpose - it contains localization strings along with static method to read them. Assembly is successfully installed on server (SSRS's bin folder) and I have created function mapping static method to custom code - it all works. By works, I mean I can use this assembly to read strings, when I create localized version - it switches locale, etc... However if I change or add any text to assembly - deploy it and make sure right DLL file is deployed SSRS

SSRS RB3 X-Axis last 30 minutes plus graphing 0 for gaps

心不动则不痛 提交于 2019-12-12 05:54:13
问题 I'm new to report builder and having trouble overcoming what I hope is a simple problem. We have a sql table holding error codes reported by a web application. These codes are logged along with a timestamp. My goal is to plot the number of errors in a line graph for the previous 30 minutes. I've got it to work using the datetimestamp field for the x-axis, however if no errors are logged for a specific minute, it doesn't show 0. Also if there hasn't been any errors for 20 minutes, the graph

How to select all parameter values in SSRS?

一个人想着一个人 提交于 2019-12-12 05:49:41
问题 I have a parameters @Year and @Month in my report, where month has assigned values like January(label): 1(values), February: 2, ... My datased is feeded by stored procedure which has a filter WHERE (cal.CalendarYear = @Year) AND (cal.MonthId = @Month) When I check 'Allow multiply values' in parameter settings, it returns an error Error converting data type nvarchar into int. How can I select all values (by default)? 回答1: If you don't need to use a Stored Proc you can easily solve the problem.

how to rename SSRS subscription job to a propper name

社会主义新天地 提交于 2019-12-12 05:44:46
问题 I have created some SSRS subscription which is generating as UNIQUE ID(GUID) in msdb.dbo.sysjobs . But now i want to rename these IDs to a proper name which will easy for maintenance. I tried to rename the job name, steps of job and it's working properly. Problem is that, again, this auto job has created (with GUID) for all the subscription. This is the reason, two jobs are firing for same report , one from propername job and one from GUID job. Please see below 回答1: You should not do this.

SSRS Expression-Sum two fields

社会主义新天地 提交于 2019-12-12 05:35:53
问题 I need to sum two fields but I couldn't. Can you help me? =iif(Fields!ABC.Value= "", Nothing, Sum(Fields!PA.Value)) =iif(Fields!XYZ.Value= "", Nothing, Sum(Fields!PA.Value)) It does not work that way: =iif(Fields!ABC.Value= "", Nothing, Sum(Fields!PA.Value)) + iif(Fields!XYZ.Value= "", Nothing, Sum(Fields!PA.Value)) 回答1: To sum them I should think you just want to default to 0 rather than Nothing =iif(Fields!ABC.Value= "", 0, Sum(Fields!PA.Value)) + iif(Fields!XYZ.Value= "", 0, Sum(Fields!PA

SSRS Format calculated timespan in dd:hh:mm:ss

不羁的心 提交于 2019-12-12 05:19:53
问题 I have a report and one of the fields calculates a timespan in an expression e.g =Fields!Date1.Value-Fields!Date2.Value I would like to display in the format dd:hh:mm:ss so days,hours,minutes and seconds. If i just leave the expression it sort of works but i get milliseconds which i don't want and if there are no days then that value disappears. I've seen lots of examples using formatting to get HH:mm:ss but not on how to do the days. 回答1: Try: =Floor(DateDiff("s",Fields!Date1.Value,Fields

Summing Values in filtered rows only

两盒软妹~` 提交于 2019-12-12 05:01:55
问题 I have a Report Builder 3.0 report that uses a group filter tied to a parameter to display data. How do I sum these columns on only the visible rows? I need to sum Fields!PY_Dollars.Value , Fields!CY_Dollars.Value and also calculate py-cy and the % difference between the two In case 2 where PY values are zero or null, I don't need to total the py values or do the comparison rows. I'm hiding those if the Parameters!Store.Value=1 Group Filter[bool expression = TRUE]: =( (Parameters!Store.Value

SSRS using a sessionID

巧了我就是萌 提交于 2019-12-12 04:55:38
问题 Can you use a Stored session variable to call a SSRS For example a $_SESSION['UserId'] To call a SSRS in Aspx ? Thanks for any help you can provide 回答1: https://ssrsphp.codeplex.com/ found my answer here basically calls the report in php which i use a paramater of the session ID to call the report 来源: https://stackoverflow.com/questions/28611201/ssrs-using-a-sessionid

Combining the Information from two datasets in SSRS R2 2008

安稳与你 提交于 2019-12-12 04:47:25
问题 I am fairly new to ssrs r2 2008. What I am trying to do is create a funnel chart which displays the combined revenue information from two tables in different databases but on the same server. Doing my own research, I have found that I could use the lookup function, but I am not sure where I would implement this function. I have done research, but I haven't found any documentation which explicitly explains how and where lookup can be implemented. What I have so far is two datasources which