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

SSRS expression issue

$
0
0

Hello All,

I'm having an issue with adding parameters to the report with the below statement. When I add @Start as a parameter in report and set the default value to =DATEADD( "M", -1, DATEADD("QQ", DATEDIFF("QQ", 0, Today()),0)), I get an error saying - An error occured during local report processing. How can I set default value for @End to - DATEADD(day, -1, DATEADD(month, DateDiff(month, 0, @Start) +1, 0))? Thanks

declare @Start as date
declare @End as date
declare @NextStart as date
Declare @NextEnd as date
Set @Start= DATEADD( MM, -1, DATEADD(QQ, DATEDIFF(QQ, 0, GETDATE()),0))
Set @End = DATEADD(day, -1, DATEADD(month, DateDiff(month, 0, @Start) +1, 0))
Set @NextStart = DATEADD(MONTH, 1, @Start)
Set @NextEnd = DATEADD(day, -1, DATEADD(month, DateDiff(month, 0, @Start) +2, 0))

Thanks,

Amol


deploy reports in ssrs which are renamed and avoid multiple copies

$
0
0

Hi, I have renamed few of my reports renamed and checked in. Usually we deploy it from BIDS off of TFS reports solution. We are using SQL Server 2008 R2 version. I tried deploying these reports to DEV & QA environments and report manager has 2 copies of the same report one with the old name & the other with the rename. What would be the approriate way to delete these reports from Production without having to do it manually.

Thanks in advance...........

 


Ione

Subscription email link does not go to the folder from where the report was run

$
0
0

Hello,

In SSRS 2008, the subscription for the report works fine, I did receive the link and the excel file attached in the email. But when I click the link in the email, it does not go to the folder where the report resides. I takes me to the main folder, in my case, the 'Home' folder. But the report is in one of the subfolder. How do I make the link to go to the appropriate folder? Please help.

Thanks,

jkrish

Error:The table 'table1' refers to an invalid DataSetName 'dataList'

$
0
0

I am getting this error The table 'table1' refers to an invalid DataSetName 'dataList' 

I check the data set name and it is spelled correct 

what might be the reason for this error 

To collect small slices into a secondary, callout pie chart in SSRS 2005

$
0
0

Hi Guys, 

There exists a property in pie chart in SSRS-2008 which can consolidate the small slices on pie chart. But I am unable to find the same property in SSRS-2005. 

Is this property only available in SSRS-2008 ? If yes how can we achieve the same functionality in SSRS-2005 Pie Chart ?

Regards

Conditional formatting in SSRS based on presence in list

$
0
0
I'm trying to set a background color for an SSRS field based on the presence of the field's current value in a list containing ~40 items. I'd like to use the syntax =IIF(Fields!Pt_type.Value IN ('Inpatient','Outpatient','ER','OB'), "LightGrey","Transparent"), but that throws an error. The list is much longer, so I'd like to find a clean way to accomplish this.

Unable to show all fields from a table\view within a SSRS Report Model for user selection

$
0
0

I recently added a new view with a simple SELECT (with 3 fields) statement to our existing Report Model DSV. I then went ahead to the report model (.smdl) file proceeded with the auto-generation of the new attributes which of course ran with no issues. I was seeing the three new fields as attributes. But when I went within the existing Perspective to add the newly added fields so that the users see them, one of the field is missing. It is just a VARCHAR field. What would it cause this field to not show up within a Perspective?

Any help is greatly appreciated.Thanks,

Nimesh


NM


Fixed headers while scrolling works fine in bids but not when deployed to reportserver

$
0
0

Hi, I am using SQL Server 2008 R2 & deploying a report to reportserver with fixed headers while scrolling, this works fine in bids but not when deployed to reportserver. We are IE 9.

Thanks in advance...............


Ione


I can't access a report in reporting services in a VM via azure website with reportviewer

$
0
0

Hi. I just create a VM with Reporting services, create a dataset, and a report, but when i try to access that report from my azure website via reportviewer i receive the error "the request failed with http status 401: unauthorized". Somebody with an idea about what is wrong?. I set reportserver URI, report Path, user and password to the reportviewer.

 Thank you in advance.

SSRS Parameter for last business day

$
0
0

I have this parameter that gives me yesterdays date. When i run this on monday i want it to pick friday and not sunday.

How can i do this?

=DateAdd("d",-1,Today())


Systemdeveloper @ 4film

SSRS 2008 Using Stored Procedure with SysRef Cursor Oracle

$
0
0

Hi,

I am new to SSRS.

I have a ssrs procedure which runs to Return Result of Select Query. ( In form of SYS REF Cursor in Oracle ).

When I am trying to see the Value in Test Window. It is showing Output. But when I m Running the Report in the environment it is giving me error.

Please help me if there is a better way of handling it.

As I read in some forum as SSRS has issue handling SYS Ref Cursor...


Thanks
Priyank


Thanks Priyank Piyush

processing of un visible report elements

$
0
0

Hey eb

Visibility of report's table is set by testing some parameter.

Essuming it was set to FALSE does that meen its data set will not be executed

nor processed for display in that table (essuming this data set is used by this table only!)

or these stages will happen regardless but only rendering of that

table will be prevented? Using SSRS2008r2.

TIA

Rea

 

Can strip lines be shown against log scales?

$
0
0

I have a line chart showing data with a strip line to highlight data below a defined limit ( from 0 to 0.05 for example).

Works great.

Creating a copy of this chart and changing the horizontal x axis scale to log 10, the strip lines no longer show.

This article: http://technet.microsoft.com/en-us/library/dd239316(v=sql.110).aspx

suggests that the StripWidth is measured in inches on the report - this is not the case.

SSRS Report Viewer Control Parameter alignment

$
0
0

I am having problem aligning parameters in ssrs report viewer control ,is there any way i can control the display of the parameters in left side alignment or right side alignment. please see the below pic for more details.

I am using vs.net 2012 and sql server 2012 and calling this server report in a asp.net page using report viewer control and report viewer process mode is "Remote"

http://social.msdn.microsoft.com/Forums/getfile/514664


The report cannot be displayed.(rsProcessingAborted)

$
0
0

Hi guys,

Currently I'm facing SSRS problem. When I run the report, it will show like this.

When I see inside the reporting service log, it show this error.

processing!ReportServer_0-1!d18!03/06/2014-15:00:08:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'Adventure_Works_Cycle_MSCRM'. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: Immediate caller NT AUTHORITY\NETWORK SERVICE has insufficient privilege to run report as user S-1-5-21-1311266088-118511792-1381041710-500.
   at Microsoft.Crm.Reporting.DataExtension.Common.ExceptionManager.Assert(Boolean condition, String message)
   at Microsoft.Crm.Reporting.DataExtension.Common.DataExtensionConnectionBase.ValidateCaller(SecurityIdentifier user)
   at Microsoft.Crm.Reporting.DataExtension.Common.DataExtensionConnectionBase.<>c__DisplayClass1.<Open>b__0()
   at Microsoft.Crm.Reporting.DataExtension.Common.ExceptionManager.HandleUnsafeException(Action body)
   at Microsoft.Crm.Reporting.DataExtensionShim.Common.ICrmDbConnectionExtension.Open(String userSid)
   at Microsoft.Crm.Reporting.DataExtensionShim.Common.SrsExtConnectionBase.Open()
   at Microsoft.ReportingServices.Diagnostics.DataExtensionConnectionBase.OpenDataSourceExtensionConnection(IProcessingDataSource dataSourceObj, String connectString, DataSourceInfo dataSourceInfo, String datasetName)
   --- End of inner exception stack trace ---;
Can you guys help me to solve this problem? Already facing this problem for 2 weeks :-(

how should i create a email subscription each of the column in the given report ?

$
0
0

hi guys,

I have  a requirement here ,where i have a column lets consider field value=100 if t he field value is <90 i need to send the report to the concern hr team ,so how should i send the email using the condition.  

Please help me out for this...

Thanks !


Please need help creating report using SSAS as Source

$
0
0

Good Morning,

This is my second time using SSRS to create a report and my first time using SSAS as a source. Is there any good link or documnetation? I created a new report using BIDS on my desktop. How can i deploy it onto my report server? Any ideas? Please need help.

Thank You

Amy

Performance bottleneck with subreports

$
0
0

I have an SSRS performance bottleneck on my production server that we have diagnosed as being related to the use of subreports.

Background facts:

* Our Production and Development servers are identically configured

* We've tried the basic restart/reboot activities, didn't change anything about the performance.

* The Development server was "cloned" from the Production server about a month ago, so all application settings (memory usage, logging, etc.) are identical between the two

* For the bottlenecked report the underlying stored procedure executes in 3 seconds, returning 901 rows, in both environments with the same parameters.  The execution plan is identical between the two servers, and the underlying tables and indexing is identical.  Stats run regularly on both servers.

* In the development environment the report runs in 12 seconds. But on Production the report takes well over a minute to return, ranging from 1:10 up to 1:40.

* If I point the Development SSRS report to the PROD datasource I get a return time of 14 seconds (the additional two seconds due to the transfer of data over the network).

* If I point the Production SSRS report to the DEV datasource I get a return time of well over a minute.

* I have tried deleting the Production report definition and uploading it as new to see if there was a corruption issue, this didn't change the runtimes.

* Out of the hundreds of Production SSRS reports that we have, the only two that exhibit dramatically different performance between Dev and Prod are the ones that contain subreports.

* Queries against the ReportServerTempDB also confirm that these two reports are the major contributors to TempDB utilization.

* We have verified that the ReportServerTempDB is being backed up and shrunk on a regular basis.

These factors tell me that the issue is not with the database or the SQL.  The tests on the Development server also prove that the reports and subreports are not an issue in themselves - it is possible to get acceptable performance from them in the Development environment, or when they are pointed from the Dev reportserver over to the Prod database.

Based on these details, what should we check on our Prod server to resolve the performance issue with subreports on this particular server?

cell data is blank while printing

$
0
0

Hi All,

When i print my report only one is cell data is getting blank. rest everything is fine.

Is there any possibilities to solve the issue.

Using SSRS 2008R2

Report Not opening in report manager

$
0
0

Hi SSRS GURUS

I have created a report and deployed it to the reporting server. I went to the reporting manager and i can see the report under my reports folder. The strange thing is i can see the report when i click  and select the "Edit in the Report Builder" , but when i click on the report to view it i'm getting the below message, any ideas where am messing the report???/

  • An error has occurred during report processing. (rsProcessingAborted)

      • Cannot create a connection to data source 'DataSource1'. (rsErrorOpeningConnection)
        • The connection either timed out or was lost.
          • Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
            • An existing connection was forcibly closed by the remote host
  • Viewing all 28687 articles
    Browse latest View live


    Latest Images