Table Header in freezed pane when exporting SSRS report to Excel
Hi,
I want table Header in freezed pane when exporting SSRS report to Excel.
Can I have the table header of tablix be present in freezed pane of excel.
Thanks,
Vivek Singh
Hi Vivek,
Please refer the following thread.
may be u get the answer.
How to freeze header pane in SSRS
Regards
msbilearning
Similar Messages
-
When Export ssrs Report to CSV file runtime filters not working
The Runtime Filters not working when Export SSRS Report to CSV format
Hi PatilPriti,
As for my understanding, the filter worked fine when you preview the report,
but it did not work when you export the report to CSV format. I tried to export the report to CSV file on my side, and the data was shown as expected. I guess the issue is due to the parameter or filter. please try to export to Excel format to test again
and make sure you created the filter correctly. Please refer to the following
blog about how to add a filter in SSRS:
http://arcanecode.com/2010/07/12/adding-filter-parameters-to-sql-server-2008-reporting-services-reports/
If the problem is not resolved, i would appreciate it if you could give us
detailed description of your problem.
It’s better to provide the table structure and some sample data, it will help us move more quickly toward a solution.
Thanks,
Wendy Fu -
Changing default color scheme when exporting ALV report to Excel spreadshee
Hi all,
We have a bunch of FI reports created using OOPS in abap. Each of the reports has the functionality to be exported to an excel spreadsheet. When exporting to Excel, the headers are a very dark brown color, making them difficult to read and it has been requested that they are shaded a lighter color. I have not defined any sort of color scheme within the report itself, and I was wondering if there was a way to change the color scheme when exporting the report to excel. Let me know if there is anything that can be done, thanks!check ur fcat
-
How to Export SSRS report into Excel format using query string
Hello all,
I am new to SSRS world.
Last night i was trying to add a hyperlink on the SSRS report (.rdl) file, by clicking which we can export the report into "Excel" format, but with no luck.
Can anybody tell me how to form the hyperlink, so that we can export the report with its current content ( I mean the report content generated by selecting some parameter values)Hi Suman85,
Based on your scenario, you want to add a link on the SSRS report file, and then click it you can export the report into “Excel” format.
Just as kishan1901 said , you can add a textbox to your report and type in the words “Click here and export the report
to excel” .Then right-click the textbox and select Properties. Switch to Navigation tab, click the radiobutton of ‘Jump to URL’ and type in the expression ,here is just a example:
="http://vyof1884200/ReportServer$youhoo?/My+Adventure+Works/Product+Sales+and+Profitability+by+Month&rs:Command=Render&rs:Format=excel"
Then preview the report ,you will see
Click here and export the report to excel
when you move the mouse to it ,the mouse will become a hand ,then left-click, it will jump out a dialog box to indicate user whether the excel file should be saved , opened or canceled.
I think this is what you want, if you have any further requirement, could you please describe it in more detail? We would give you some resolution or workaround.
Regards,
Challen Foo -
Hi there:
I've created a SSRS report and looks good inside Report Manager, See below . plus "+" is in the right place and
if I click it, it will expand.
However, when I output results into excel, it becomes this, notice those plus sign "+" have been shifted to the far left and they are
not line up with each month either... Is there any way to fix in the excel so that users could see exactly what they see in the Report Manger?
Thanks
--Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --Hi cat_ca,
Microsoft Excel has limitations with how it manages hidden and displayed report items when they are exported. When we export a report to Microsoft Excel format, groups, rows, and columns that contain report items that can be toggled are rendered as Excel
outlines. Excel creates outlines that expand and collapse rows and columns across the entire row or column which can cause the collapse of report items that are not intended to be collapsed. This is by design. For more information about this, please see Show
and Hide section in the link below:
http://msdn.microsoft.com/en-IN/library/dd255234.aspx#ReportItemsExcel
The following similar thread is for your reference:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/06303610-5f6b-4c90-80a6-628552a3d36c/ssrs-2008-table-with-line-grouping-excel-export-problem-with-toggle-item?forum=sqlreportingservices
Thank you for your understanding.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Repeating row texts when exporting web report to Excel
Dear all,
When exporting a web report (including a structure/hierarchy) to Excel (via the 'export to excel button), the row texts (e.g. balance sheet texts) appear twice (column A and B)in the Excel result.
When using the web context menu 'Export to Excel' this issue does not occur.
I am using a BW 3.5 system which has been upgraded to support pack 16.
I assume it is the combination of the structure and the 'export to excel' functionality that does not match up, because when I switch off the hierarchy functionality in the web report query properties, the export to excel does not give me any problems.
Does anyone know how to solve this issue?
Thanks in advance,
Arjan.Did you write that software, COTS package called Medgate?
If not then ask that company for support. No one here would know how to fix it. They are using the CR RDC report engine.
Thank you
Don -
CRAXDRT Error when exporting a report to Excel
I have a large report in Crystal Reports, using the browser, inside a COTS package called Medgate. It's 521 pages. I can export to PDF just fine, but when I export to Excel, I get "CRAXDRT Error Occured on Server: -2147206450: Disk full." The popup window is titled "Report Viewer Export."
The disk is not in fact full. How can I resolve this error?Did you write that software, COTS package called Medgate?
If not then ask that company for support. No one here would know how to fix it. They are using the CR RDC report engine.
Thank you
Don -
Export ssrs report in excel in multiple sheets
Hi all
split excel into multiple sheets based on parameter instead of group
and my parameter value are fixed i.e "in","Out" ,"Reg","Pend"
how to make four sheets of above.
Dilip Patil..Hi Dilip,
In order to achieve your requirement, we can use a list to contain the matrix, then add a page break between each instance of the column group. For more details, please refer to the following steps:
Drag a list to contain the matrix, and the set the dataset of the list to current dataset.
In the Row Groups pane, right-click the Details group to add a group grouped on the expression below:
=IIF(Fields!column_group_field.Value="LOAN",”LOAN”,”Others”)
Click the Details group to navigate to Properties Windows.
Expand the PageBreak group to set the BreakLocation property to Between.
Use the same expression to set the PageName property:
=IIF(Fields!column_group_field.Value="LOAN",”LOAN”,”Others”)
Then the yellow marked column and green marked columns will be in two sheets in Excel.
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How export a report in Excel where show Page Header in one sheet and the Body in other sheet?
Hi,
I need help!, because I need export a report in Excel where the Page Header shows in one sheet and the Body in other sheet. I have SQL 2008 R2, is it possible?
Thanks a lot for your answers.
Sukey Nakasima
Sukey NakasimaHi Sukey,
If I understand correctly, you hope the Page Header shows in one sheet, the body and hidden page headers in another sheet when exports a report to Excel. To achieve this goal, we can put page header content into a rectangle, then set the visibility of rectangle
using expressions. For more details, please refer to the following steps:
1. Add a rectangle to the page header, then drag the page header content into it.
2. Click the rectangle, in the Properties window, click Visibility, in the Hidden text box, click Expression, type the following expression:
=IIf(Globals!RenderFormat.Name="EXCEL" and Globals!PageNumber <>1,true,false)
3. In the Report Body, right click the Table Header row of the first tablix and select Tablix Properties, check Add a page break before check box.
4. Click the tablix, in the Properties window, click PageBreak, in the Disabled text box, click Expression, type the following expression:
=IIf(Globals!RenderFormat.Name="EXCEL",TRUE,FALSE)
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu -
Post Author: Niharika
CA Forum: Publishing
Hi,
This DeskI Report uses customer based prompt.When exporting the report as excel for all customers ,it gives consolidated data of all the customers.But i need to export it in such a way that,if i am prompting the report for five different customers ,the exported excel should be in five different excel sheets.
If any body has got any idea how to do this,please reply soon.
I am using BO XI release2 version.
Thanks,
NiharikaHi Philipe,
This issue has been fixed in Service Pack 4 for BOXIR2 fixes this issue.
The related ADAPT id is ADAPT00962089.
Could you please upgrade your client to SP4.
Might be your server and cleint isnot on same patch level that is why you are getting this issue.
As Shreyas already updated you to MS office 2003 SP3 is not supported with BOXIR2 this is the other reason because DAO properties of MS office 2003 SP3 is not supported with BOXIR2 and when you export the data either through infoview or through desktop intelligence clien itself local MS office comes inot picture.
Regards,
Sarbhjeet Kaur -
Issues in exporting SSRS report to PDF format in Report Server - Blank spaces are deleted
Hi Gurus,
I have a problem in exporting SSRS report to PDF format. It deletes all the blank spaces when I use bullet in a Text box and try to export to PDF formt in Report Server . For example
• Project submitted to the TRC
Result in PDF format:
• ProjectsubmittedtotheTRC
I also noted that when I try to export to PDF in Visual Stuio 2005 (Business Intelligence development studio), it does not delete any blank spaces and shows the correct aligned Data in PDF format.
Please help me as it is frustrating a lot
I would highly appreciate for your quick responseWas there ever a solution found for this as i have the same issue.
When bullet point is entered in a field all the spaces are removed when exported to PDF
i tried exporting to excel and it does not remove spaces, however this is no use to me as it needs to be in PDF
Using IE 7 (Don't think the browser has anything to do with it as this happened via a subscription)
Didn't know SSRS had specific Service Packs, i though they came as patches to SQL Server (SQL Server is on Service Pack 3)
This should be easy to replicate all you need to do is copy text containing a bullet point into a sql server database field and then add this field to a report export to pdf and the spaces are gone
Thanks in advance,
Mark Brunton
brunzire -
Operation not yet implemented when exporting crystal report to pdf
Thank you in advance,
When running the line **** export within the following code, I am getting the following error message:
"Error in File C:\DOCUME1\rborda\LOCALS1\Temp\TimeDetailTest {00DC8730-45CD-4A29-8854-C44BBD5B5230}.rpt: Operation not yet implemented."
I tried the following solution registering dlls, but still did not solve the problem above:
regsvr32 "C:\Program Files\Common Files\Crystal Decisions\2.0\bin\crtslv.dll"
regsvr32 "C:\Program Files\Common Files\Crystal Decisions\2.0\bin\ExportModeller.dll"
regsvr32 "C:\Program Files\Common Files\Crystal Decisions\2.0\bin\tslv.dll"
CODE:
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Imports CrystalDecisions.ReportAppServer
Imports CrystalDecisions.Web
Imports CrystalDecisions.ReportSource
Partial Public Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
End Sub
Private Sub btnRunReport_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnRunReport.Click
'Try
Dim ConInfo As New CrystalDecisions.Shared.TableLogOnInfo
Dim oRptDoc As New ReportDocument
Dim expo As New ExportOptions
Dim oDiskFileDestinOption As New DiskFileDestinationOptions()
Dim strCrystalReportFilePath As String
Dim strPdfFileDestinationPath As String
Dim crParameterDiscreteValue As ParameterDiscreteValue
Dim crParameterFieldDefinitions As ParameterFieldDefinitions
Dim crParameterFieldLocation As ParameterFieldDefinition
Dim crParameterValues As ParameterValues
strCrystalReportFilePath = "C:\TimeDetailTest.rpt"
strPdfFileDestinationPath = "C:\TimeDetailTest0814.pdf"
oRptDoc.Load(strCrystalReportFilePath) 'loads the crystalreports in to the memory
'Create parameter objects
'Provide Parameter values
crParameterFieldDefinitions = oRptDoc.DataDefinition.ParameterFields
crParameterFieldLocation = crParameterFieldDefinitions.Item("StartPeriod")
crParameterValues = crParameterFieldLocation.CurrentValues
crParameterDiscreteValue = New CrystalDecisions.Shared.ParameterDiscreteValue
crParameterDiscreteValue.Value = #7/6/2008#
crParameterValues.Add(crParameterDiscreteValue)
crParameterFieldLocation.ApplyCurrentValues(crParameterValues)
crParameterFieldLocation = crParameterFieldDefinitions.Item("EndPeriod")
crParameterValues = crParameterFieldLocation.CurrentValues
crParameterDiscreteValue = New CrystalDecisions.Shared.ParameterDiscreteValue
crParameterDiscreteValue.Value = #8/2/2008#
crParameterValues.Add(crParameterDiscreteValue)
crParameterFieldLocation.ApplyCurrentValues(crParameterValues)
'Export Information
oDiskFileDestinOption.DiskFileName = strPdfFileDestinationPath 'path of file where u want to locate ur PDF
oRptDoc.ExportOptions.DestinationOptions = oDiskFileDestinOption
oRptDoc.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile
oRptDoc.ExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat
oRptDoc.Export()
End Sub
End ClassI got the same error message when trying to export a report to Excel format. This happened with an existing report that had always exported with no problem, until I added a couple of new formulas. After investigating, I discovered that one of my formulas was returning a divide by zero error if a date range was too small. Once I fixed that formula, it began exporting again with no problem. I discovered this by trying to export to PDF (since all of the situations discussed here involved PDF) and that was when it returned the divide by zero error.
-
Logon Failed when exporting crystal report to PDF
Hi, I am Teguh
i want to ask about error when export crystal report to pdf
error message
CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed
[LogOnException: Logon failed.]
.I(String , EngineExceptionErrorID ) +506
.D(Int16 , Int32 ) +537
.C(Int16 ) +10
CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) +577
CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType) +141
Falcon.CRTransferSlip.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\Falcon\CRTransferSlip.aspx.vb:77
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
environment:
OS : Windows server 2008 standard SP1
IIS: Version 7.0
SQL: Sql server 2000
VS : Visual studio 2003
i really confused with this error,
please help me for this problem
many thank'sHi Ludek
Thank you for your response. I have installed SP3 and ProcMon and still the same result.
I applied a filter on ProcMon to filter out items where the path contains 'export'.
There are a few items where the result is 'NAME NOT FOUND' but I don't think it necessarly had anything to do with the barcode. These include items such as 'EXPORT\MailDestType','EXPORT\DisableExportLiveOfficeSupport'','EXPORT\ExportDirectory' to name a few.
What drew my attention was the ACCESS DENIED result on specifically the EXPORT\PDF folders. The detail for these are Desired Access : All access, however the very same entry appears a little futher on as a SUCCESS but this is detailed as Desired Access: Query Value.
So in summary it looks something like this:
User : Server\XXX
Operation : RegOpenKey
Path : HKU\.DEFAULT\Software\Business Objects\Suite 12.0\Crystal Reports\Export\Pdf
Result : ACCESS DENIED
Desired Access : All Access
User : Server\XXX
Operation : RegOpenKey
Path : HKU\.DEFAULT\Software\Business Objects\Suite 12.0\Crystal Reports\Export\Pdf
Result : SUCCESS
Desired Access : Query Value
There are a few other entries that follow this pattern that exists in other locations such as HKLM\Software...
Could this 'ACCESS DENIED' be the problem? and If so how do I, and should I give user XXX this ALL Access its looking for.
Regards
Elroy -
"The process cannot access the file ..." occurs when export crystal report
We are using a web application developed in VS 2005, .NET 2.0 with the bundled Crystal Reports version 10.2.3600.0 running on a Windows 2003 Standard server with 4GB Ram and Dual CPU's. Periodically we are still receiving the following error in our production environment:
InnerException:
The process cannot access the file because it is being used by another process.
at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType)
This is occuring at the point on the code where the report is being exported to a PDF. Exporting the report to Excel does not appear to cause the error.
Stream outStream = report.ExportToStream(ExportFormatType.PortableDocFormat);
byte[] charStream = new byte[outStream.Length];
outStream.Read(charStream, 0, (int)outStream.Length);
if ((charStream != null) && (charStream.Length > 0))
HttpContext.Current.Response.ContentType = "application/pdf";
HttpContext.Current.Response.OutputStream.Write(charStream, 0, charStream.Length);
HttpContext.Current.Response.End();
report.Close();
report.Dispose();
ds.Dispose();
GC.Collect();
Closing and disposing of the report and dataset (xsd) are followed by a call for garbage collection. We are unable to produce the error in our development environmennt and have not at this point been unable to pinpoint a problematic report. The development team members do have SP1 installed. The report limit has not been changed from the standard of 75 jobs. Reviewed the following document, Re: "The process cannot access the file ..." occurs when export crystal report However this applies to VS 2008. Any suggestions to resolve the issue would be greatly appreciated.
Thanks,
JoeGood morning Joe
For more details re. loading please see the following resources:
[Crystal Reports 2008 Component Engine Scalability|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7025839b-00d4-2b10-33b4-cf0aa9e08412?quicklink=index&overridelayout=true]
[How Can I Optimize Scalability?|http://msdn.microsoft.com/en-us/library/ms225519.aspx]
[Choosing the Right Business Objects SDK for Your Needs|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40bccdfd-88a6-2b10-1da1-c47a54b625a7]
To answer your questions:
Is it correct to presume that the physical number of CPU's is not factored into the CPL? So that a Server with 2 or more processors does not increase the 3 concurrent requests? Therefore 2 CPU's would not increase the CPL limit to 6 processes?
- Server with 2 or more processors does not increase the 3 concurrent requests.
What would be an alternate solution to this limit be, considering the report requests could increase significantly?
- Only way around this would be to web farm the solution
If only only 3 reports can be processed at the same time. If one or more of the reports currently processing is taking longer due to receiving large amounts of data, how does that affect the queue? And what is stored in the queue, data and/or the report? Is this something that could consume memory?
- The report can take as much time as it needs. The result is that one license will not be released until the report is done. There is no data stored, just a pointer to the report. However queued apps will chew up memory, some times to the point of the server becoming unresponsive
I have read in the documentation on this site, that the dataset sent to the engine is copied in memory during report construction. So if a large amount of data is requested for a report (as an example 10+ MB) Could enough users requesting reports drive the memory up because memory usage doubled due to the dataset?
- Absolutely. See [Crystal Reports Guide to ADO.NET|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/401c4455-a31d-2b10-ae96-fa57af5aec20].
Understanding the the CR DLL's are loaded on the first report request, do they get released at some point time due to inactivity or garbage collection? How much memory usage could be consumed when they load and stay resident?
- No they do not. Not as long as the application is running.
Ludek -
Poor image quality when exporting a report to Word
Hi,
We are developing an application where users can download exported Word 2003 or PDF documents generated by Crystal Reports. The problem is that when the format type in the export options is set to Word for Windows the quality of the images in the document degrades immensely. The PDF images are looking fine though.
Literally, the only difference between the two exports is that only one of these lines executes depending on what the user selects when exporting the report.
crxReport.ExportOptions.FormatType = CRAXDRT.CRExportFormatType.crEFTPortableDocFormat;
crxReport.ExportOptions.FormatType = CRAXDRT.CRExportFormatType.crEFTWordForWindows;
I am using Crystal Reports 10.0. Upgrading to Service Pack 6 did not seem to solve the problem. This service pack resolves a similar problem that occurs with PDFs but it's Word documents we're having trouble with. The project we are working on is a .NET 1.1 project and it is hosted in a machine running Windows 2003 Standard Edition with Service Pack 2.
Any help is greatly appreciated
L.Hello Logan:
See if the directions in [this|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] note help.
[This|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] note is not quite what you'd look for, but it may be worth considering to see if it helps.
Other than that, as Ido recommended, despite the difficulties of the number of parameters, see if exporting from the CR designer is any different. If it is not, we're fighting a lost battle. Alternatively, you could create a new report in the CR designer, no database connection needed. Insert an image, export.
Ludek
Maybe you are looking for
-
HI In report i want to find frame(heading the columns ) is displaying in how many pages please give me a solution Regards Yashavanth
-
Recovery Manager Asking for 5 Disks! HP G56-118CA
Hi. Hopefully someone can help me. To replace a corrupted HD, I did the following: 1) I created the factory installed Win 7 resore disks (4 in total). 2) Wiped my drives (not formatted, but wiped) for disposal security. 3) Replaced old HD with new H
-
Some Email Not Displaying Correctly
I have this problem where I get an email that has wonderful pictures (html, css, or somthing) on my iphone and ipad they display correctly. On Mail in OSX on my iMac they are just a bunch of text and hyperlinks. A good example of this is the promot
-
Why won't battery insert properly?
I removed the MacBook 13 battery to clean the screen and keys (it was asleep and not shut down!). Trying to reinsert the battery it won't latch properly. The latch is very difficult to turn and the battery is not fully flush with the case on the latc
-
Mobile version on mac lion's safari
Safari always brings me to Google mobile version, the New York Times mobile version, but many other sites are normal. What's wrong?