ssrs-2008

How to display a time span of seconds in hh:mm:ss format in Reporting Services

北城余情 提交于 2020-01-10 14:10:11
问题 In MS Reporting Services 2008, I have a field that is a duration stored as seconds. Is there a slick way to get it into hh:mm:ss format in a group section of the report? 回答1: If you just want to display it, convert in an expression for the Value of the textbox: =Format(DateAdd("s", Fields!MySecondsField.Value, "00:00:00"), "HH:mm:ss") If you want to do calculations on it, convert the seconds to a DateTime in your dataset. Using SQL: SELECT DATEADD(ss, MySecondsField, '1900-01-01') AS

ssrs report columns not aligning with headers

谁说我不能喝 提交于 2020-01-10 05:55:09
问题 My ssrs report headers are not aligning with the columns when I scroll. Below is the report, as it misaligned when I scroll right, I've tried placing it in a rectangle but that didn't work too. I'm trying to freeze the first two columns and want to have the rest scroll through as I scroll right. 回答1: If you want the header visible while scrolling, you need to go to tablix properties > General and check the option Keep header visible while scrolling . Then go to column/row groups in the

Handling non existent values in sql query expression for ssrs chart

旧城冷巷雨未停 提交于 2020-01-10 04:47:26
问题 I am using the following query in an ssrs line chart. It counts how many orders are recorded each month based on each order date. My problem is that when a month has no orders, rather than saying zero or null it removes the row for that month all together. I would prefer for it to count it as zero but null would be ok too. Basically, I want to always have twelve rows whether they contain information or not. How can I fix this? Is there an expression I can use or something? Or am I missing

DynamicHeight pie chart underlapping other objects in the same rectangle in reporting services 2008

拈花ヽ惹草 提交于 2020-01-07 09:06:32
问题 I have a pie chart in SSRS 2008 which when it reaches a certain size is underlapping objects which appear below, but still inside the same rectangle; the height of the pie chart is calculated using the DynamicHeight property of the chart Apparantly: Using Rectangles to Control Item Growth and Displacement Items within a rectangle become peers of each other and are governed by the rules of how peer items are positioned on the page as they move or grow. For example: • Items will push or

Summing lookups in SSRS

给你一囗甜甜゛ 提交于 2020-01-06 17:58:07
问题 I have an SSRS tablix that pulls data from several datasets resembling the following (changed to avoid explaining the exact context) : There is an employees dataset that gives the employee ID, the employee ID of their manager and the number of tasks they have completed e.g. Manager Employee Tasks DATA003 DATA001 118 DATA003 DATA002 42 DATA003 DATA003 94 DATA003 DATA004 118 From another database there is a dataset that gives the number of complaints against each employee, and the number that

SQL Server ReportServer Service keeps asking for credentials in browser

孤街醉人 提交于 2020-01-06 14:49:10
问题 Using MS SQL 2018R2 Report Server Service the following URL's keep prompting for credentials: http://ServerName/Reports http://ServerName/Reportserver Even after multiple attempts to enter user and password it still keeps asking for credentials, showing no index page for the reports. I am sure the credentials are correct. Only by using the browser the problem appears. It is not browser specific however. It used to function for years, but all of a sudden it stopped working. We have not made

Query pulling 12-15 GB data From more than 120 tables

半腔热情 提交于 2020-01-06 05:40:20
问题 I have a query which is pulling data from almost 125 different tables, I have created some 13 nested Stored Procedures calling other stored procedures to pull all the required data. Surprise Surprise Surprise The query takes ages to execute and sometimes I have to kill he connection and rerun it. I have been advised to make use of staging table, Move required data there using SSIS packages and pull data from there, but I am a bit reluctant to use SSIS as Im not very comfortable with SSIS and

SSRS Exported PDF and TIF report render differently than in the report viewer

筅森魡賤 提交于 2020-01-06 04:47:20
问题 I'm seeing basically the same issue described here I have a table that starts in the middle of the first page, and, depending on the size of the table, it should wrap onto the next page. This behaves fine when using the viewer, but when exporting to a pdf or tif image, things are displayed differently. Instead of starting on the first page and wrapping onto the second, it moves the entire table to start on the second page, leaving lots of ugly white-space on the first page. I've made sure

How to Display a Pie Chart in a table with the value of 2 columns in SRSS 2008

梦想的初衷 提交于 2020-01-05 15:17:18
问题 First, sorry for the title, but I couldn't think of a better one. This is what I want to do. I have a Tablix in SRSS 2008. The rows are employees. In it I have 2 columns: TalkTime HoldTime Which are integers, and the value is in seconds. I want to add a column in the Tablix with a Pie Chart (yes, little) in order to graphically show the proportion of TalkTime vs. HoldTime. I don't want any titles, legends, etc., but just a quick visual: if the talk time was 750 seconds and the hold time was

SSRS Switch function to fill background colour

牧云@^-^@ 提交于 2020-01-05 12:10:13
问题 I need to use the SSRS Switch function to fill background colour =switch(Fields!Ref_No.Value="AAA","Green",Fields!Ref_No.Value= not like "AAA","RED" How do I say if first 3 letters not like AAA then fill background Red ? 回答1: Just use Left and <> : =Switch(Fields!Ref_No.Value="AAA", "Green" , Left(Fields!Ref_No.Value, 3) <> "AAA", "Red") Left makes sure you're considering the first three characters only as per your requirement. 来源: https://stackoverflow.com/questions/19350144/ssrs-switch