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

Multi-Page Report results in missing and mixed up data being displayed on the report

$
0
0

Greetings,

    I have come across a weird issue with a report that prints multiple invoices that can have one or more pages.    The invoice consists of header detail and subreports to display to totals and misc charges. 

    What is happening on some reports is if the totals sub report is the only thing on a page, the report displays the next invoice header information but none of that invoice's detail information.  In some cases only the header displays.  Then the invoice after that prints fine.  Like I said, it is strange.  I also noticed the page number gets out of sorts as well.

    On a whim, I added a textbox to the section with the subreport for the invoice totals so I could verify that it was looking at the correct invoice.  Doing this fixed the problem. So I figured it is just a quirk in SSRS and simply hide this textbox.  Once I did that, the issue occurred again. 

Here is an example of a bad invoice report page

Bad Invoice

Here is the page previous to it.

What would cause something like this to occur?  If the Invoices are printed separately, they print fine.  A look at the tables created by SSRS shows all the appropriate data is there to be displayed.  One thing I do notice when previewing in SSRS that it tends to take a bit of time before it renders the bad page.  As I mentioned, displaying the invoice number you see in the header in the section that displays the totals information causes the invoices to print correctly.

Anyone have any ideas what might be causing this and how to prevent this issue?

Thanks


Lou Davis Software Engineer E2B Teknologies


Internal reporting server error on multiple categorys in Line graph

$
0
0

Hello

I am trying create two groups in the Report Builder 2.0 (using Sql Server 2008) for my Line graph.

On my Y Axis I have a calculated avg of measured frametimes for different builds of our application (a computer game).

On my axis I want two groups, first a group of dates (corresponding to what dates these values were recorded on, which is from a date field in our database. The second group is a automaticlly incremented version number (which will have several different versions for each day, corresponding to each change made in the application).

My approch to this has been to add the two values on the x axis as two different categorys, in the preview from the report builder it seems to understand what I want and show me a placeholder timestamp and change number that is correct. When I try to view this report I get an error from reporting services stating: "An internal error occurred on the report server". Looking at the logs file on the reporting server I can only find this: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details., RV with runtime scope escalation;

I have tried google for RV with runtime scope escalation but it came up empty. When running with just one of the categorys the report shows up fine. Not sure if it matters, but the graph features four different series (based of the platform the application was running on) and I also have a data series with a predefined constant value (1).

Thanks for reading through this and I hope to be hearing from you. 

format an date diff expression like hh H:mm min

$
0
0

Hi,

I have a column that i have datediff difference but just in minute but i would like to also i want a format like this hh H:mm min example 00 H:12 min or 01 H:03 min how can i do that

thanks

SSRS 2008R2, Unable to Reset Page Numbers

$
0
0

I am using SSRS 2008R2, and can see the BreakLocation, ResetPageNumber, and PageName properties, but am unable to get the reset working.  Currently, my dataset has no groups, only detail records, but adding a group on the key field and setting the properties made no difference.  The textbox in the footer has this expression in it:

=Globals!PageName & ": Page " & Globals!PageNumber & " of " & Globals!TotalPages & " pages"

When the report runs, I notice that the PageName is always empty.  Setting the InitialPageName made no difference.  I have read these:

http://blogs.msdn.com/b/robertbruckner/archive/2010/04/25/report-design-reset-page-number-on-group.aspx

Understanding Pagination in Reporting Services: http://msdn.microsoft.com/en-us/library/dd255278.aspx

 


Thanks

 


Thanks,
Corey Furman @ Facebook
______________________________________________________
Please mark posts as answer or helpful when they are.

SSRS: How to pivot and find % in SSRS

$
0
0

Hi All,

I got a requirement to create a summary report. I have the data for requests. I need to show each of request type as separate heading and find the no of requests in each request type. I could do this either by table or matrix. But, I need to find the % of the result also. I couldn't find it, please help me to create report like below.

Adding all the values of Req=3+1+1+2--> 7

Then (3/7)*100=42.5%

(1/7)*100=14.29%

(1/7)*100=14.29%

(2/7)*100=28.57%

All together 100%

Thanks,

Julie

 


How to make header of matrix tablix fixed when the xml dataset tied to the Matrix tablix doesnt have value

$
0
0

I have a xml in usual form which has following structure

<test> 

<element></element>

</test>

But sometimes I get no element under the test xml tag like shown below

<test></test>

Which causes my tablix to drop the tablix header as well as the tablix from the report.

I basically want the matrix tablix to stay with header but with blank value as shown in the diagram above.

Does anyone know how can we make this fixed?

=IIF(Fields!test.Value="",TRUE,false) on row visibilty but its not working.

Note: This is not a TABLE control but a Matrix control

Canot connect SSRS Mobile Timeline Navigator to Dataset from SSAS Tabular model?

$
0
0

I am completely dumfounded by the limitations I've discovered in the Microsoft SSRS Mobile reports publisher today.  I started building my first real report that connects to a tabular model in SSAS.  Firstly, I found you cannot store the data source or dataset in the report.  You have to store it as a separate object on the SSRS dashboard that users are able to see.  I'm sure I could hide them with user permissions but that is added administration overhead.

Secondly, when I tried to connect to the tabular model, the mobile report publisher can't do it because the model has parameters which have no default value..... (seriously MS??? - more overhead)

This next part I just can't believe.  I rebuild the cube without parameters and was able to connect the dataset to the report....however, when I tried to link the timeline navigator to the dataset, it's not an available choice in the dropdown box.

No error messages, no suggestions, just, not listed.  So how/why is it not listed, the dataset contains year & quarter names with 2 different measure columns.  I should be able to use this dataset on a time line.

Deployment automation for Mobile Reports (SSRS 2016)

$
0
0

Hi,

We have a project that will require us to automate the deployment of Data Sources, Datasets and Mobile Reports to an SQL Server Reporting Services 2016 instance. I've found several examples of how to do this kind of thing for rdl reports (running an rss script through rs.exe), but nothing specifically about Mobile Reports.

I've created some Mobile Reports using the Publisher tool on a local instance of SSRS 2016. I can see in the ReportServer db Catalog table that they appear with a Type of 12 (with several child items). I wrote a simple script to ListItemTypes() and ran it against the Mgmt2010 endpoint (the latest one listed in the Web Service Reference) and it returned a list of 11 values (Unknown, Folder, Report, Resource, LinkedReport, DataSource, Model, Site, DataSet, Component, RdlxReport). There doesn't seem to be anything specific to Mobile Reports (and the CreateCatalogItem web service method will need the appropriate item type).

So my question is, can the deployment of Mobile Reports be automated? If so, how?

Thanks, Nick.


RDLC Report with Subreport Cannot Create Data Reader for Parent Report

$
0
0

I am building a fairly simple report with a subreport in Visual Studio 2015, using RDLC files.  The main report shows a list of Workshops assigned to a Conference and renders fine without the subreport.  The subreport shows a list of Attendees for each Workshop, and also renders fine on its own (I merely specify the Workshop ID as the parameter and I get the appropriate list of Attendees).

I am populating the data sources with data by adding new ReportDataSource objects in the code-behind of the page housing the report viewer.  As soon as I set the subreport's data in the SubreportProcessing event, though, I get an error stating that reporting services cannot create a data reader for a data source in the parent report.

I debugged, set a breakpoint, and verified that the main report's data source is properly set while the code in my SubreportProcessing event is executing, before and after setting the subreport's data source.

Is it possible that setting the subreport's data source is somehow invalidating the parent report's data source?




VS2015 - SSRS 2016 Shared Dataset

$
0
0

Hi All

I am having an issue with VS2015 using SSDT to build new reports. When using a Shared Dataset and referencing that in the report, it does not work and gives a very vague error.

An error occurred during local report processing.

The definition of the report '/Dataset1' is invalid.

As soon as I change the dataset to be an embedded dataset, it works perfectly fine.

Any help would be highly appreciated.

Thanks.

Generate a report by clicking a button

$
0
0

I forget ssrs for a long time. Just need a quick hint. I have a button click event in the silverlight application viewmodel code. In the method, I get an object. My goal is to generate a report by the data of the object. How?

Thanks for hint.

What is the default sorting in a Matrix tablix if no sorting implemented for a given incoming dataset

$
0
0

I have data coming in xml 

<test>

<element>Test data #2 </element>

<element> Test data #1</element>

</test>

When we query the tag and display it on the  report we see sorting forced by SSRS  which is forces this dataset to show in ascending order

o/p

---

Test data #1

Test data #2

What is the default sorting in a Matrix tablix if no sorting implemented for a given incoming dataset?

Is there anyway we dont want SSRS sort this data and display as it is.I.e show based on the order it is getting in xml




Microsoft.ReportViewer.ProcessingObjectModel.dll: The mystery of the missing DLL?

$
0
0
Hey guys,

So I have a question.  Where does the Microsoft.ReportViewer.ProcessingObjectModel.dll reside?  I know that you are supposed to install the Microsoft Report Viewer Redistributable and you don't have to worry about this dll.  Once you do install it the files that are located at C:\Program Files\Microsoft Visual Studio 9.0\ReportViewer do not contain this elusive dll.  So my issue is that the clients aren't able to install the Redistributable on their boxes.  So we have to deliver the ReportViewer dlls with the application.  Is there any way I can get or find the Microsoft.ReportViewer.ProcessingObjectModel.dll ?

Thanks for any help,
--Josh

Josh George LiveLogic, LLC

SSRS 2016 Mobile Reports won't render on mobile device

$
0
0

SQL 2016 RTM

SQL 2016 RTM

SQL2016 RTM

SQL 2016 RTM

Mobile Report Builder 1.0.3836.0

I'm working on a proof of concept for a few different clients using the Mobile BI reporting capabilities in SSRS 2016. The reports run and work correctly inside of SSRS running on a desktop system. I'm trying to access the reports through the power BI app with direct connection to the SSRS server on the demo server. I'm able to connect to the SSRS server, get a list of the reports on and attempt to run them.  I have one mobile report that is just using the same data set and everything runs correctly.  I then create a new report and connect to backend data sources (both SSAS-Tabular and SQL).  The direct connected reports fire up and work correctly on the window browser.  When I attempt to run them on the droid device I get the descriptive error"an error has occurred please try again later".  Review the logs reveals a single error each time that I run the report.  I have turned on basic authentication and can connect to the server (both windows / droid) and see the folders and mobile report lists etc.

Log error message

Microsoft.ReportingServices.Portal.WebHost!reportserverwebapp!143!06/29/2016-14:48:13:: e ERROR: [y7vfx59q]: XSRF Failed (NonceCookieNotFound)
Microsoft.ReportingServices.Portal.WebHost!reportserverwebapp!143!06/29/2016-14:48:13:: i INFO: [y7vfx59q]: 172.40.124.207: POST /api/v1.0/CatalogItems%28d6f021ce-5eb4-41fe-8a4a-1cf96568d014%29/Model.DataSet/Model.GetData - Response 403 - 0:00:00.0008755

Is there a configuration setting somewhere that I'm missing?

how to pass a parameter to ssrs 2016 mobile reports

$
0
0

Hi,

Can anyone point to the documentation (or other resources) for passing a parameter to SQL Server 2016 mobile reports in a url?

I have found no examples of syntax, unless it can be assumed that it is exactly the same as paginated report.

Thanks


Using both SSDT and Report Builder

$
0
0

When I started I was given two links in SSDT. One was to a Solution containing the companies 78 projects. However it has become out of date (IE: there are Reports that I developed using Report Builder that are not in the SSDT Solution Tree.

Question. How can I update SSDT?

btw I notice the paths to rdl's in SSDT are local (M:\...\...\...rdl) and paths in Report Builder are like http:\\...

Multi Valued Parameter with a Maximum of 2 allowed seelctions

$
0
0

Is it possible to have a mult-select parameter but only allow a maximum of 2 selections.
This is for a comparison report of different years.
I only want to compare 2 years

Regards

Quentin

Two Digit Month

$
0
0

I am setting a parameter in my SSRS report to the 1st day of the previous month, but the final format I need is yyyymm. I can get yyyym with the following, but have been unable to find a way that actually works to get a two digit month instead:

=DatePart("yyyy", DateAdd("m", -1, DateSerial(Year(Today), Month(Today), 1))) & DatePart("m", DateAdd("m", -1, DateSerial(Year(Today), Month(Today), 1)))

So final format for 6/1/2016 would be 201606 rather than 20166.


MHTML file image display

$
0
0

Hi everybody,

I work on MS SQL Server 2008.
I have a SSRS report on which I put images. I set up an Action on which image which call an mhtml file recorded on my SSRS portal.
When I open my mhtml file for the first time, the images it contains are not displayed and I don't know why?
How could I fix this problem?

Thanks a lot

Pete

No Line Graph in Mobile Report Publisher?

$
0
0

Hi,

I'm looking at the evaluation version of SQL 2016 reporting service and I can't see the option to create a line graph in the Mobile Report Publisher.  Am I missing something?  Also, it seems there are very few options to change/customize the reports (such as adding a trend line (of any kind) etc.

Are the Mobile Reports fairly static in regards to customization options or am I supposed to use a different tool to edit them?

Thanks


Viewing all 10045 articles
Browse latest View live


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