Quantcast
Channel: SQL Server Reporting Services
Viewing all 1418 articles
Browse latest View live

RDLC how to?

$
0
0

Hello all,

I am totally new to RDLC and reporting in general. In reading some articles about this topic, I came to get some interest on it and decided to give a shot on a side project that I have been working on it for learning purposes. However, I would like to have some guidance from the experts on this forum. Please find below, some of the things I would like to get accomplished on this report.

1)- I have a DB with a few tables and Stored Procedures that gets data from the user on a Gridview (it can also be edited and deleted from there and it works just fine). This DB collects fields such as Date, Supplier, Activities, etc.

2)- To generate the report I am using a Date Range (From/To) and based on the user input, the first column that I would like to show is the Month/Year(Jul-2015).  On the second column I'd like to display the WEEKS of the Month selected starting on MONDAY (Week Of 07/06, 07/13, 07/20 and 07/27). Then, finally I would like to display the data from the other fields (Suppliers, Orders, Activities, etc.) based on the dates on the Gridview and GROUPED by that WEEK and show on the same ROW and then do the same if User selects more than 1 Month on his/her selection.

I know I would probably have to set some Parameters and different Stored Procedures but I don't have a clue on how to start. 

Can I do it from Code behind? Is it possible to do from the DataSet/Parameters Wizard?

I appreciate the tips that you may eventually have and will take every input in consideration.

Thanks,

Leo 


Calc percent gives #Error

$
0
0

We have an SSRS report with totals comparing current month to prior month and showing a percentage (+ or -) of change from prior month.  It is occurring in the total rows summarizing group and grand totals.  I have tried both of the expressions below and both give #Error when the prior month is zero. It works perfect if totals are > 0 or < 0 but not zero.

=IIf(ReportItems!Textbox145.Value <> 0,((ReportItems!Textbox142.Value - ReportItems!Textbox145.Value) / ReportItems!Textbox145.Value),1)

=IIf(Sum(Fields!PriorAmount.Value) <> 0,((Sum(Fields!CurrentAmount.Value) - Sum(Fields!PriorAmount.Value)) / Sum(Fields!PriorAmount.Value)),1)

Textbox 145 is the prior total and Textbox142 is the current total.

ReportViewer or SQL Server Reporting Services or both?

$
0
0

Hi, I am just a bit confused. Now I am reaching Report Module. Do I need just reportviewer control (from toolbox) or SQL Server Reporting Services or both?

Can I create both using Visual Studio Express 2013?

show all months of a year and group by in the same time !!

$
0
0

i have   a report that i should show dates in a table grouped by Year as parent group and then by month name as a child group

as shown in this screenshot :

i want to show months that are not shown between the arrows !!

how can i show all months from the min date till the end date 

for ex: if the min date 12/5/2015 and the max 5/10/2015 

how can i show in the parent child group 5|6|7|8|9|10 respectively even if there is no dates in any month

any help would be appreciated 

thanks

change data label position in bar chart!!

$
0
0

how to change these label positions to the arrows indicated positions ,Top left ,Bottom left in ssrs stacked bar chart 

note that i tried this attribute in the chart properties but wasn't useful 

any help would be appreciated . Thanks.

Duplicate records in MSAS Cube when using diamension DimDate calender year

$
0
0

Dear all

  I have created a cube which consist of a Dim Date dimension , which is  related to the measure table using  transaction date(transaction table)  and Full date alternate key(Dim time table).While browse the cube if i use the calendar year the records are getting duplicated.For example i am having data for only 2015 year but the records are repeated for all the years i am having in dim date table. do i missing any thing ? any help appreciated. 

cube

how to put modifiedby User column values from Multiple rows for the same Id in comman separated in SSRS Report

$
0
0

Hi Team,

How to put Modifiedby User columns values from multiple rows for the sameid in comma separated in SSRS Report.

For example in the below table we have requestid 501 had been modified by many users... We want to generate report like below in SSRS

RequestID : 501

Request Name : OS Installation

Initial Request By :User1

RequestModifiedBy : User2,User3,User4

ProjectID:1

how to do this...Please help... Like RequestModifiedBy we have many columns...

CREATE TABLE [dbo].[RequestDetail](
[ID] [int] IDENTITY(1,1) NOT NULL,
[RequestID] [int] NOT NULL,
[RequestName] [varchar](50) NOT NULL,
[RequestedBy] [varchar](50) NOT NULL,
[RequestModifiedBy] [varchar](50) NOT NULL,
[ProjectId] [int] NOT NULL,
)

GO

SET IDENTITY_INSERT [dbo].[RequestDetail] ON

GO
INSERT [dbo].[RequestDetail] ([ID], [RequestID], [RequestName], [RequestedBy], [RequestModifiedBy], [ProjectId]) VALUES (1, 501, N'OS Installation', N'User1', N'User2', 1)
GO
INSERT [dbo].[RequestDetail] ([ID], [RequestID], [RequestName], [RequestedBy], [RequestModifiedBy], [ProjectId]) VALUES (2, 501, N'OS Installation', N'User1', N'User3', 1)
GO
INSERT [dbo].[RequestDetail] ([ID], [RequestID], [RequestName], [RequestedBy], [RequestModifiedBy], [ProjectId]) VALUES (3, 501, N'OS Installation', N'User1', N'User4', 1)
GO
INSERT [dbo].[RequestDetail] ([ID], [RequestID], [RequestName], [RequestedBy], [RequestModifiedBy], [ProjectId]) VALUES (4, 502, N'Driver Installation', N'User5', N'User74', 3)
GO
INSERT [dbo].[RequestDetail] ([ID], [RequestID], [RequestName], [RequestedBy], [RequestModifiedBy], [ProjectId]) VALUES (5, 502, N'Driver Installation', N'User5', N'User81', 3)
GO
INSERT [dbo].[RequestDetail] ([ID], [RequestID], [RequestName], [RequestedBy], [RequestModifiedBy], [ProjectId]) VALUES (6, 502, N'Driver Installation', N'User5', N'User90', 3)
GO
SET IDENTITY_INSERT [dbo].[RequestDetail] OFF
GO

how to download the SSRS report as PDF file without rendering the report in ASP.NET

$
0
0

Hi Team,

We have a requirement that there is a hyperlink in a page when the user click on that we want the fetch data from the database using stored procedure  and it should be bind inthe SSRS report  and it should show the file download at the bottom of the page without showing the report. Please help me how to do that...


how to put values from child tables in comma separated based on value in Parent table in SSRS report in ASP.NET

$
0
0

Hi Team,

We have scenario something like this explained below..

Lets say we have two stored procedure  (see the complete script below)

1) GetRequest

2)GetRequestHistory

We created a dataset with 2 table  for each procedure.We are not allowed to change the procedure.

With the above objects we need to created a SSRS report like below

                                                  Request details of 1

                                                 OS Installationon <Report GeneratedDate)

                      Report Id : 1

                      RequestName : OS Installation

                      Request by : User1

                      Report History : Open (2015-06-23 22:20:52.750) , InProgress (2015-07-23 22:20:52.750) , Closed (2015-08-20 22:25:52.147)

how to do this...Here the procedure GetRequestHistory  returns the history of the details of the procedure GetRequest.

In the ReportHistory in the report we want the details of the history in comma separated..

We are not allowed to change the procedure. We are working in ASP.NET we are using reportView to host the report.We will pass the RequestID as  parameter in query string.

CREATE TABLE [dbo].[tblRequest](
[RequestID] [int] IDENTITY(1,1) NOT NULL,
[RequestName] [varchar](500) NOT NULL,
[RequestBy] [varchar](500) NOT NULL,
)
GO
CREATE TABLE [dbo].[tblRequestHistory](
[HistoryID] [int] IDENTITY(1,1) NOT NULL,
[RequestID] [int] NULL,
[Status] [varchar](50) NOT NULL,
[ModifiedDate] [datetime] NULL CONSTRAINT [DF_tblRequestHistory_ModifiedDate] DEFAULT (getdate())
)
GO
ALTER TABLE [dbo].[tblRequestHistory] WITH CHECK ADD CONSTRAINT [FK_tblEntity_tblCase] FOREIGN KEY([RequestID])
REFERENCES [dbo].[tblRequest] ([RequestID])
GO
ALTER TABLE [dbo].[tblRequestHistory] CHECK CONSTRAINT [FK_tblEntity_tblCase]
GO
CREATE PROC [dbo].[GetRequest]
@RequestId INT
AS
SELECT * FROM [dbo].[tblRequest] WHERE RequestID=@RequestId
GO
CREATE PROC [dbo].[GetRequestHistory]
@RequestId INT
AS
SELECT * FROM tblRequestHistory WHERE RequestID=@RequestId
GO

How can we hide rdlc header in subreport ??

$
0
0

I have situation in which i have a different header in both .. Please help me .

External Dataset rdlc report and pdf -vb.net

$
0
0

Hi,

I need to create a report in SSRS 2015 but I need to bind that report to an external dataset and not to the reports internal datasource.

I can't find examples for this.

I need it to work with parameters also and stored procedure.

Another issue is that the report is standalone -rdlc.

Can I call the report from a webservice .asmx not wcf and render it automatically in pdf format?

Can anyone please provide me with examples?

Thanks

Create report object in .asmx

$
0
0

Hi,

Is it possible to call a report from .asmx and create a pdf file automatically?

I managed to do it in a normal web form but my boss wants to do it from .asmx.

In the web form I added a reportviewer but not sure how to do it from webservice.

Thanks

Tablix not showing on every page

$
0
0

Hello All,

I have a tablix on my RDLC report that I use as Header for the Report (although is not in the header since it does not allow a tablix to be added in there). Right underneath this tablix I have another one that actually displays the data pulled from SQL aligned with the one that I want to display in every page. I have set the properties on the Row Group, RepeatOnNewPage = True and KeepWithGroup = After as explained here: https://technet.microsoft.com/en-us/library/cc627566(v=sql.100).aspx

However, when I run the report, it only shows on the first page, I have tried to create a new tablix from scratch and still did not work. The tablix with the data displays on the other pages just fine, only the "Header" does not.

Any solution for this problem?

Thanks,

Leo

accessing report server problems in vb.net web form application

$
0
0

I think my problem is related to the web.config file not pointing to all the report server values correctly.

Here is my problem

When I execute an ssrs 2012 report in visual studio for a vb.net 2010 web form app that is embedded in the web app in a report viewer control on my workstation and on a test report server, the parameter value is loaded correctly for the report. When I run the stored procedure in sql server management studio pointing to the prod databases that loads the values to the parameters in the ssrs reports, the sql runs fine. 

When I run the ssrs 2012 report on the production report server pointing to the production database, the parameter dropdownlist is sometimes populated and other times it is not populated. When I run the ssrs 2012 report with the same parameters, I can tell consistently when the parameter dropdown list will have values and when it will not have values.

Thus can you tell me what I need to look at on the production report server, to see why the parameter value is populated in some cases and not in other cases?

In addition, can you tell me and/or point me to a reference that I can use to see what the report server config file values should be in the config file? Something that will explain what the config file values should be.

Tabbed report in SSRS 2008

$
0
0

hi All,

I have requirement like horizontal tabbed menu type means

County     state    Zip

just think above 3 fields are tabs.

When i click on County i want to get County details in tablix.

When i click on State i want to get State details in tablix.

When i click on Zip i want to get Zip details in tablix.

all this action should happen in one RDL file.

thanks

venu

 

 


ssrs 2012 bar chart -bar spacing and horizontal axis labels

$
0
0

Hi,

How do I space the bars in the bar chart? I set PointWidth=0.5 but it doesn't space.

In addition how do I change the labels in the horizontal axis to display the name of the fields? My bar consists of 3 different fields.

Also, I don't want it to display the labels next to each bar and not like it does now with the strange lines and label under each other.

example of my bar chart

bar chart

http://postimg.org/image/o1eg9trrj/c2ebb8f8/

Tablix within tablix and different datasets

$
0
0
Hi

Can we have a main table without a dataset and inside the table different tables each with their own dataset?

Page footer page number doesn't display at bottom of pdf pages

$
0
0

Hi,

I have a page footer with page numbers. The page numbers display correctly but not at the bottom of the page. I need it to be right at the bottom. Instead it shows white space between the page numbers and bottom of page.

Link to image

 http://s28.postimg.org/91s62p8h9/goodchart.png

Help on report layout

$
0
0

Hi,

I have an requirement to create a report with the following layout in excel. Any help is appreciated.

Last   Name First Name AddressLicense type NumberNPI
Test LN1Test FN2TestAdd1
LN1Type1
LN2Type2
No1
No2
111111
22222
Test LN2Test FN2TestAdd2 
LN3Type3
LN4Type4
No3
No4
33333
444444

internal parameter ssrs 2012

$
0
0

Hi,

I need to show a data field in the header that is from one of my Datasets. However, this can't be done directly. I read that the best option is to create an internal parameter.

How can i create this in ssrs 2012? Can't find any option to set the parameter as internal.

Thanks

Viewing all 1418 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>