I have an SSRS Report that has data in a column containing line breaks (CHAR(13) + CHAR(10)) however it refuses to show the wrapped text automatically or by choosing from the Home toolbar Cells-->Format-->Auto fit row height. Does anyone know how to make this happen so the user can see the cell contents when it opens in Excel? Basically they have to manually select each row and specify a height.
I'm using SQL 2012 for the moment. I also tried the same report on 2019 and it makes no difference. The report is hooked into an app so it comes out directly as EXCEL. When I run it from the report server in HTML it is showing the data with the multiple lines as desired.
Related
I am exporting a small file, 8mb from SQL developer to xlsx.
It is taking forever (freezing). I ran the same query in Toad and exported it with no issues.
Any idea on why developer doesn't seem to be working right?
Why does it show the log also?
It used to never show this.
Also, I used to be able to double click on a word in the SQL and it would highlight all the same values. It does not do that anymore.
What setting can fix that?
As of being unable to export data in XLSX format: try to export to a CSV file; Excel opens it easily so - if it works OK, just save the file to Excel format once you have data in it.
As of highlighting all occurrences of the selected word: enter "Search" mode (Ctrl + F). A search toolbar opens on a top of the editor window. Check toolbar buttons (point each of them with a mouse and hold it for a second, until the tooltip appears) - one of these (on my 17.3 version, it is a "yellow-ish" button) is the "Highlight Occurrences". I presume that it is disabled in your SQL Develoeper, so - enable it.
When I try to print a power view sheet it comes out blank (no ink on the paper), even though the print preview shows the sheet nicely.
See image below (secret stuff is blurred out):
According to Microsoft themselves it should be possible to both print and export (to pdf) a power view sheet.
Many other sites also claim that it should be possible, e.g. https://www.tutorialspoint.com/excel_power_view/excel_power_view_sharing.htm
I have tried both options though, and it comes out blank on paper when printing, and when exported just shows a blank pdf page.
I ended up contacting Microsoft support and I was told that it is only possible to print an image of the current view if the Excel document is on a SharePoint server.
We have a problem with automatically created Excel documents. I'm not sure if it is related to how we create the document or else is a viewer problem. But in any case, it's confusing.
When opening the Excel document, the content of some text fields is abbreviated by just displaying some short postfix of the content. On double click, the full content is visible. What is confusing is that the full content would well fit into the fields as it is displayed.
How to prevent such abbreviated fields?
I've attached two screen shots showing the problem.
first column of line 13 is abbreviated:
after double click, the first column of line 13 is displayed correctly:
For a sample document, follow this link. The document shows correctly in my firefox browser but faulty when seen with Excel on Windows 10.
We have a report which contains 6 pages (I have used page breaks). Each page has few sub-reports and few charts. We are exporting it as Excel.
When we are trying to print one sheet the page is breaking into multiple pages dividing the sub-reports and charts in middle. Is there some best way or thumb rule to follow in order to make reports print friendly.
On the Ribbon (I have Excel 2007) go to View tab, then select Page Break Preview and drag page borders as you desire. These settings are saved together with the workbook, so on the next reopen page breaks will remain as set.
Finally found the answer.
Posting here in case somebody is struck with same issue
Need to set these properties in report
net.sf.jasperreports.export.xls.fit.width =1 and
net.sf.jasperreports.export.xls.fit.height=1.
Thanks
I'm working on an existing cognos report where a user specifically asked me to make changes. When the user runs the report, they run it in excel. When the user downloads the report to excel the title isn't centered. This threw me off because when viewing my report in Cognos Report Studio, the title is centered. What is the cause of this and is there a fix? They seek this change so they don't have to manually make the changes in excel before putting it to their use.
EDIT:
Report studio:
Excel:
When I run the report in HTML or PDF the title is perfectly in the middle, only excel renders it off.
IBM Cognos has limitations when producing reports in Microsoft Excel format.
One work around for this problem is to use include the report title text in a table cell in the Page header block. Given below are the steps.
Insert a table of 1 column and 1 row (i.e. 1 table cell) in the Page header block.
Add "Text Item" in the table cell.
Give appropriate report title in that text item.
Select the table cell; In the 'Font & Text' properties, specify the horizontal alignment property to be 'Center'.
Run the report in Excel 2007 format.
This also works for Excel 2002 format.
You can find some of the limitations for Excel format here:
Unsupported Excel Formatting
Unsupported IBM Cognos 8 Formatting
Limitations When Producing Reports in Microsoft Excel Format
#MichaelYounani
Instead of having title texts (6 rows) in 2 different table structures, you can move all the 6 rows of title in the same table.
Please refer to the screen shot.
That way, when the report is run in Excel format, you can get all the title rows in one column and aligned to the center.
Take a list object..
unlock the report.
add list header. (note not the page header..)
select the list header and select split cells.
Place a text item in the first list header cell.
Select all the list header cells and select merge cells.
Now, you can format the merge cells with center and bold.
This will ensure the total number or columns and the list header cells are same.
Run the report and export to excel. This method work in any version of cognos.
--Srrinivas.
Go to Page Layout, then next to the Gridlines tab is Headings. Click on the expanding arrow right below that. From within there, go to Header/Footer. Uncheck the boxes that say, "Scale with document" and "Align with page margins". Problem solved.