Hi,I am using SSRS 2005. I want to convert decimal numbers to Hours and minutes.Say suppose, I am adding daily work hours and minutes and the total is 208.63.Here 208 hrs and 63 minutes. How to convert this to 209 hrs 03 minutes in SSRS.Any In-built function is there? or how to do using custom code?Appreciate your help.Regards,Bala
↧
How to convert decimal numbers to Hours and minutes
↧
SSRS Javascript to redirect to another report in 2 mins
Hi,Can anyone help me with a JavaScript code that will redirect from the main report to another report url in 2minutes. Then from the other report to the main report in the next 2 mins.Thanks,
↧
↧
SSRS - Data Driven Subscription, Multi-valued parameter, SSAS Data Source
Hi, I am working on setting up data for a subscription table that will feed parameter values to an SSRS report.The report uses a cube data source, and needs to be fed multiple values for a parameter ( For example a YearQuarterName value of '2010Q1', '2010Q2' etc )The parameter appears as a "pick list" when the report is executed without a subscription.Any info on if this is possible?thanksThe Hurricane
↧
Column grouping weird behavior
Hi,I have report with row and column groupings for dataset like below, have CustID, AMT as row groupYYYY, QUARTER as column groupso 777 cust ID does't have entry for 2014/4q and I expect his box be empty but instead it got populated with value for CustID = 1000 for 2014/4 (4000). Don't know what could be wrong. This is old rdl, I took dataset to freshly made rdl and it works as designed, but I still want to make old rdl work, is there any secret property that can be changed.I checked/played with old rdl and match all goupings and still a problem.TxM[code="sql"]SELECT 1000 CustID, 1 QUARTER, 2014 YYYY, 1000 AMT UNIONSELECT 1000 CustID, 4 QUARTER, 2013 YYYY, 1000 AMT UNIONSELECT 1000 CustID, 2 QUARTER, 2014 YYYY, 2000 AMT UNIONSELECT 1000 CustID, 3 QUARTER, 2014 YYYY, 3000 AMT UNIONSELECT 1000 CustID, 4 QUARTER, 2014 YYYY, 4000 AMT UNIONSELECT 777 CustID, 1 QUARTER, 2014 YYYY, 710 AMT UNIONSELECT 777 CustID, 2 QUARTER, 2014 YYYY, 720 AMT UNIONSELECT 777 CustID, 4 QUARTER, 2013 YYYY, 720 AMT UNIONSELECT 777 CustID, 3 QUARTER, 2014 YYYY, 730 AMT [/code]
↧
Where do I add the "Dataset" Name in Expression
Hi, I have following expression in SSRS expression builder for a calculated field within a report. The report has several different datasets. Sum(IIF(Fields!Flag2.Value = "SD" , AVG (Fields!NUM.Value), 0)It errors because it requires a dataset name. Question is, where in the expression do I add "Dataset1"Thanks in advance
↧
↧
Why do available fields have Sum function applied?
Hello,I am working on a report project in Visual Studio 2005. (I'm modifying the form and it has a lot of other data besides mine.) I have created a dataset that performs a selection of rows from a table. In the "data" pane, I can choose the dataset, specify some parameter values and see rows of data.On the "layout" pane I am attempting to put the relevant fields in a tablix. I drop a table on the form. I put a textbox in one of the table's cells. I right-click on the textbox and choose "expression". I chose Datasets. I click on the dataset that I added. However, what is baffling is that the fields on the right all have the "Sum" function applied. (For example, Sum(Field1), Sum(Field2), etc.)I don't want a Sum, I want to place the field by itself in the textbox. When I remove the "Sum" function and save, I get this error: "The expression for the textbox....Report item expressions can only refer to fields within the current data set scope or, if inside an aggregate, the specified data set scope."I assume this error is because I removed the "Sum" function from the field I need, but I don't wish to have a text field summed! Does anyone know why the "Sum" function is applied to these fields in the first place?Thanks,
↧
Keeping the headers in each tab in SSRS 2008
Anyone have a fix for this one?We're trying to run a report and have a page break on the city row when it exports out to Excel.At this point, the page breaks work fine with the export and the data tabs out by each city however, the issue we're running up against is the headers will not go into each tab now.So what's basically happening is, the data exports out into Excel for each city, but the headers are missing for each city.last thing, it's the second row in the tablix that it breaks out to.
↧
subreport's parameter is missing a value
I've been researching this for hours and so far I can't find the answer! :w00t:I am modifying a sub report of an existing report in Visual Studio 2005. I added a report parameter for the sub report. There is already a report parameter in place. It corresponds with an ID field that is used to populate data with the other datasets. The user fills this ID in, the data sets populate and the report should generate.The second parameter I have added has these properties:1. Hidden2. Allow blank value3. Available values: from query. I specified the value and label.4. Default values: NullWhenever I try to preview the report I have the error message: "The <my parameter> is missing a value." The report never shows any data. For the life of my I can't figure out what is causing this error message. I sure wish I had some clue what it is missing. Does anyone have an idea how to resolve this?Thanks,
↧
Stored procedure returns proper results but report preview won't if...
I have a stored procedure that accepts two float parameter values used to filter results. I want to allow the end user to enter the values in either order in case they make a mistake. For example, if they want all the rows that have a score value between 40.0 and 60.0 I want to allow them to select 60.0 as the minimum value and 40.0 as the maximum value (a mistake) and still get the proper results. I check the two parameters and swap them if they're in the wrong order within the stored procedure. This works great if I execute the stored procedure. If I select the wrong-ordered values in the report I don't get any rows back, the same as would happen before I added the code to swap the values.Is there anything I need to do to allow SSRS to work with this? I did run the stored procedure within the Query Designer and it worked fine.Not sure if you need to see this for this problem but here's a snippet. Please let me know if I should provide any other info.[code="other"]ALTER PROCEDURE [dbo].[TestAScoreRange] @MinimumCompositeScore float, @MaximumCompositeScore float ASbegin SET NOCOUNT ONdeclare @Swapem floatif @MinimumCompositeScore > @MaximumCompositeScore select @swapem = @MaximumCompositeScore , @MaximumCompositeScore = @MinimumCompositeScore, @MinimumCompositeScore = @Swapemselect * from ... [/code]Thanks for reading.
↧
↧
Stored Procedure for Data Driven Subscription?
I've found that the T-SQL I want to use for a data driven subscription isn't considered valid by the RS web interface, and so I put it into a stored procedure, and provided an EXEC statement for that sp in that web interfaces query window instead, and it still fails to validate. Is that because an sp doesn't support IDbCommand or IDataReader, which are requirements for an RS dds query?Or am I doing something wrong? HELP !!!Steve(aka smunson):):):)
↧
Credentials are not required error
Hi everyone, Error: The report server has encountered a configuration error. I don't know why getting error, I have created valid windows account and given permissions to access data source as well. I have already setup execution account and restarted report configuration manager couple of times. Please let me know..thanks
↧
Divide By zero error
Hi All,I have this expression :((Fields!Number_of_Instalments.Value - 1)* Fields!Admin_Fee.Value)+ (Fields!Admin_Fee.Value / Fields!Monthly_Payment.Value * Fields!Final_Amount.Value)The issue is that where the monthly Payment is 0, it will result to #error. I want to be able to return zeros for all the monthly payment that is zero instead of #error. Thanks,E.O
↧
No users can Print SSRS reports
They get Error loading resource library. (0x8007007E). deleted rsclientprint*.* from windows/system and windows/ reinstalled to c:\windows\downloaded program files\Still the same error. Even local admin so not rights to c:\windows\downloaded program files\tried manually registering rsclientprint.dll Its SQL 2008, not R2. Any ideas? This seems to be only on users using ie 10 but not 100% on that.
↧
↧
Programming languages for SSRS - Visual Basic/VB necessary ?
I have just started learning SSRS. To create a report, the first exercise tells me to go to Visual studio > Visual Basic > windows forms application. As an aside, I also used C# in SSIS. So, I was wondering if one needs to know VB/C# or bothwell in order to become a serious SSRS developer. Is that correct ? How much is VB used in SSRS, if at all ? Thanks.
↧
Report Builder 3.0 Expression count
I have got a dataset which is pulling monitoring counter values for logical drives, ram and cpu for multiple machines. From this I have created a table which groups the counters by machine and then gives the max, min and average for each counter instance per machine and then highlights any over 80%What I now need to do is perform a count of how many machines have a counter which is over 80% and I am going around in circles trying to figure this out. I need something along the lines of: for each machine (if counter instance has avg value > 80, True) Count true
↧
Copy a list from EXCEL and paste into parameter
Is it possible to use a list from an excel spreadsheet to "paste" into a parameter.
↧
table does not fill with data?
I'm using VS 2005 Report Designer. All I need to do to finish a report is show data (from a stored procedure) in a table on a sub form. However, no data ever shows up, even though it appears in the "Data" pane. Data also appears when I run the procedure in SSMS.I am very familiar with this technology. I have created reports before. I just can't figure out why I can't get this stored procedure to populate detail rows of a table on my sub report.The stored procedure accepts a parameter that comes from another dataset. I have dropped a text box on the report to display the value of the parameter and it appears.In the stored procedure I stuff a debugging table (i.e., create table debug (mystr varchar(255))) with values from data in the stored proc. When I run the report from VS Report Designer this table is being filled with the right data.I drop the table on the sub report. I put in header data. In the detail section I drop one or two fields from the dataset in question. Every time I run the report I see the header data but never the detail data.Jeez Louise, Report Designer sure is difficult to work with. Does anyone have a potential remedy?Thanks,
↧
↧
Cannot see RDLC code tab in SSRS visual studio
I am doing some SSRS examples from a book. The book shows several tabs in visual studio - app.config, report1.rdlc, form1.designer.vb, form1.resx, report1.rdlc[design]But after following all the steps, I only see these tabs - Report1.rdlc[Design], Form1.vb[Design]. Why is this happening and how do I fix it ? This is strange.
↧
SSRS shows wrong form
I am learning SSRS from a book. The book tells me to modify a simple existing report as follows - > Create a new Form (windows forms) and use the RDLC file of the original report.> Use the report wizard to select data source and eventually create your report.When I try to run the modified report, visual studio shows me the old one instead. How do I fix this ?old report - [img]http://social.msdn.microsoft.com/Forums/getfile/440648[/img]The modified report - [img]http://social.msdn.microsoft.com/Forums/getfile/440649[/img]When I rebuild the solution and debug it and try to run modified report, it shows me the old report instead.[img]http://social.msdn.microsoft.com/Forums/getfile/440651[/img]
↧
Aggregate of aggregate
I'm fairly new to SSRS and SQL for that matter but have managed to stumble through and get most of what I need until now. I work for a fire department and have created a report that shows travel times from "enroute" to "on scene". The results are grouped by incident #'s and I have filtered the output by a group filter to show the top 2 max on scene times. The results are correct. I now need to get the max value of the resulting 2 on scene output times.From what I have found I need to use report code to get the aggregate because I cannot get the aggregate of an aggregate but truly have no idea of how to do this. Thanks for any help you may be able to provide.Steve
↧