Report displaying incorrect currency - reporting-services

My problem is that when I print some reports from our report server I get the incorrect currency printed. When viewing the report the correct currency(£) is displayed but when that same report is printed from the print button on the SSRS report manager the incorrect currency ($)is shown on the printed page.
Some things to bear in mind:
We use the RSService to display reports
All reports language property is set to User!Language
Both my machine and browser language settings are set to the correct language
This issue does not happen on all grids on reports(Some reports that have to grids on show correct currency on viewing and then the printed version show one correct and one incorrect)

So after hours of trying things out it turns out that if you have a text box on a report(or grid cell) that has its language setting set to user!language it will not behave how you expect it to. Hence the reason why I had one grid displaying correct values and another grid displaying incorrect values.
What I did to fix this issue is open up the code view of the report and find and replace < Language>=User!Language< /Language> with and empty string and then only set the reports language setting to User!language.
Hope this saves someone a headache!

Related

SSRS Report PDF image rendering issue

I am building a label report that requires the user to input a Bulk Order Number that will generate multiple labels. When viewed in preview mode and on the report server, images on the report for postage and company logo appear on every instance of a label (report page).
However when exported to PDF, these images only render on the first label (page)
I considered this may not be an issue, as the user could print from the report server when accessing the report. This isn't the case, as when trying to print, report server creates a PDF for you to print from. There are no other options regarding printing other than page size and orientation, a PDF seems to be the only method from which you can print from.
The images I use have the visibility controlled by parameters, so you can select 1st or 2nd class postage, and choose to have the logo visible.
Each image also has the RepeatWith property set to the Tablix that contains order and address details.
When exported to word, the labels all appear as desired with postage and/or logo images on each instance. This is a step I would like to avoid, as it would be much nicer to have the user print directly from the report server, even if this still requires a printer friendly PDF to be created.
I have attached am image to show PDF output.
Any ideas how I can get these images to render on each label (page)?
EDIT
Image of design page
Based on the design view image you posted, it looks like the only thing repeating is your tablix containing the address information. The SSRS RepeatWith property doesn't seem to work well with .pdf exports so the workaround for this would be to drop everything into a single cell on a list object and grouping using the Order_No to repeat everything. This should remove the need to mess with RepeatWith and give you the desired results.

SSRS Tablix Group Reset Page Number and Page Name not working when Exported to Word

I have a SSRS (.rdl) report with a tablix whose details group is set to put a page break between group items, reset the page number and set the page name (as per http://blogs.msdn.com/b/robertbruckner/archive/2010/04/25/report-design-reset-page-number-on-group.aspx).
This works correctly when rendered to HTML or as a PDF.
When rendered to Word the page numbers do not reset and the page name never changes (the page name is always the value set on the first page). The page breaks work as expected.
I have read (at https://msdn.microsoft.com/en-us/library/dd283105.aspx#ReportHeadersFooters) that complex expressions must be converted into runs of simple expressions in order to display correctly when exporting to Word. I have done this but the problem persists.
Is there any way to make the tablix group reset page number and page name functionality work when exporting to Word?
If not is there a way of achieving the same effect when exporting a report to Word from SSRS?
This is an older question but recently ran into this issue myself so it might help someone else.
There are a lot of examples out there that use casting in the examples for the page number display (CStr or ToString()). Whenever I invoked those methods, the counts would be off when exporting to Word (either doc or docx).
The only way I could get it to work is with three separate text boxes in the footer with these expressions:
=Globals!PageNumber
"of"
=Globals!TotalPages
Avoid the use of those other approaches. Three separate text boxes was the only way I could get this to work.

ssrs display multiple documents

We have several RDL's that that are designed using textbox's to display data as a document to be converted to PDF or printed directly. There is no table involved in the RDL's. I am trying to get one of the RDL's to display multiple documents by passing a dataset of multiple DocumentId but it only appears to display the first document. I figure there must be a setting to force a page break on the actual dataset or page itself but I have not found one yet. Does anyone know of such a feature of SSRS 2008?
I would recommend putting the textbox in lists and have the list group on Documentid. This should fix your issue. If you want it to be shown on a separate page you should be able to select page break between groups.

Unable to disable SSRS 2008 page breaks

I've always hated working with SSRS and I'm currently pulling my hair out over page breaks.
My report has a table with products which are grouped by a purchase. I want all purchases' product tables to appear on a single page, instead of one page for each unique grouping value.
Whenever I Google how to disable paging everyone points to this thread which I have followed - both interative height and width are at 0.
Starting at my table (wtf is a 'tablix'?) I have checked the PageBreak property of every container and all are set to 'None'.
The ONLY way I have so far managed to disable paging is to edit the report's XML and replace every instance of <BreakLocation>Between</BreakLocation> with <BreakLocation>None</BreakLocation>. According to this MSDN article None is a valid value, but after this change Business Intelligence Developer Studio can no longer display the report, complaining "Deserialization failed: Requested value 'None' was not found". **Slow clap for BIDS.
My three specific questions are:
Why can't I see the BreakLocation property anywhere in the report designer?
Why is BreakLocation being set to 'Between' when everywhere possible I have set PageBreak to None?
Is there any other way I can achieve what I desire that doesn't require editing the XML before and after using the designer?
I am using Business Intelligence Developer Studio 2008 and rendering reports in HTML.
Any suggestions much appreciated.
You can do this in your XML by finding your <Page> tag and adding
<InteractiveHeight>0in</InteractiveHeight>
in the beginning (or replacing the existing one).
(A tablix is a combination of a table and a matrix, it's what 2008 does with your reports. Easier to see if you use Report Builder 2.0)
You say you checked the page break location on every "container", but Tablix groups can also have their own page breaks. You'll need to check those too and make sure they are set to None.
I can't speak for why BIDS isn't allowing you to specify None as a BreakLocation. None certainly is a valid value as far as RDL is concerned.
With InteractiveHeight set to 0 and certainty that there are no BreakLocation tags in your report set to anything other than None, there really shouldn't be any pagination.
I had the same problem. Ath first I used the xml to find the tablix or tablix group which contained the page break. Later I found out that it could be solved by removing the PageBreak section entirely from the xml.

Dataset Field in Header/Footer disappears in PDF Export

I've been asked to make a small change to one of our RDLs. Essentially, I have some fields in my header/footer which pull information out of the resulting dataset (this is done by creating hidden textbox in the report body, then creating a textbox in the footer with its value set to ReportItems!txtHiddenMsg.Value).
Unfortunately, the message in the footer is dynamic: it displays a customerID and a custom "Thank you for your business" message in the customer's native language in the footer, and there are several customer IDs contained in the report, so the footer text actually changes from page to page. This means its not possible to hard code the text in the footer or bind it to a different dataset.
The report renders just fine in ReportViewer, but the fields disappear when exported to PDF. I don't know how to phrase this problem, so I apologize if this is worded awkardly:
How can I bind a field in the header/footer to a dataset field and without the field disappearing from the PDF export?
Unfortunately, the only solution that may work is aspose.pdf
PDF export appears to not detect the indirection.
My BI colleague tried this and found it better than the standard solution.
I did some detective work and found that several of our other reports bind columns to the header/footer, and they export just fine. It seems like my report is the exception rather than the norm.
Cause of the problem: The row containing my hidden textboxes was set to invisible (I did this so I wouldn't have to toggle the textboxes individually). It seems like there is a bug undocumented feature in the PDF export where it ignores text in invisible rows.
Solution: I made the row visible and set all of my textboxes to be invisible. Now the report outputs fine, and the export looks fine as well.
Try to use hidden/internal report parameter with default values set to read from dataset.