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

SSRS WEB PORTAL

$
0
0

Hello ,

I have recently created reports using SSRS. I have configured my my web portal and I am able to access the reports using it. However, I now want to access same reports in the web portal using the url in a different computer.. How I go about this? I have recently read about groups and all that , but I am totally lost. Any help please!

Thanks.


Parameters won't change after Go to report action with parms passed

$
0
0

I have a report which we have been using for years.  Recently we received a request to add expand and collapse all functionality.  I found several examples and was able to get this to work however this feature breaks the report.  I can't select other search criteria from the drop down parameters at the top of the report.  The parameters keep resetting to the values passed from the Go to report action as soon as I attempt to change the value.  Any advice on how to fix this?

Thanks!

Happy Monday

SSRS export report to pdf creates thousands of pages

$
0
0

Hi all,  Thanks for the support.

I have a report that is made of many subreports.  When I preview the report, it looks fine. 70 pages of perfect pages.  When it finally converts the report to a PDF, it seems to be changing the page height to 1 inch...I get over 3000 pages.  It "prints" the header and footer and one sliver of each page.

Is there a parameter that needs to be set?  I'm new to SSRS.  Any help would be appreciated!

Waking UP SSRS 2016 worse than ever

$
0
0

I have a small report in SSRS 2016 that retrieves Applied Payment Information from DynamicsGP by Voucher, and it parameterized.   I am attempting to embed this report with parameters into another application so that users in the other browser-based application can view payment information on vouchers that originate in that application and are integrated into GP.

The technical implementation works in general.  However, this type of information, while important, will be used randomly and sometimes the report may only run once a day, or not at all.  The requirements are driven by Vendor inquiries to the local AP staff.

I have found horrendous performance on start up.  I have tried every trick in the book with regard to running the report on schedule, waking up SSRS by browsing to the site, cycling the app pools, launching IE with a script, etc. and NOTHING makes the report wake up well.

I have found that if I browse to the report and run it with parameters for the first time in the morning using Report Manager, the initial performance is as horrendous as when it is embedded

If I run it once during the day through Report Manager and then use it inside the embedded application, the performance consistently stays good throughout the day, no matter how long I wait after the initial run.  It just seems that no matter what I do, it will have to be run once before it performs well.

This is not a complex report or query, it just seems like Reporting Services struggles to load all the objects the first time and I am at a loss as to how to correct it permanently so that the performance of this report is acceptable under the parameters I described where it is run sparingly at times.

I know this is a common problem with SSRS through the years, but the performance of the SQL 2016 SSRS seems to be worse than ever.  I have patched the SSRS installation with the latest version of SQL 2016.

What else can I do to get this to perform with a reasonable amount of responsiveness?

 

DWM

Accessing temp table across servers

$
0
0

I have stored proc - [Server1].[SourceDB].[ReportingProc] which is used to display the data on the report

1. This procedure creates the local temp table #temp1

2. Selects some data into temp table

3. Calls the procedure of different database [Server1].[DestinationDB].SomeProcedure

4. [Server1].[DestinationDB].SomeProcedure accesses the #temp1 table created by [Server1].[SourceDB].[ReportingProc]

5. After [Server1].[DestinationDB].SomeProcedure finishes its execution, it return to [Server1].[SourceDB].[ReportingProc] and finishes executing the remainder of procedure  

5. This is working as [SourceDb] and [DestinationDB] are in the same sql server instance.

Now we are moving [SourceDB] and [DestinationDB] to different instances of physical servers [Server1].[SourceDB] and [Server2].[DestinationDB]

How can we achieve the same functionality without using linked server option.

Any help would be appreciated.

SSRS 2017 Errors on exporting to Excel or Word .xlsx, .docx

$
0
0

I cannot export in SSRS 2017 to EXCEL or WORD 2013 versions, EXCELOPENXML or WORDOPENXML.  2003 versions work fine in the environment when turned on.  This also happens in SSRS Report Builder.  There is something fundamentally wrong in the rendering.  The following are the types of errors I am seeing:

An Error occurred during rendering of the report.  (rrRenderingErrorr). In report builder

In SSRS:

library!ReportServer_0-2!1a5c!07/24/2019-14:50:26:: e ERROR: Report server dump occured. Exception: Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> System.TypeInitializationException: The type initializer for 'MS.Utility.EventTrace' threw an exception. ---> System.Security.SecurityException: Requested registry access is not allowed.
   at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
   at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
   at Microsoft.Win32.Registry.GetValue(String keyName, String valueName, Object defaultValue)
   at MS.Utility.EventTrace.IsClassicETWRegistryEnabled()
   at MS.Utility.EventTrace..cctor()
   --- End of inner exception stack trace ---
   at MS.Utility.EventTrace.EasyTraceEvent(Keyword keywords, Event eventID)
   at System.IO.Packaging.Package.Open(Stream stream, FileMode packageMode, FileAccess packageAccess, Boolean streaming)
   at Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.XMLModel.XMLStreambookModel.get_ZipPackage()
   at Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.XMLModel.PartManager..ctor(XMLWorkbookModel workbookModel)
   at Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.XMLModel.XMLStreambookModel..ctor(Stream outputStream)
   at Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.ExcelApplication.CreateStreaming(Stream outputStream)
   at Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.OpenXmlGenerator..ctor(CreateTempStream createTempStream)
   at Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.ExcelOpenXmlRenderer.CreateExcelGenerator(CreateTempStream createTempStream)
   at Microsoft.ReportingServices.Rendering.ExcelRenderer.MainEngine..ctor(CreateAndRegisterStream createStream, ExcelRenderer excelRenderer)
   at Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)
   --- End of inner exception stack trace ---

Intercompany report

$
0
0

Hello community,

I am trying to create an inter company report in report builder which relies on data from Dynamic's NAV accounting system. 

The purpose of the report is to tie up the amounts in the Company Balance and Affiliate Balance. For the company Balance, we look at the Company and Affiliate to get the value. For the Affiliate Balance, we look up the respective company (in reverse ordeR) for the Affiliate company and look up the Affiliate (prev. company) to get the affiliate amount. hope this make sense. 

Challenge is to line up the row amounts on the same lines as per below for 90 rocker co.

CompanyAffiliateGL AccountCompany BalanceAffiliate Balance
90 Rocker Co.Affiliate Co. 111111                                -                                -  
90 Rocker Co.Affiliate Co. 211111                                -                                -  
90 Rocker Co.Affiliate Co. 311111                                -                                -  
90 Rocker Co.Affiliate Co. 411111               (58,870.74)               58,870.74
               (58,870.74)               58,870.74
Affiliate Co. 190 Rocker Co.11111                              -  
Affiliate Co. 290 Rocker Co.11111                              -  
Affiliate Co. 390 Rocker Co.11111                              -  
Affiliate Co. 490 Rocker Co.11111                58,870.74
               58,870.74


Custom Groups Cognos equavalent in Report Builder

$
0
0

Hi There,

In Cognos, we can create Custom Groups i.e. We can call the group name as Products and hard code values in it. (Pen, Eraser, Files, Filing Cabinet etc).

Is there a similar bucket in Report Builder where I can create a group and assign item to it.

Thank you very much!

I want to create a group and then in my expression check if the item belongs to the group. If there is any other way to do that, please let me know.

Harry


SSRS prepared statement error with Redshift odbc connection

$
0
0

Does anyone understand why report builder has an issue running multiple prepared statement when using redshift odbc as a source connection? I have had to use subqueries to get around this issue, but I am curious what could be causing it or maybe there has been an update to redshift for ssrs that I am unaware about? It is just very tedious to convert all your prepared statements over to subqueries, before report builder allows me to run the query successfully. Please inform me if you know so I can spread it to others that are also wondering this same question. Thanks so much!

Parse parameter from a report to another RDL - SSRS

$
0
0

Hello,

I'm facing a problem trying to resolve an rdl report.

My case is: i have 1 report with another report inside it. Both reports are using different sql procedures, so no relationship between those sql procedures.

My Question is: How i take/parse/get  parameter called document from report 1 in order to be available also in report 2.

It's a document number which is available on report 1 and i want that field to be available also in report 2.

Thank you!

Catalin

SSRS subscription Done: 1 processed of 1 total; 1 errors.

$
0
0
Hi all,

I've created a report subscription  in SSRS web portal , however I cannot get the subscription email, I found under status it says Done: 1 processed of 1 total; 1 errors.  

But I cannot find more errors details, I follow this article: https://docs.microsoft.com/en-us/sql/reporting-services/report-server/report-server-service-trace-log?view=sql-server-ver15 the log file is located:C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\LogFiles, However I cannot find it. Could you please tell me where to see the error message? Thanks.


How do I make a multi-value parameter optional?

$
0
0

I have a parameter which is set to allow multiple values, but I also want to make it optional, so that if nothing is put in, the parameter is ignored. It doesn't allow me to allow null values for multi-value parameters, but I checked the allow blank values box and edited the query like this:

where customer_ID in (@CustomerID) or @CustomerID = ''

When I did this, it would allow me to ignore the parameter, but then when I try to enter multiple values, the query fails. What is the problem? Is there another way around this?

How to get a Report subscription Information - SSRS 2014

$
0
0

Hi Everyone,

I have a requirement where we have to update a column in a table based on the execution date of the report subscription.

Is there a way in the report server database where we know the success or failure of the report subscription job based on which we can populate a column in other table?

Thanks a lot for all the help.

Printing with new 2016 Report viewer control - Cut steps down

$
0
0

Hello,

Since the new report viewer control now uses PDF for printing and not the ActiveX control, the user needs to click 5 times to send a report to the printer.  Is there a way of avoiding/bypassing the PDF dialogs and go directly to the Print dialog?

This is for a Web application using Microsoft.ReportViewer.WebForms, Version=14.0.0.0.

Thanks,

Pilar

 

how to update the title of the each page of the exported pdf file using ssrs

$
0
0

Hi

I am exporting the ssrs report as pdf.

I would like to update the title of the each pdf page title.

How can i update the title of the each pdf page or send from the report viewer using c#/VB.Net.

viewer-pdf-toolbar is defned internally in the pdf exported file


Thanks,

Narendra


Keep the SSRS report subscription from being sent if there are no rows in the result set

Prevent the SSRS report subscription from being sent if there are no rows in the result set

Hide a parent group based on a child CountRows statement

$
0
0

I am trying to figure out how to hide a parent group based off the child group

So I have a list of Parts (child group) and when they appear on a Ticket (a parent group) which have another parent group (Agency)

Agency

    Ticket

        Parts

On the Ticket group I have Hidden Expression (CountRows() <= 1)  which means if it only has one part do not show the Ticket.. This works perfect.. 

However, It still shows Agency when Ticket and Parts are hidden.. I have tried Hidden Expression CountRows("GroupTicket") <= 1 but it does not like this. 

SSRS Reporting: Parametrised to Oracle query -- ORA-01008: not all variables bound

$
0
0

Hi,

When I am executing this query below, I am getting an error: ORA-01008: not all variables bound.

select ipa,
       sum(shadow_claims) as claim,
       sum(shadow_diag) as shdw_diag,
       sum(matching_claims) as mtc_clm,
       sum(match_diag) as mtc_diag
  from ixn3180.ipa_overview a
 where (a.region in (:PRMREGION) or 'ALL' in (:PRMREGION))
and (substr(a.serv_dt,1,4) in (:PRMYEAR) or 'ALL' in (:PRMYEAR))
group by ipa

The is executing fine with single filter in the WHERE clause but getting error when I use both at the same time.

The datasource is fine as it is executing with single filter.

Parameters are declaired correctly.

I have tried all possible scenarios but having no clue to fix the issue. Can anyone help out on this?


How to sort report by one column in a column group

$
0
0

I have a report where I am displaying sales and by store ID and then each column is a different year: one is this year YTD and the other two are the past two years. I want to sort the table by sales for this year YTD. How would I accomplish this? Is it possible by having year as a column group or would I need to create separate measures for this year YTD and last year and the previous year?

Also, I want to create a rank column where the stores are assigned a rank(1,2,3...etc.) in order of this year YTD sales. What would be the best way to do this?

Viewing all 28687 articles
Browse latest View live


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