Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all 10045 articles
Browse latest View live

CSV export from SSRS gives a line break if there are two tables

$
0
0

I have a report with two tables. There is no gap between in the reports. The report looks good when I run it, but when I export the report to CSV, there is an extra line between the two tables. Can somebody help me fix this issue.

Thanks in advance.

 

Setting multi-value parameters using ReportExecutionService

$
0
0

Does anyone know how to set multi-value parameters using ReportExecutionService in C#?

 

If I have

 

rsExec =

new ReportExecutionService2005.ReportExecutionService();

.

.

.

ReportExecutionService2005.

ParameterValue[] parameters = new ReportExecutionService2005.ParameterValue[2];

 

parameters[0] =

new ReportExecutionService2005.ParameterValue();

parameters[0].Label =

"Report_Begin_Date";

parameters[0].Name =

"Report_Begin_Date";

parameters[0].Value =

"4/15/2007";

 

parameters[1] = new ReportExecutionService2005.ParameterValue();

parameters[1].Label = "SalesID";

parameters[1].Name = "SalesID";

parameters[1].Value = ???  //Here, this parameter should accept multiple values like 200, 201, 202, etc.

 

rsExec.SetExecutionParameters(parameters, "en-us");

 

How would I set the SalesID to take multiple values?

SSRS 2008 Report Parameter Default Value doesnt work when deployed

$
0
0

Hi,

I have a parameter that chooses its available items from a query (with a label and a value column). I set the default for the parameter to the a particular value.

It works in Preview from design mode, but when I deploy it and run the report, it does not set the default.

Any ideas?

Thanks!


Rick

Missing EnableReportDesignClientDownload option

$
0
0

Hi all,

I did configure SSRS and install Report Builder V3.0 2016.  Also I created a AD group with System User right where users in the group can fire report builder from their workstation.

The user reported that

Could not load folder contrents

You are not allowed to view this folder.  Contact your administrator to obtain the necessary permissions.

Another thing that I found out the EnableReportDesignClientDownload option is missing in the SSRS advance properties.  Please help me.

Thanks.

RDL report image not transparent and taking whole cell

$
0
0

I am trying to create rdl report in which one of cell contain an image. Image is creating issue for me.

Here you can see the tick image disabling gray background style in its cell.


prakash kumar jha

How To set-up an Expression that finds values in a string from a MultiValue Parameter

$
0
0

I am using a mutli-value parameter to make a selection of values then using the following expression to change the font color in the Tablix

=iif( InStr(Join(Parameters!ProjectHighlight.Value," "), fields!ProjectName.Value ) = 1, "Red", "Black")

it works for the first value it finds, but not for the 2nd or beyond.

Any ideas

Regards

Andrew


Andrew Payze

Is SQL 2016 needed for SSRS 2016

$
0
0
Do you need to be running SQL 2016 to use SSRS 2016 and the web portal? ie can the server be 2008R2?

How to set a report to default to print layout Visual Studio 2010

$
0
0
I want the report to open in Print layout by default. How can I achieve this.

Custom message when end user print previews or selects print layout.

$
0
0
My report should be exported to .PDF only and no other format. I want a message to display when the report is rendered to inform the end user the report can be exported to .pdf. How can I achieve this.

making first report.Urgent Help needed

$
0
0

Hi ,

I have dataset:

CompanymonthamntLYAmnt
A120000456213
A232142156489
A32355871215
A4124561346
A51478961248
A6123264121+897
A7154564864
A8NULLNULL
A9NULLNULL
A1012315645484
A111455244
A12NULLNULL
B1161489
B2465456
B313165465
B4456164
B54165421654
B61564616
B7146641252
B816456215
B91564821456
B1015248151564
B11156481646
B12145651564

And want to convert it into:

2015201620152016
CompanyJanjanFebFeb
A2000045621332142156489

 and so on...................

I am totally new to SSRS, and have no idea how to do it.

Can anyone please help me out?

I have done row group for Company but how to get months value in the column?

Need help ASAP.

Report Builder - How do I create a simple table and group by field

$
0
0

I have a user that created a SharePoint list and one of their columns has data similar to;

AB-011-03

AB-016-16

CDE-001-BA

FGHIJ-022-HH

FGHIJ-123-H1

FGHIJ-734-7D

They would like to have a report look similar to this

AB 2

CDE 1

FGHIJ 3

I insert my table, but not sure how I would group by the (AB, CDE, and FGHI)

Unable to bind SSL certificate to SSRS Web Service URL or Report Manager URL

$
0
0

I'm using SQL 2014 SSRS, and trying to bind an SSL certificate to Web Service URL and Report Manager URL.

I'm getting this errors:

Microsoft.ReportingServices.WmiProvider.WMIProviderException: The SSL certificate is not trusted.

 ---> System.Runtime.InteropServices.COMException (0x80040241): TabletPC inking error code. The property was not found, or supported by the recognizer (Exception from HRESULT: 0x80040241)
   --- End of inner exception stack trace ---
   at Microsoft.ReportingServices.WmiProvider.RSWmiAdmin.ThrowOnError(ManagementBaseObject mo)
   at Microsoft.ReportingServices.WmiProvider.RSWmiAdmin.CreateSSLCertificateBinding(String application, String certificateHash, String ipAddress, Int32 port)
   at ReportServicesConfigUI.WMIProvider.RSReportServerAdmin.CreateSSLCertificateBinding(UrlApplication app, String certificateHash, String ipAddress, Int32 port)
The certificate is issued from the local AD domain CA server:

and it shows up in the Personal Certificate Store

Any ideas?


Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________ Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

Deploy SSRS 2016 for Internet Access

$
0
0

Scenario

SSRS 2016 installed and is accessible on the intranet but now the requirement have changed for people to access some of the reports that have been developed via the internet.

How would you enable this functionality?

distinct sum in SSRS

$
0
0

HI Experts,

I have small issue. I want to sum the distinct values in SSRS report.

250

250

130

130

160

160

160

is that possible ?    this is my field =sum(Fields!ExpectedDurationSeconds.Value)

Note: I was creating the report by using MDX. More over these values are coming from the member not from the  measure.

Thanks in advance 


Making a call to the data.

$
0
0
When I run a report does the data source run from the web front end or does it go back to the report server to make the data connection/call. Also can you point me to some reference materials regarding this.

Adding Reporting services on cluster?.What are the steps we can follow?

$
0
0

I have a requirement.Add reporting services to the existing sqlserver installtion which is on cluster(Production).Is there any process we have to follow or directly add the servcies.

 

Thanks,

Ron.

Can't keep column headers visible in IE browser

$
0
0

Hi,

I've been researching this for days and have tried many things to get my tablix column headers to freeze at top of screen when I'm scrolling down in a report IN THE BROWSER.  I am using Report Builder 3.0 on MS Sql Server 2012 to create the report and Internet Explorer 11 on Windows 8 to view the reports.  The things I have tried are both in table and matrix, with a row group and without, with a column group and without, using the tablix property setting to 'keep header visible while scrolling' and also using the method of setting the tablix member properties for the static rows using tablix properties 'advance mode', clicking on static member and setting FixedDate = True, KeepWithGroup = After and RepeatOnNewPage = True and then also setting the background color of row to White. 

In these tries I can always get what I need to work and show up in the Report Builder 'Preview' mode, but it never works in the browser when just running the report directly.  I have tried everything I can find in the forums but still the only thing that ever happens in the browser is that the whole page just scrolls down and nothing stays frozen on top of screen (not even the report header stays let alone my matrix column headers).  I can't find anything that addresses when it works in Preview mode but doesn't work in Internet Explorer.  Is there a setting somewhere in the setup of reporting services that I'm missing maybe?  Or something specific to the browser that I need to do? 

Any help at all would be appreciated.  I'm desperate.  If I can't get this to work for all our reports, the users aren't going to stick with these. 



ssrs using filter and visibility properties

$
0
0
I am thinking of having 3 separate rectangles and embedding those 3 rectangles into one overall rectangle.
I am going to setup these rectanngles so page breaks will occur between each letter that is stored in a rectangle.
Each rectangle will know which letter of 3 letters  it to use. (Each letter is represented by '<p>test1</p> I am using this has a placeholder for a letter that is sent to a customer. I am trying to simplify what I am planning to do.)
All the data is stored in a varchar(max) field in a column called stringtemplate.
The following is a simplified version of what the data would look like:
<p>test1</p>
<p style="page-break-after:always;"></p>
<p>test2</p>
<p style="page-break-after:always;"></p>
<p>test3</p>
<p style="page-break-after:always;"></p>
in the stringtemplate field.
Thus I have the following questions:
1. How would rectangle1 know how to look for <p>test1</p> ?
2. How would rectangle2 know how to look for <p>test2</p> ?
3. How would rectangle3 know how to look for <p>test3</p> ?
5. For each rectangle to pick only the parts of the field that it needs, would I use the filter option on a rectangle? Would the
condtional look something like =MID(MID(Fields!txt2.Value, INSTR(Fields!txt2.Value, "|") + 1, LEN(Fields!txt2.Value) ), 1, INSTR(MID(Fields!txt2.Value, INSTR(Fields!txt2.Value, "|") + 1, LEN(Fields!txt2.Value) ), "|") - 1) ? Would you show an example of the conditional that needs to be used?
6. The visibility of the textbox should probably use the same logic that the filter uses? What would you recommend?


ssrs 2008 -Multiple Row Grouping Elements

$
0
0

In an existing ssrs 2008 report , I will like to create multiple groupings within the report so the report will print on different pages. The multiple groupings would come from 1 (one)  column that is contained within a sql server database where the field is defined as varchar(max).

I would like the groupings to be based upon specific literals.

The general page break information is obtained from the following location:

https://msdn.microsoft.com/en-us/library/dd207058(v=sql.105).aspx .

However I do not know how to create multiple groupings based on different parts of the same sql server 2012 column containing different literals.

In the example I am showing you, I would like to create a page break where the literal <html> is located. The literal could be anything.

I am just using the literal  <html> so you can show me and/or point me to links that will tell me how to accomplish my goal of page breaks?

<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&amp;CUR_DATE.EVAL</p><p>&nbsp;</p><p>&nbsp;</p><p>To the &amp;PAR_NAME.EVAL of &amp;STU_FNAME.EVAL &amp;STU_LNAME.EVAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;PERMNUM</p><p>&amp;PAR_ADDR.EVAL<br />&amp;PAR_CITY.EVAL, &amp;PAR_STATE.EVAL &amp;PAR_ZIP.EVAL</p><p>&nbsp;</p><p>&nbsp;Dear &amp;PAR_NAME.EVAL and &amp;STU_FNAME.EVAL &amp;STU_LNAME.EVAL:</p><p>&nbsp;This letter is to inform you that &amp;STU_FNAME.EVAL has the equivalent of 5 or more unexcused absences this school year.&nbsp; We believe student attendance in school is a key component to school success, so it is very important for all children to develop habits of good attendance. Poor attendance contributes to failing grades, decreased learning opportunities, lower academic achievement and may limit your child's opportunities to be involved with school activities.</p><p>&nbsp;</p><p>(Option 1)</p><p>Please call me at PHONE NUMBER to discuss these absences. During this phone conference we will address concerns and issues that may be contributing to the absences, and develop a collaborative plan to try to improve attendance. </p><p>&nbsp;</p><p>(Option 2)</p><p>I have scheduled an attendance review on DATE at TIME.&nbsp; We will meet at PLACE located at ADDRESS. Please check in at the main office upon your arrival.&nbsp; During this meeting we will address concerns and issues that may be contributing to the absences, and develop a collaborative plan to try to improve attendance.&nbsp; The student and parent should attend this review. If you cannot attend this meeting please contact me at PHONE #. </p><p>&nbsp;</p><p>&nbsp;</p><p>We are notifying you so that together we can address all issues that may be contributing to these absences. Communication between the home and school is very important and we request that parents call the school each and every day that a student is going to be absent. Let us work as partners to make your child successful in school.</p><p>&nbsp;Sincerely,</p><p>&nbsp;&amp;SPA_NAME.EVAL</p><p>School Support Liaison/ Attendance Designee</p><p>&amp;SCHOOLNAME.EVAL</p><html><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&amp;CUR_DATE.EVAL</p><p>&nbsp;</p><p>&nbsp;</p><p>To the &amp;PAR_NAME.EVAL of &amp;STU_FNAME.EVAL &amp;STU_LNAME.EVAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;PERMNUM</p><p>&amp;PAR_ADDR.EVAL<br />&amp;PAR_CITY.EVAL, &amp;PAR_STATE.EVAL &amp;PAR_ZIP.EVAL</p><p>&nbsp;</p><p>&nbsp;Dear &amp;PAR_NAME.EVAL and &amp;STU_FNAME.EVAL &amp;STU_LNAME.EVAL:</p><p>&nbsp;This letter is to inform you that &amp;STU_FNAME.EVAL has the equivalent of 5 or more unexcused absences this school year.&nbsp; We believe student attendance in school is a key component to school success, so it is very important for all children to develop habits of good attendance. Poor attendance contributes to failing grades, decreased learning opportunities, lower academic achievement and may limit your child's opportunities to be involved with school activities.</p><p>&nbsp;</p><p>(Option 1)</p><p>Please call me at PHONE NUMBER to discuss these absences. During this phone conference we will address concerns and issues that may be contributing to the absences, and develop a collaborative plan to try to improve attendance. </p><p>&nbsp;</p><p>(Option 2)</p><p>I have scheduled an attendance review on DATE at TIME.&nbsp; We will meet at PLACE located at ADDRESS. Please check in at the main office upon your arrival.&nbsp; During this meeting we will address concerns and issues that may be contributing to the absences, and develop a collaborative plan to try to improve attendance.&nbsp; The student and parent should attend this review. If you cannot attend this meeting please contact me at PHONE #. </p><p>&nbsp;</p><p>&nbsp;</p><p>We are notifying you so that together we can address all issues that may be contributing to these absences. Communication between the home and school is very important and we request that parents call the school each and every day that a student is going to be absent. Let us work as partners to make your child successful in school.</p><p>&nbsp;Sincerely,</p><p>&nbsp;&amp;SPA_NAME.EVAL</p><p>School Support Liaison/ Attendance Designee</p><p>&amp;SCHOOLNAME.EVAL</p></html>



Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index SSRS 2008 R2 error in sharepoint 2010

$
0
0

Hi,

I have a drill down report with 9 parameters which has Expand All/Collapse All as one of its parameter. On the initial rendering of the report,  I have a default selection of Expand All for the parameter which will expand the data for all the grouped rows . If I select Collapse All, the report collapses all the data and I can toggle the data manually. We have a sharepoint environment to display the reports for the users. 

This report is working fine in BIDS, Report Builder 3.0 and Sharepoint test environment. This report is working fine in the production Sharepoint environment when "Expand All" is selected from the Expand All/Collapse All parameter. We are getting the following error only in the production sharepoint environment when we select "Collapse All" from the parameter list or try to toggle on any of the grouped data in the rows.

Error: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

I checked the report from production environment in report builder and it is working fine with the same selection without throwing any error. Do we need to change any settings on the production sharepoint environment or can  I fix the issue by making changes to the RDL file?

I referred to many forums but could not find a solution to solve this problem. If anyone could please help me with this issue that would be really great and appreciated.

Thanks,

Rajesh.


Viewing all 10045 articles
Browse latest View live