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

Add horizontal line after each record

$
0
0

I have 10 records seperated by ID. I m using List in SSRS to show data on report. I need to add horizontal line after first record, then after second record till 10 th record. How do we add this line?

Any help much appreciated.


Visual Studio 2013 - SSDT-BI

$
0
0

I have installed SQL Server Data Tools - BI for Visual Studio 2013.  I have Visual Studio 2012 and Visual Studio 2013 installed.

My .rptproj still will not open in VS 2013.  The .rptproj still opens in VS 2012, but now the database components projects do not open.

How do I get this fixed?  I would like to work in VS 2013. 

export vertical view to PDF

$
0
0
Hi, I have a Chart report which is larger than the PDF width, is it possible to make it vertical to fit the PDF size ?

Unable to see the user when trying to add to TFSWarehourseDataReader role

$
0
0

Hello Guys,

I am trying to configure TFS reporting using SQL reporting server with TFS 2013.

Steps done so far:

1. Installed SQL Server 2012 (with reporting and analysis)

2. Installed TFS 2013 Standalone install.

3. In TFS admin console -> configured reporting

4. I have reached to a point where I am trying to grant access to the user as per https://msdn.microsoft.com/en-us/library/vstudio/bb737953.aspx

 I Open the properties page for the TfsWarehouseDataReader role under the Databases/Tfs_Warehouse/Security/Roles/Database Roles folder. But I cannot add the user (mydomain\tfsadmin) as this user is not found when doing a checkname.

Note that: mydomain\tfsadmin is the username which is the local admin on the PC. Also, this user has installed the SQL Server, TFS, and is the admin user for everything else.

What could be the problem?

Below is screen shot that shows I am not able to see the mydomain\tfsadmin user in the browse list.


Below is the screenshot that shows that the user mydomain\tfsadmin is actually a valid user in SQL Server and on the warehouse db too..


How To Display Message in Ssrs

$
0
0

Hai All 

                      I have doubt that is How to display  Message  in  ssrs if Table Doesn't has Record Then I want To Show A Message Like "This Recoed Is Not Valid " ,Please Give Me Solution As Early As Possible. 

Prevent "\n" from being interpreted as line break in tooltip

$
0
0

Hi

In a SSRS 2012 report I got a chart which renders a couple of vertical columns. If you hover over any column a tooltip appears which so far work very well. Now, in the tooltip I would like to display Active Directory account names which should render as"Domain\AccountName".

Basically I got this already but the problem I'm having is that some combinations of "Domain" and "AccountName" result in character combinations such as "\n" when the "Domain" is for example "MyDomain" and the "AccountName" is "nobody", i.e. "MyDomain\nobody".

No matter what I do, the "\n" always gets interpreted as a line break. Instead it should be of course just taken literal by the tooltip. Nothing I tried worked. I tried combining them with Chr(92), putting a " infront of the \, etc.

Is there any way that I can force the expression that results in the tooltip to take special combinations such as "\n" as being literal?

rsReportServerDatabaseUnavailable

$
0
0

Hi,

i try to get the Reporting Services running.

After installing the Reporting Services, created a Database and a Web Service URL with the Reporting Services Configuration Manager i get the following message:

The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable) 

The database was created with the sa SQL User and should be used with the sa SQL User.
The Database is configured for TCP/IP, named pipes and shared memory.

I saw a lot of articles and other posts in this forum about this problem, but there was no solution for me.

Does anyone have an idea what i can check / do?

Thanks a lot!

Windows Server 2008 R2
SQL Server 2008 R2

Error with Shared Dataset's

$
0
0

Hi All,

I've just recently tried to upload a report to my organisations local SharePoint site (2010)...it has reporting servers functionality and works fine otherwise. I have site ownership but have no control over the SharePoint Farm etc.

The trouble i've ran into is that the new report i've created is being pulled from a third party company's own server, with the shared dataset on their reporting server...it works fine when i run it on my computer or on their software system but it needs to be on the SharePoint site as well. For some bizzare reason it's against their policy to connect direcrtly to the database meaning i can't just create a data-source to sort this mess out.

This is the error i'm recieving:

The report server cannot process the report. The reference for the shared dataset 'DischargePerformancefull' is not valid. (rsInvalidDataSetReference) 

I've tried uploading the dataset into the same sharepoint library as the report but it just comes up with XML errors when i try to open it and it won't let me point the dataset to it from the SharePoint options.

Any Ideas?

Thanks in advance!


Plain_Clueless


Formatting

$
0
0

Is it possible to format part of an expression?

I have an expression:

=(Fields!Intervention_Date_Of_Service.Value & vbcrlf  &  Fields!Intervention_Comment.Value &  Fields!Intervention_ID.Value )

I would like my report to display Fields!Intervention_Date_Of_Service.Value underlined

i.e.,

"4/6/2015 12:45:00 PM"

Applied Data Script

ID 76584

I need to add totals from multiple tables each with different datasets into one grand total.

$
0
0

I have 6 tables, each with their own unique dataset.  The tables break down monthly activity in a 90 day history total, subtotaled by month.  I need to add all 6 of those 90 day history totals across all the different tables for a grand total.  How do I do that?  I am using SQL Server Report Builder 2008 R2. 

Table 1 - total 574

Table 2 - total 20

Table 3 - total 2

Table 4 - total 0

Table 5 - total 1

Table 6 - total 0

New Table 7 - showing SUM of above totals 597

Any help would be most appreciated - thank you.

A report that uses tablix returns error when trying to deploy to Report Server 2005

$
0
0

We have some reports that have been built using tablixes, and tested in a 2008 Report Server. When trying to deploy to Report Server 2005 (don't ask why) we get an error saying

The report definition is not valid. Details: The element 'ReportItems' in namespace 'XXXXXX' has invalid child element 'Tablix'

So.. what is the issue? I guess 2005 does not support tablixes.. And we cannot upgrade the server version. So the real question is.. is there a workaround for this to avoid having to remake those reports for 2005??

Thanks!


Juan Pablo Realini .Net Developer in developement, musician, Star Wars fan, married, father of 2 1/2

The Value expression for the text box specifies a scope that is not valid for a nested aggregate.

$
0
0

I'm new with report builder so any help is appreciated.

I'm trying to sum a column in a report. in Most columns I can just wrap the row level expression with "Sum()" and it works. However, I have run into a few that give the following error.

Error:

The Value expression for the text box ‘Textbox241’ specifies a scope that is not valid for a nested aggregate.  The scope must be the same name of the scope specified by the outer aggregate or the name of a group or data region that is contained in the scope specified by the outer aggregate.

Here is my row level expression that works.

=Code.Divide(sum(Fields!WeeklyUnits.Value),sum(Fields!EstUnits.Value))
*
(Code.Divide(sum(Fields!EstHours.Value),sum(Fields!EstHours.Value,"Job")))

Here is my attempt to Sum the row level for the footer area.

=Sum(Code.Divide(sum(Fields!WeeklyUnits.Value),sum(Fields!EstUnits.Value))
*
(Code.Divide(sum(Fields!EstHours.Value),sum(Fields!EstHours.Value,"Job"))))

SSRS Expression help

$
0
0

Hello,

Is there anyway to default to the first day of the month in a SSRS expression.  I'm looking to do the reverse of the EOMONTH() function.

The date value is coming from a parameter @BegDate and formatted YYYY-MM-DD.  So if the parameter is set to 2015-08-31 it would show 2015-08-01

Any information would be greatly appreciated.


x

Grouping by Code

$
0
0

I have created a Table within SQL Server Report Builder, and the first field is a calculated field with the following code:

=Code.ChangeWord(Fields!NAME.Value)

Where the function is

Public Function ChangeWord(ByVal s As String) As String

   Dim strBuilder As New System.Text.StringBuilder(s)

 If s.Contains("ESI  ") Then

      strBuilder.Replace(s,"ESI")

      Return strBuilder.ToString()

      Else : Return s

   End If

End Function


Now, when I execute this, it works beautifully ... except that the Grouping mechanism doesn't group all instances of "ESI" together, like I want it to.

How do I change this behavior so that it groups all instances of "ESI" together, like it should?

Error when trying to view reports or manually processing the TFS data warehouse and analysis services cube

$
0
0

Hello Guys,

I am trying to configure the reporting for TFS using SQL Server. But I get following error when viewing any report:

So I try to manually process the cube to check if it works. I am following this article: https://msdn.microsoft.com/en-us/library/ff400237.aspx

When I click on GetProcessingStatus and invoke it (with last field set as TRUE) I get following error:

Please advice as to how to resolve this issue and be able to see the reports.






Display a Friendly message if sub-report is empty

$
0
0

Hello,

 is there a way to display a friendly message if a sub-report does not have content ex "No additional products available"

Authentication without prompt of form

$
0
0

Hi,

We have a Java web application that calls some Reporting Server reports via URL access. However, each time a user accesses a report the first time in the browser session, they are prompted for user id and password by Reporting Services. This is annoying, as thy already have logged into the application. Is there any way we could configure/implement the setup so that we somehow evaluate the Java session cookie and tell Reporting Services the user is authenticated without prompting?

As this is the Reporting Services forum, I would mainly be interested on the Reporting Services side, but not mind getting a hint how to determine if a Java session cookie refers to a valid Tomcat session or not.

We have IIS already set up as a proxy for the Java application server and Reporting Services, which handles SSL connections with the client browser and passes the request on - depending on the requested URL -  either to the Java application server or the Reporting Services server via Application Request Routing (depending on the URL). Hence if there is a way to do this in IIS, this would be ok. I saw that there is a possibility to implement a custom security extension. But as I understand, this would not resolve the issue, as then an authentication form would still be shown to the user.

We are using Reporting Services 2008R2 SP3 if that matters. The server uses its own users, which are local Windows users of the server, and not technically connected to the domain user names of the users accessing the system in any way.

TIA for any suggestion

Frank

Failure sending mail: The transport failed to connect to the server.

$
0
0

Hi I have created Emailsubscription first time in my production server ,am facing this issue ,subscription were not created ,its shows me the follwing error.We did everything fine.

HI I have Configured Configuration settings properly ,

I have did the sMTP settings correctly,

I have facing this error since a long while.

Failure sending mail: The transport failed to connect to the server.

In my log file  i have found these are the errors and warnings.

1.library!DefaultDomain!3738!04/23/2015-12:28:38:: i INFO: Initializing DisplayErrorLink to 'True'  as specified in Configuration file.
2.library!DefaultDomain!3738!04/23/2015-12:28:38:: w WARN: Initializing UrlRoot to default value of ''  because it was incorrectly specified in Configuration file as ''.

3.notification!WindowsService_2!2898!04/23/2015-12:39:29:: e ERROR: Error occured processing subscription 3efe998d-0c40-460e-bc13-00f6c8d0a7f8: Failure sending mail: The transport failed to connect to the server.

4.emailextension!WindowsService_2!2898!04/23/2015-12:39:29:: e ERROR: Error sending email. System.Runtime.InteropServices.COMException (0x80040213): The transport failed to connect to the server.


5. library!ReportServer_0-4!2368!04/23/2015-12:52:30:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException: , Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException: This operation is not supported on a report server that runs in native mode.;

6.extensionfactory!ReportManager_0-3!1224!04/23/2015-12:52:31:: w WARN: The extension Report Server Email does not have a LocalizedNameAttribute.

7.library!ReportServer_0-2!331c!04/23/2015-12:25:41:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException: , Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException: This operation is not supported on a report server that runs in native mode.;

please go through this errors and give me the right soluction to this..

Awaitng for your reply's


ssrs 2012 setup parameter value

$
0
0

In an existing ssrs 2012 report, I want to basically add the following logic to a new dataset that will be used by a new parameter called 'Inventory'.
SELECT  DISTINCT Inv_number as value,  Inv_name as label
FROM s.dbo.fnUser( @endYear, 0, 0, 0)
WHERE (@report is not null)
order by  label,value

In this ssrs report, there are 15 reports that can automatically be generated. I basically want this new parameter called 'Inventory' to only be active
when the 4th report is selected to be generated. Thus in the query I listed above, how can I change the query to only be active when the 4th report is selected?

I tried to change the where clause to (@report(4) is not null), but that did not work. Thus can you show me the sql I can use to accomplish my goal?

ssrs 2008 r2 using parameter values

$
0
0

In an existing ssrs 2008 r2 report, I have a requirement from a user where they want to add 2 more parameters to the report. Right now there is an option where the user can choice to generate report1, report2, report3, report4, report5, report6, report7, report8, and/or any combination of the reports I just listed.

This is setup by using an expression in the visibility property for each of the 8 tablixes.

For your information, the following is an example of how to display one of the reports or not:
=iif(InStr(join(Parameters!report.Value,","),6)>0,false,true)

Now the user wants to be able to add the parameters of customer and inventory_item based upon if report7 and/or or report8 is selected.

Now can you tell me the following:

1. Would you show me the code I can use in the dataset to select report7 and/or report8?   

 2. If the above is not possible to select specific reports, then would the dataset query need to look something like: where @report is null or where @report is not null? What would you suggest?



Viewing all 10045 articles
Browse latest View live


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