ssrs-2012

How to distinguish between day and night shifts by looking at past sign in times?

安稳与你 提交于 2019-12-07 18:04:43
问题 Currently, the report uses predefined times. But sometimes employees overstay their shift and they creep into the next shift report. How do I modify the report query to look at the past sign in times to avoid this? In the TIMEATT column 1 is entry and 2 is exit. Light blue highlights the correct entries and yellow signify incorrect entries. Day shift report for 29th has 'Done, Jane's' entry time from night shift Night shift report for 29th has 'Do, Jone's' entry time from day shift Below

SSRS Export to Excel creates additional columns

て烟熏妆下的殇ゞ 提交于 2019-12-07 15:26:00
问题 I have a SSRS report that when I export to Excel, creates unwanted columns when viewed in Excel. What would the best way to go about ensuring no additional columns are created. I have tried setting the location of the table rows to 0in , 0in but that did not resolve the problem. The attached screen shot is what the report looks like in both Visual Studio and Excel. 回答1: There are two ways to approach this: Align everything: You need to align your textboxes with the main tablix to remove the

how to migrate or copy SSRS datasource from one server to another without restoring the report server

半世苍凉 提交于 2019-12-07 13:13:15
问题 I'm trying to migrate SSRS report from SQL 2008r2 to SQL 2014 server. I used reportsync to transfer the report to the server. the reports are successfully transferred but however the roles subscriptions and datasources are not transferred. Is there is any way to copy or migrate the data sources, roles and subscription from one server to another without restoring the report server database?. Thanks. 回答1: I have used these migration tools which doesn't help me much. i found the below link after

SQL - combine consecutive date rows based on column

百般思念 提交于 2019-12-07 13:00:08
问题 Let's say I have the following SQL result BegDate | EndDate | quanitty 1/1/2014 1/31/2014 1 2/1/2014 2/28/2014 1 3/1/2014 3/31/2014 2 4/1/2014 4/30/2014 4 5/1/2014 5/31/2014 4 6/1/2014 6/30/2014 4 7/1/2014 7/31/2014 2 8/1/2014 8/30/2014 2 I need to group all months with the same quantity into one row so the result should be BegDate | EndDate | quanitty 1/1/2014 2/28/2014 1 3/1/2014 3/31/2014 2 4/1/2014 6/30/2014 4 7/1/2014 8/30/2014 2 I've searched around stackoverflow and found similar posts

Running all SSRS reports through one report user ignoring own users domain

拈花ヽ惹草 提交于 2019-12-07 11:36:09
问题 I have the following code which returns the reports from my SSRS server, afterwards I then store the paths to each individual list which allows users to run them from within the application. The below works fine. NetworkCredential serviceCredentials = new NetworkCredential() { UserName = username, SecurePassword = EncryptionManager.DecryptToSecureString(password), Domain = domain }; reports = new ObservableCollection<object>(reportsManager.FindReports(reportsWebService, reportsFolderName,

SSRS error on preview : “The size necessary to buffer the XML content exceeded the buffer quota” hides original error

爱⌒轻易说出口 提交于 2019-12-06 17:48:18
问题 I understand that there is definitely something wrong with my report (e.g. columns missmatcch) and I need to correct it but what I see is the WCF error message that hides actual problem and exactly this hiding irritates me much more than original problem: columns missmatch. I guess we need to adjust the WCF 'buffer size' and we will get original problem message. But where is the config file? Text search of "system.serviceModel" in the C:\Program Files (x86)\Microsoft Visual Studio 10.0 doesn

NotShowing Data-Bound Image (Reporting Services)

岁酱吖の 提交于 2019-12-06 15:58:21
I Create an SendWorkOrder.rdl Report for SSRS. In the dataSet I have a field with Image dataType(Value in that database column eg- 0x89504E470D0A1A0A000000....). Followed msdn article to create data bound image. I Tried following expressions, But Image Not Showing =First(Fields!Signature.Value, "CasingList") =System.Convert.FromBase64String(Mid(System.Convert.ToBase64String(Fields!Signature.Value),105)) =Convert.FromBase64String(First(Fields!Signature.Value, "CasingList")) You are trying to create an image in your report from the database? I assume you have set up an image control as follows

Enable Caching for all reports in SSRS Report Server

陌路散爱 提交于 2019-12-06 13:05:32
I have more than 100 reports in SSRS report server. I need to enable caching for all of those. Right now I am enabling caching through the report manager for each and every report. Can we add caching in any of the report servers config files? So that we can enable caching for all reports at a single place. Any help will be appreciated Thanks AJ Below is the script that I used to enable caching in minutes on a list of reports. Save it as setreportscaching.rss and then run it from the command line: rs.exe -i setreportscaching.rss -e Mgmt2010 -t -s http://mySsrsBox:8080/ReportServer -v

SSRS Line Chart Dynamic Y Axis

ぃ、小莉子 提交于 2019-12-06 06:29:22
问题 I have a line chart where the Y value is set to =CountRows() and I have a Category Group which groups on =CDate(Fields!END_MONTH_NB.Value) I am trying to set the interval of the Y axis dynamically such that fractions do not appear when the range is too small (see below). I tried setting the interval expression to =iif(CountRows() <= 5, 1, "Auto") which works fine if the total number of rows is less than or equal to 5, but what I really need is the maximum that CountRows() will return in the

SSRS Export to Excel creates additional columns

懵懂的女人 提交于 2019-12-06 00:22:30
I have a SSRS report that when I export to Excel, creates unwanted columns when viewed in Excel. What would the best way to go about ensuring no additional columns are created. I have tried setting the location of the table rows to 0in , 0in but that did not resolve the problem. The attached screen shot is what the report looks like in both Visual Studio and Excel. There are two ways to approach this: Align everything: You need to align your textboxes with the main tablix to remove the unwanted columns. So the first expression after the main tablix start, Align left with the Patient Name and