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

cant sub reports perform better in ssrs

$
0
0

Hi. Visakh16 helped at length in getting this report to work at https://social.msdn.microsoft.com/Forums/en-US/a83aaf7c-2689-40b2-8d63-e55789b3d374/data-set-runs-twice-instead-of-once?forum=sqlreportingservices  .  Specifically with what ssrs does and doesn't do with datasets. 

I created a dumbed down version of the report for purposes of that post and am re posting 3 of the images here.  In reality the tablix's in the sub report are more complicated and very different from each other.  But the bottom line is that the master report has a tablix driven by salesmen, each cell calling the subreport,  and the subreport produces 8 tablix's that summarize each salesman's performance.

I spent yesterday tuning the db engine side of things and got huge performance improvement (down to about 2-3 seconds from about 10+ seconds). 

Now I'm focused on the visual (ssrs) side of things which I would have thought should perform better than it is. For an overall total of about  625 records across 6 salesmen, ssrs performs pretty badly.  Maybe half the sub report's tablix's have more than 2 but no more than 4 rowgroups.  The report takes  25 seconds to render.  I don't see much of an alternative to using a subreport for this kind of thing but wonder what the community thinks about both tuning and alternate report designs.    

 


SSRS ODBC to Oracle not connecting

$
0
0

Hello

I have a SSRS report that connects to an ODBC Oracle connection.

I developed the report sometime ago and have come to make some changes today and I cannot preview the report.

It has this error;

Error 28000 Oracle ODBC Ora ORA-01005: null password given logon denied error im006

I have check the datasource and entered the Username and password again. When I test the connection everything is OK.

I have done a google search but it only comes back for SSIS, has anyone seen this error before, if so how do you fix?

Regards

SQLSearcher99

Mystery Date Parameters

$
0
0

HI all:

I am working with a 2016 SSRS report which has 9 parameters, including:

@StartDate

@EndDate

Neither of these are called in the underlying SQL query or in the other parameters.

I am used to coding something like:  WHERE cast([CreateDate] as date) between@StartDate and @EndDate in SQL.  Since the prior developer only cites @StartDate and @EndDate with NO DEFAULT VALUES and NOT BASED ON ANY DATASET or VALUES, where are the date values coming from?   Thanks!


A. Wolf

SSRS - Show/Hide group-row based on page number

$
0
0

I need to show/hide a group-header-row based on page number. No way I could access the page number inside the group to add an expression based on the page number. All I need is to show a group-header-row only from second page (hide the row in first page).

I'm using Visual Studio 2015, SSRS 2016.

I'll try my best to add my design here.

Everything works fine except hiding the Group Header 2 from Page 1.

Proper aligning of columns when exporting SSRS to Excel

$
0
0

So my report renders perfectly in Report Manager Portal. And I was DILIGENT AS HELL making sure that my tablix data columns align with my Parameter Expression text that displays the parameters above the tablix. In development in Microsoft Visual Studio making sure that my highlighted edges turn blue which to me ensures the left edges and right edges of my tablix data column properly aligns with the header expression text above it.

However, when I export to Excel, for some reason it seems as though it creates a fictitious empty data column in the Excel spreadsheet between my Header Expression Text and my tablix data column contents. For example, my header expression text starts exists in column C in Excel...yet my data text is in Column D in Excel. Even though I was sure that my left edges of my Header expression text was exactly aligned with the tablix data column.

I even tried playing with the Alignment padding in each and that did not seem to have an effect.

I could care less if the header informational data was exported to Excel. Is there any way to ignore the header rows...the report title...the dates chosen...the parameters values...and simply export just the tablix raw data portion.

This is sooooo frustrating that I cannot seem to get this aligned.

Thanks for your review and am hopeful for a reply.

VBA Syntax to Display Parameter Value in the Report Header

$
0
0

So I have a free-form text parameter field in my SSRS Report and have set its Default to "<ALL>" when the Business User does not want to change it. I'd like my Report Parameter in the header of my report to indicate that.

I tried with this VBA Syntax, but the report does not seem to like it at all...

="<u> Order Numbers: </u> " + IIf(Parameters!OrderNumber_In.Value = "<ALL>", "All", Join(Parameters!OrderNumber_In.Value, ","))

And the error in Microsoft Visual Studio says...

Overload resolution failed because no Public '=' can be called with these arguments:

'Public Shared Operator = (a As string, b as String) As Boolean':

Argument matching parameter  'a' cannot convert from 'Object()' to 'String'

Any help would be GREATLY appreciated.

Thanks!

SSRS report+change Boolean label value

$
0
0

Hi,

When placing Boolean values as parameter ,it is displaying as true/false.can we change text to yes /no.

environment: ssdt2013 and vs2017

Regards,

Prasad.

Export to word and insert word bookmark

$
0
0

Hi all

We have to export our report to word and send it to another company web service with a word insert bookmark.

That web service replaces our word bookmark (named LtrNo) to his letter number.

How can we insert bookmark in exported word file?

(insert bookmark with SSRS not that open word and manually insert bookmark menu in microsoft word)


Each problem has a solution.



SSRS 2012 i want To add a page has the place of the homepage(SSRS)

$
0
0

hello ,

this is my SSRS home page 

my SSRS homepage

and i want to Add a page which makes the rerouting for the homepage like this 

can you help me please whether it is possible 

An error has occurred during report processing. (rsProcessingAborted) Cannot impersonate user for data source 'DataSource1'. (rsErrorImpersonatingUser) Log on failed. Ensure the user name and password are correct. (rsLogonFailed) For more information abou

$
0
0

I have SCCM 2012 R2 primary site and I am getting following error while accessing any SCCM reports. I have confirmed that I am using the correct credentials, have full access to SCCM(Full administrator role) but still getting following error.

  • An error has occurred during report processing. (rsProcessingAborted)
    • Cannot impersonate user for data source 'DataSource1'. (rsErrorImpersonatingUser)
      • Log on failed. Ensure the user name and password are correct. (rsLogonFailed)
        • For more information about this error navigate to the report server on the local server machine, or enable remote errors

I start receiving this error when last week i changed the password of user, which i used to access SCCM reports and this user is also the local administrator on local server. Please can anyone help me out that what sort of setting i have to check to resolve this issue, or where should i update the recent password of this user which is by default used to access the data source to access these reports. Thanks 

Report Viewer Configuration Error

$
0
0

Encountering an report viewer error on IE Enterprise Mode. Any idea on how to fix this?

Report Viewer Configuration Error

The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add <add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" /> to the system.web/httpHandlers section of the web.config file, or add <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" /> to the system.webServer/handlers section for Internet Information Services 7 or later.


Enabling Mobile Device Access to on-premise PowerBI Reports Server with SSL

$
0
0

Does anyone know of any useful articles which walk through the process of enabling mobile device access to PowerBI Reports Server, securing access with SSL?

Thanks

AndyG26

2016 SQL Server Reports Manager doesn't show View -- List option

$
0
0

In the more recent installs I have done for SQL Server 2016, the SSRS Report Manager is no longer giving me the List option under View --> Layout.  Please advise.

SSRS summing values from multiple data sets and sub reports

$
0
0

I have a two data sets and a sub report in my SSRS master report.

I need to create a third - Grand total table or matrix that returns a field from each of the data sets and sub report.

To start I built a table and added a columns to test this with the following values. (This is in the Grand Total Row) each element alone is in the respective row.

=ReportItems!tps_actual4.Value + ReportItems!Textbox1230.Value

tps_actual4 comes from one dataset. Textbox1230 comes from a different dataset.

the first error that comes up reads:

"The value for the DataSetName property is missing"

if i change my code to something that reads like this

=First(ReportItems!tps_actual4.Value, "Master_Data_Set") + First(ReportItems!Textbox1230.Value, "Secondary_Data")

I get another error that reads:

The value expression for the textrun ''.. uses an aggregate function on a report item. Aggregate functions can be used only on report items contained in page headers and footers. 

There is no one data set we are referencing here. i'm not sure how to resolve this.

The second question is in the case of Textbox1230 it is returned 6 times as there are six lines of data. How do i specifiy in my logic a case statement when to add Textbox1230

lastly I'm not even sure how to reference the sub report as we need to access two of the fields from the sub report as well.

thank you.

Use Switch command with Max field-Report Builder 2014

$
0
0

I am using report builder 2014 and I am trying to set up the Switch command on a Max field.

=Switch(

[Max(HarmToSelf)]= 1, "Thoughts",

[Max(HarmToSelf)]=2, "Threats",

[Max(HarmToSelf)]= 3, "Plan",

[Max(HarmToSelf)]= 4, "Action/Behavior",

[Max(HarmToSelf)]= 5, "None of the above",  

[Max(HarmToSelf)]= 6, "Unknown")

This doesn't work of course. Is there a way to do this or should I be using a different Expression. Any help is greatly appreciated.

Dcyale


Dynamic Grouping and Parameters

$
0
0

Hello,

I'm creating a report with multiple parameters that will feed dynamic grouping. I have the main one set as Yes, and several others use code (in the Default Value) to then be Yes if the main one is, otherwise No. How can I get the "children" parameters to change to "No" if the main one is after the first run of the report (the user decides to change how they want it grouped)

Code on "children" 
=IF (Parameters!ByOPB.Value = "Y", "Y", "N")

Deploying SSRS 2012 Report Error: Max Request length Exceeded

$
0
0
We have a 2012 SSRS report that has a size of 3 Megs.  It has 3 jpg images embedded in it along with some data fields.  We created the report in Visual Studio 2012 and we are able to view it and run it in Visual Studio 2012 without any problems.  When we deploy it to our 2012 SSRS server we receive the following error:  There was an exception running the extensions specified in the config file. --- Maximum request length exceeded.  We are a little bit baffled by this because the Maximum Request Length is set at 4 megs.  If you have a solution to this or if you know why we would receive this error when the file size is under 4 megs please let me know!  Thanks for your help!

SSRS - Oracle connection issue

$
0
0

Hi all,

I have installed Oracle components (Oracle client and ODAC components) on SSRS but when I create the data source on the SSRS report manager I am getting the following error message. Can anyone help me in resolving this issue? 

SSRS version: Version 12.0.2000.8 

SQL Server version: SQL Server 2014 - 12.0.2000.8 (X64)


Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed. 




My sub-report only shows 1 record, when it should show more

$
0
0
I've got a main report, which is a detail report. And a smaller report, that's used by the main report as a sub-report. The sub-report displays all records related to the selected EntryID that's displayed in the main report. (There's a main table and a child table, that are in a 1-to-many relationship.) When I preview data for the sub-report, selecting a value for EntryID that I know has more than 1 record in the child table for that EntryID, it shows me all of the records for that EntryID. Exactly as it should. But when I show it in the sub-report of the main report, it only shows the first record, even when I know there's more than 1 record that should be shown in the sub-report. If I preview the sub-report by itself, and give it a parameter which I know has more than 1 record, the sub-report shows all records in the Tablix, exactly as it should. But the sub-report only shows 1 record, even when I know there are more than 1 records, when previewing the main report.

Why is that? And how do I fix it?

Rod

ssrs 2008 r2 page break parameter is not working

$
0
0

I am trying to use an existing page break parameter in a new tablix that I added to an exisitng ssrs 2008 r2 report.
I am trying to use the link http://stackoverflow.com/questions/15513313/conditional-page-breaks-at-group-level-in-ssrs2008-r2-reports/ so I can use the disabled property of the page break option on on the new tablix by using a parameter value that is 'text' and the parameter values are either 'True' or 'False'.

The new tablix that I am using has 5 level of row groups.

The problem is I do not see a 'group' property where I can set the control group name.

When I do set  the pagebreak of the tablix I am working with to the following, =IIF(Parameters!PageBreak.Value="True",false,true), and run the page break parameter to
true, I do get the page breaks. However when I set the page break parameter to false, all I see is information for one control group. I am basically missing all the informatiuon  I
need.
Thus can you tell me and/or show me what I can do to solve my problem?

Viewing all 20764 articles
Browse latest View live


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