Excel export sum of cells problem in ssrs report

Hii all
i have ssrs report when i export it to excel and try to take sum of block of cells , it just shows me row count 
not sum of values which i have selected to sum..
please have a look on this ..
the data in cell is a text ..
help please ..
Dilip Patil..

Hi Dilip,
In Reporting Services, sum function returns the sum of all the non-null numeric values specified by the expression, evaluated in the given scope. If the values are text type values, we couldn’t sum the values. While we can count the values. For more details,
please see:
Sum Function (Report Builder and SSRS)
After export the report to Excel format, we can also aggregate the values in Excel file. Based on my test, we can select a block of cells, then click the Quick Analysis icon to calculate the values. When the values are non-null numeric values, there are
many calculation functions, including sum function. While the values are text type values, there is only count function under TOTALS option. So this is by design. There is no way to sum text type values, it doesn’t make sense.
If there are any misunderstanding, please elaborate the issue for further investigation.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • Excel export are merging cells for data on multiple lines !

    Hello,
    I'm using Crystal Report XI R2, when we are doing an export to Excel with have an unexpected formatting.
    For example the value of the name is on 2 lines:
    => So, on Excel the result is on 2 lines but merged. We want to have this result only on one cells.
    Remark: if we delete the 2nd lines, because cells are merged we obtain the expected result.
    Proposal A:
    Are they any set-up available concerning the formatting of Excel ?
    Proposal B:
    Could we run some VBA when we click on Export button to make queries on the Excel ?

    When they introduced Unicode support in Crystal 9 (I believe), they had to completely re-write the export routines. At that time, they made a decision to change the functionality of the excel export. Crystal is attempting to remain absolutely faithful to the graphical layout of the report as you see it in the viewer. So it creates merged cell sections, empty columns between columns, and empty rows to give you as close to exactly what you see in the viewer as possible. Unfortunately, the result is typically less than useful. Iu2019ve had several conversations with Business Objects (now SAP) with regards to this when they changed it between versions 8.5 and 10, and they have no intention of changing the functionality as it now exists.
    There is a document which is now likely somewhere on the SAP portal that explains what you need to do to obtain the best results when exporting to excel.
    The jist of it is this:
    Line up all of the columns detail data with thier headers, and make sure that data fields are the same size as thier headers. 
    Line up all rows (headers and detail rows). (ie: select everything in the row, right click, align tops, and make the same height)
    cram everything as close together as possible. zero space in the report translates to zero extra collumns and rows in the export.
    the other option is to use the export to data only functionality, but that may not be what you're looking for either.

  • How to change the message in a cell of a ssrs report to a hyperlink dynamically

    Hi,
    I am developing a ssrs report.
    I want to change the message to hyperlink for a particular message and not all messages of a column.
    and link it to another report.
    for e.g-if a cell of the column has values A,B,C then I want to change only cell with values C as hyperlinks and not A and B

    Hi fanu987,
    According to your description that you want to conditional add the hyperlink according to different values in the fields, the link is to another report, right?
    I have tested on my local environment and we have two method to do this: one method is to choose ”Go to report” and add expression to conditional add the link which will link to the subreport for the special values, another method is to create
    an placeholder and add the HTML tag to conditional hyperlink to the URL of the Subreport in the Report Server.
    Details information for your reference:
    Method one: "Go to Report":
    Right click the fields which will add the hyperlink and select the “Textbox Properties”, click the “Font” to add expression conditional add an underline for ”Text1” which have the hyperlink function and change its color to blue. (expression add to
    "Effect" and "color"):
    Effect:
    =IIF(Fields!YourHyperlinkFields.Value="Text1","Underline","default")
    Color:
    =IIF(Fields!YourHyperlinkFields.Value="Text1","Blue","Black")
    Click "Action" to select the "Go to Report" and using this expression in the "Select a report from the list" (If the value is "Text1" then link to Subreport  or it will just refresh on the main report):
    =IIF(Fields!YourHyperlinkFields.Value="Text1","SubreportName","mainReportName")
    If have parameter delivery between main report and the subreport, add expression to omit this parameter for the fields which value is not "Text1":
    =IIF(Fields!YourHyperlinkFields.Value="Text1",false,true)
    Method two: Create Placeholder and using the HTML tags to conditional  add the hyperlink which will link to the subreport URL in the Report Manager.
    Double click the fields which will add the hyperlink and select the "Create Placeholder".
    In the Placeholder properties window, add this expression in the Value to add hyperlink only to the "Text1" and check the "HTML- interpret HTML tags as style under the "Markup type" section:
    =IIF(Fields!YourHyperlinkFields.Value="Text1", "<a href=""Subreport Link in the Report Manager"">" & Fields!YourHyperlinkFields & "</a>" ,Fields!YourHyperlinkFields.Value)
    You can also add parameter in the URL if you have parameter delivery between main report and the subreport. Finally preview will have the report like below:
    If you still have any problem, please provide us more details information.
    Any problem, please feel free to ask!
    Regards
    Vicky Liu

  • Excel export contains a blank row for the Report Header

    Hi,
    I am getting a blank row as the first row in my SSRS report when exported to excel. I have already taken care of following things,
    1. I have hidden all of the Page Header items using Globals
    2. The position of Report Body Tablix is 0, that means there is no space between report header and Report Body.
    I have developed this Report in SSRS 2012, please let me know if any more details are required. I think even after hiding Header Items, excel creates a placeholder for page header. I can't remove header from my reports as it is needed to be published in
    pdf.
    Regards
    Mohit

    Hi Mohit,
    According to your description, you are getting a blank row as the first row in your excel report when you export the report to excel, you have hidden all the items in the Page Header by using the Globals, right?
    This blank row is for the page header, although you have hidden all the items in it, but it will still display when export report to excel. Because we can’t hidden the page Header directly. Normally, we can hidden all the items in the page Header, So in
    the design phase we can also see the blank area above the report body when preview.
    We have an alternative way by add the “SimplePageHeaders” setting in “RSReportserver.config” file, after configuration the page Header will not display in the first row of the worksheet but is rendered to the Excel page header. In Reporting Services, the
    “SimplePageHeaders” default value is “FALSE” and it indicates that the page header is rendered to the first row of the worksheet. In order to display the page header in the Header/Footer section of Excel, we need to set the “SimplePageHeaders” setting value
    to “TRUE”. I did a test on my local machine and here are my steps:
    Navigate to RSReportserver.config file: <drive:> Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\RSReportserver.config.
    Backup the RSReportserver.config file before modify it, open the RSReportserver.config file with Notepad format.
    Set the Excel rendering extension code like this:
    <Render>
    <Extension Name="EXCELOPENXML" Type="Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.ExcelOpenXmlRenderer,Microsoft.ReportingServices.ExcelRendering">
    <Configuration>
    <DeviceInfo>
    <SimplePageHeaders>TRUE</SimplePageHeaders>
    </DeviceInfo>
    </Configuration>
    </Extension>
    </Render>
      4.  Save the RSReportserver.config file.
    Note: Changing the rendering extension parameters only affects rendering operations on the Report Server.
    When I access to Report Manager and export the report(includes a page header) to Excel format, the blank row will disappear now.
    Similar thread for your reference:
    SimplePageHeader property in SSRS 2008 not working
    Removing 2 top blank rows when export to excel in ssrs 2008
    r2 report
    You can find more detail in these articles about the page header and page footer:
    Exporting to Microsoft Excel (Report Builder and SSRS)
    If you still have any question, please feel free to ask.
    Regards
    Vicky Liu

  • Problem running SSRS report on SharePoint 2010 - report renders rendomly

    I have an SSRS master report that contains about 30 sub-reports. These reports are deployed to SharePoint 2010 server. Per my understanding these reports run independently of Reporting Server (execute directly from the cube/database).
    It appears that this master report executes for about 10 minutes and then returns a blank page for most requests. Seldom it returns the master report consisting 30 sub-reports. I have checked Report Server logs using the following query and it shows no trace.
    Use ReportServer
    select * from ExecutionLog3 order by TimeStart DESC
    I set SharePoint 2010 logging to the lowest level and reviewed the log for the run-time of the report. This log shows that the report and sub reports are being executed, however it does not provide any significant error information. Follows a sample of what
    SharePoint log contains for single sub-report execution.
    Timestamp Process TID Area Category EventID Level Message Correlation
    04/02/2014 15:43:18.75 ReportingServicesService.exe (0x0684) 0x14C0 SharePoint Foundation Database 4ohp High Enumerating all sites in SPAdministrationWebApplication.
    04/02/2014 15:43:18.81 ReportingServicesService.exe (0x0684) 0x14C0 SharePoint Foundation Database 4ohp High Enumerating all sites in SPAdministrationWebApplication.
    04/02/2014 15:43:21.07 ReportingServicesService.exe (0x0684) 0x14C0 SharePoint Foundation Performance naqx Monitorable Potentially excessive number of SPRequest objects (16) currently unreleased on thread 15. Ensure that this object or its parent (such as an SPWeb or SPSite) is being properly disposed. This object is holding on to a separate native heap.This object will not be automatically disposed. Allocation Id for this object: {04E40041-2CC7-4CA2-8026-0921BFF7F0A8} Stack trace of current allocation: at Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(SPSite site, String name, Boolean bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext, Byte[] UserToken, String userName, Boolean bIgnoreTokenTimeout, Boolean bAsAnonymous) at Microsoft.SharePoint.SPRequestManager.GetContextRequest(SPRequestAuthenticationMode authenticationMode) at Microsoft.SharePoint.Administration.SPFarm....
    04/02/2014 15:43:21.07* ReportingServicesService.exe (0x0684) 0x14C0 SharePoint Foundation Performance naqx Monitorable ...get_RequestAny() at Microsoft.SharePoint.SPSite.InitUserToken(SPRequest request) at Microsoft.SharePoint.SPSite.SPSiteConstructor(SPFarm farm, Guid applicationId, Guid contentDatabaseId, Guid siteId, Guid siteSubscriptionId, SPUrlZone zone, Uri requestUri, String serverRelativeUrl, Boolean hostHeaderIsSiteName, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(String requestUrl) at Microsoft.ReportingServices.SharePoint.Objects.RSSPImpSite..ctor(String requestUrl) at Microsoft.ReportingServices.SharePoint.Objects.RSSharePointClassFactory.CreateSPSite(String requestUrl) at Microsoft.ReportingServices.SharePoint.ObjectModel.RSSharePointClassFacto...
    04/02/2014 15:43:21.07* ReportingServicesService.exe (0x0684) 0x14C0 SharePoint Foundation Performance naqx Monitorable ...ry.CreateSPSite(String requestUrl) at Microsoft.ReportingServices.SharePoint.Server.SharePointServiceHelper.GetSiteFromExternalPath(String path, Boolean noThrow) at Microsoft.ReportingServices.SharePoint.Server.SharePointServiceHelper.SetExternalRoot(String path) at Microsoft.ReportingServices.SharePoint.Server.SharePointServiceHelper.SyncToRSCatalog(ExternalItemPath path, Boolean createOnly) at Microsoft.ReportingServices.Library.CatalogItemFactory.InternalGetCatalogItem(CatalogItemContext itemContext, Boolean doSync, Boolean& wasSynched) at Microsoft.ReportingServices.Library.SubreportRetrieval.GetSubreportDataSources(ICatalogItemContext reportContext, String subreportPath, NeedsUpgrade needsUpgradeCallback, ICatalogItemContext& subreportContext, IChunkFactory& compil...
    04/02/2014 15:43:21.07* ReportingServicesService.exe (0x0684) 0x14C0 SharePoint Foundation Performance naqx Monitorable ...edDefinitionChunkFactory, DataSourceInfoCollection& dataSources, DataSetInfoCollection& dataSets) at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.CheckCredentialsOdp(Report report, DataSourceInfoCollection dataSources, DataSetInfoCollection dataSetReferences, ICatalogItemContext reportContext, OnDemandSubReportDataSourcesCallback subReportCallback, RuntimeDataSourceInfoCollection allDataSources, RuntimeDataSetInfoCollection allDataSetReferences, Int32 subReportLevel, Boolean checkIfUsable, ServerDataSourceSettings serverDatasourceSettings, Hashtable subReportNames) at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.GetAllDataSources(ICatalogItemContext reportContext, IChunkFactory getCompiledDefinitionFactory, OnDemandSubReportDataSourcesCallback subR...
    04/02/2014 15:43:21.07* ReportingServicesService.exe (0x0684) 0x14C0 SharePoint Foundation Performance naqx Monitorable ...eportCallback, DataSourceInfoCollection dataSources, DataSetInfoCollection dataSetReferences, Boolean checkIfUsable, ServerDataSourceSettings serverDatasourceSettings, RuntimeDataSourceInfoCollection& allDataSources, RuntimeDataSetInfoCollection& allDataSetReferences) at Microsoft.ReportingServices.Library.RSService.ProcessingGetAllDataSources(ReportProcessing repProc, CatalogItemContext reportContext, ReportSnapshot intermediateSnapshot, DataSourceInfoCollection thisReportDataSources, DataSetInfoCollection thisReportDataSets, Boolean checkIfUsable, RuntimeDataSourceInfoCollection& runtimeDataSources, RuntimeDataSetInfoCollection& runtimeDataSets) at Microsoft.ReportingServices.Library.RSService.GetAllDataSources(ReportProcessing repProc, BaseReportCatalogItem report, ReportSnapsho...
    04/02/2014 15:43:21.07* ReportingServicesService.exe (0x0684) 0x14C0 SharePoint Foundation Performance naqx Monitorable ...t intermediateSnapshot, Boolean checkIfUsable, RuntimeDataSourceInfoCollection& runtimeDataSources, RuntimeDataSetInfoCollection& runtimeDataSets) at Microsoft.ReportingServices.Library.RSService.GetAllDataSources(BaseReportCatalogItem report, Boolean checkIfUsable, Boolean useServiceConnectionForRepublishing, ReportSnapshot& compiledDefinition, RuntimeDataSourceInfoCollection& runtimeDataSources, RuntimeDataSetInfoCollection& runtimeDataSets) at Microsoft.ReportingServices.Library.BaseReportCatalogItem.LoadRuntimeDataSources() at Microsoft.ReportingServices.Library.BaseReportCatalogItem.get_RuntimeDataSources() at Microsoft.ReportingServices.Library.GetDataForExecutionAction._GetDataForExecution(CatalogItemContext reportContext, ClientRequest session, String historyID, Dat...
    04/02/2014 15:43:21.07* ReportingServicesService.exe (0x0684) 0x14C0 SharePoint Foundation Performance naqx Monitorable ...aSourcePromptCollection& prompts, ExecutionSettingEnum& execSetting, DateTime& snapshotExecutionDate, ReportSnapshot& snapshotData, Int32& pageCount, Boolean& hasDocMap, PageSettings& reportPageSettings, PaginationMode& paginationMode) at Microsoft.ReportingServices.Library.GetDataForExecutionAction.ExecuteStep(CatalogItemContext reportContext, ClientRequest session, DataSourcePromptCollection& prompts, ExecutionSettingEnum& execSetting, DateTime& executionDateTime, ReportSnapshot& snapshotData, Int32& pageCount, Boolean& hasDocMap, PageSettings& reportPageSettings, PaginationMode& paginationMode) at Microsoft.ReportingServices.Library.CreateNewSessionAction.Save() at Microsoft.ReportingServices.WebServer.ReportExecution2005Impl.LoadReport(String Report, String HistoryID, Execu...
    04/02/2014 15:43:21.07* ReportingServicesService.exe (0x0684) 0x14C0 SharePoint Foundation Performance naqx Monitorable ...tionInfo2& executionInfo) at Microsoft.ReportingServices.WebServer.ReportExecutionService.LoadReport2(String Report, String HistoryID, ExecutionInfo2& executionInfo) at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values) at System.Web.Services.Protocols.WebServi...
    04/02/2014 15:43:21.07* ReportingServicesService.exe (0x0684) 0x14C0 SharePoint Foundation Performance naqx Monitorable ...ceHandler.Invoke() at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest() at System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) at System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr) at System.Web.Http...
    04/02/2014 15:43:21.07* ReportingServicesService.exe (0x0684) 0x14C0 SharePoint Foundation Performance naqx Monitorable ...Runtime.ProcessRequest(HttpWorkerRequest wr) at ReportingServicesHttpRuntime.RsHttpRuntime.ProcessRequest(IRsHttpPipeline rsHttpPipeline)
    04/02/2014 15:43:21.10 ReportingServicesService.exe (0x0684) 0x14C0 SharePoint Foundation Performance naqx Monitorable Potentially excessive number of SPRequest objects (16) currently unreleased on thread 15. Ensure that this object or its parent (such as an SPWeb or SPSite) is being properly disposed. This object is holding on to a separate native heap.This object will not be automatically disposed. Allocation Id for this object: {9D227A96-9050-4123-A663-EECC9CBDA04D} Stack trace of current allocation: at Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(SPSite site, String name, Boolean bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext, Byte[] UserToken, String userName, Boolean bIgnoreTokenTimeout, Boolean bAsAnonymous) at Microsoft.SharePoint.SPRequestManager.GetContextRequest(SPRequestAuthenticationMode authenticationMode) at Microsoft.SharePoint.Administration.SPFarm....
    I have tried running reports on IE 8, IE 9, Chrome and on multiple systems. This random behavior does not change across browsers or machines. Report is rendered for one out of 10 requests (if at all).
    Has someone experienced this problem? I have been spending a lot of time just to see the report output of the master. Unfortunately my SharePoint reports use shared data-sets and it is not possible to run master from Visual Studio 2008 IDE as well. 
    Thanks in advance for your help.
    Palak Mody

    Hi Kenny,
    Thank you for your question.
    From your description, you can to move the parameter pane from right to the top in the SharePoint site, right? I am afraid this cannot be done in SQL Server 2008R2 SSRS reports on SharePoint 2010 integrated mode. And this is a know issue which you can see:http://connect.microsoft.com/SQLServer/feedback/details/545893/allow-ssrs-parameter-panel-to-be-formatted
    Thank you for your understanding.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • PROBLEM IN EXCEL EXPORT. URGENT!!!!!

    hi all,
    I have requriment acco to which i need to download or export the content of the table UI element to excel 2003. I used the a excel export application, but facing problem like. in the below mentioned method name, how are the parameters
    1) com.sap.tc.webdynpro.progmodel.api.IWDNode
    2)java.util.map
    has been taken, i am not able to get this in my application where i need to use this method.
    or is there any other method by which i can export my table data to excel2003. please this really urgent requirment.
    public void exportToExcel2003( com.sap.tc.webdynpro.progmodel.api.IWDNode
    dataNode, java.util.Map columnInfos )
    REGRADS
    SHARAN
    Edited by: saisharan kalla on Dec 20, 2007 6:01 AM

    Hi Sharan,
                    What exactly is the problem u r facing with those parameters??
    U can use this method also for excel export
    /people/subramanian.venkateswaran2/blog/2006/08/16/exporting-table-data-to-ms-excel-sheetenhanced-web-dynpro-binary-cache
    U can check with this also
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/webDynproJava-ExportingTableDataUsingOn-DemandStreams-SAPNW+7.0&
    regards
    Sumit

  • Can the Timeline be printed on an SSRS Report

    Can you print / reformulate the Project Timeline view in an SSRS report?
    Tx
    Andrew
    Andrew Payze

    Hi,
    Please find this
    excellent article by Prasanna about timeline in SSRS report.
    Another one
    here.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Export to Excel Action in MS SSRS Report not exporting all data in Report

    Hi,
    I have developed a complex Report that has many expandable nodes in a table format. The report works fine.
    However, when I export the Report to Excel using Actions --> export to Excel, only the data in expanded nodes is included. The data in collapsed nodes is not included.
    I am looking for approach to include data in expanded nodes in Excel Export. The expanded data can be expanded in Excel.
    Any help in this regard will be appreciated.

    Hi Abhijit PS,
    Per my understanding you are experiencing the issue with the excel report which have add the drill down action, after export to excel only the expanded nodes included and the collapsed nodes is not shown, right?
    Generally, if we expand the nodes before export to excel then the excel will display the expanded details row and keep collapsed the details row which haven't expand, but we have the toggle "+","-" on the left of the Excel to help
    control the expand and collapse, when you click the "+" you can expand the collapsed notes to see the details rows.
    I have tested on my local environment with different version of SSRS and can always see the "+","-" as below:
    On the Top left corner you can find the "1","2", this help to control the "Collapse All" and "Expand All".
    If you can't see the "+","-" in the excel, the issue can be caused by the Excel version you are currently using, and also excel have limit support of this, please provide us the Excel version information and the SSRS version. You
    can reference to this similar thread:
    lost collapsing columns when export to excel
    Please try to export other drill down report to excel and check if they work fine, if they did, the issue can be caused by the drill down action you have added in this report is not correctly, if possible, please try to redesign the report.
    Article below about how to add  Expand/Collapse Action to an Item for your reference:
    http://msdn.microsoft.com/en-us/library/dd220405.aspx
    If your problem still exists, please feel free to ask
    Regards
    Vicky Liu

  • How to freeze the columns in excel exported from SSRS report??

    We have created a report for our client. The client wants the report in excel format. As there are nearly about 30,000 rows in the excel. Client wants us to freeze the column header names in the excel so that even after scrolling down they
    will be able to see the column names.
    can anybody have idea how to achieve this in SSRS?

    Hi Shard,
    Thanks for your post, You can achive your requiremets by using the below logic. hope this will help you.
    Steps to achieve it
    1. Select the tabix and click on Tablix properties.
    2. In the General tab under Column Headers section you can see "Keep header visible while scrolling" checkbox, check it.
    3. Now the header row will be remain fixed in the report.
    OR
    1.    In the grouping pane, make sure to turn on advanced mode (click on the small black down arrow on the far right of the grouping pane) 
    2.  Select the corresponding (Static) item in the row group hierarchy
    3.  In the properties grid, set RepeatOnNewPage to true
    4. KeepwithGroup to After
    OR
    1)Freeze the header of all columns[ Freezing table header ] : To do select static member of table header row from  row groups [ Advanced Mode ] and set  FixedData to true
    2) Freeze the initial 2 columns : To do select static member of columns in column group and set fixedData to true .
    How do you freeze the tablix header row in an Excel export file in SSRS 2008
    Suhas Kudekar
    Mark as Answer if this resolves your problem or "Vote as Helpful" if you find it helpful.
    My Blog
    Follow @SuhasKudekar

  • SSRS report Excel Export file size is huge

    Hello everyone,
    I am facing an issue with SSRS report exporting  to Excel.
    Issue : Exported file size is too big.
    I have a matrix report ( parametrized report ) it fetches data from multiple table.
    initially when
    1) I select all parameters all values
    2) load the report after that
    3) exporting to excel
    so exported file size was about 10 Mb to 12MB
    Now, suddenly from this month exported file size is too big around 62 MB for same data,
    I checked on different forums and tried the solutions but it didn't worked,
    can anyone please suggest me on this.
    My environment is
    Visual studio (BIDS) 2008
    SQL Server 2008 R2
    Excel 2007
    Thanks

    Hi UdayKGR,
    According to your description, when you export a report into an excel file, the exported file size is too huge. Now you want to reduce the file size. Right?
    In this scenario, do you export the report into excel 2003 file? When reports are first exported and saved to Excel 2003, they do not benefit from the file optimization that Excel automatically applies to its *.xls workbook files. The larger file size can
    cause problems for e-mail subscriptions and attachments. To reduce the size of the *.xls files for exported reports, open the *.xls files and then resave the workbooks. Resaving the workbooks typically reduces their file sizes by 40 to 50 percent. Also please
    try to install the Reporting Services 2008 R2 Service Pack 2 and reduce the merged columns in exported excel file. For more information, please see the links below:
    Exporting to Microsoft Excel (Report Builder and SSRS)
    problem
    regarding the size of exported report from reporting services to excel format
    SSRS Export to Excel - Performance
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Access report export to excel shows =sum() text boxes prefixed with the textbox name

    When exporting reports from access to excel the =sum() (group and total sums) text boxes all have the text box name prefixed to them in excel. They look good in access reports. Any way to turn this off? Why is this happening?
    I've seen the same issue on 2 computers running Access 2010. I also tried this in access 2013 and had the same issue.
    See the images below as examples, the first is from access, the second is the report exported to excel.
    Access 2010 (http://i.stack.imgur.com/4roFM.png)
    Exported report viewed in Excel 2010 (http://i.stack.imgur.com/6B1zj.png)

    I've seen the same issue on 2 computers running Access 2010. I also tried this in access 2013 and had the same issue.
    Hi Scott,
    Did you use the same database file? May I know how did you create the report and those TextBoxes?
    I couldn't reproduce your problem, this is what I did:
    Create a sample table and the corresponding report. Group it by one of the field, then give it a footer section. In the footer section I inserted a TextBox and set the ControlSource property to "=Sum([fieldname])". But the name of the TextBox didn't
    show in the exported Excel file. Check the screenshots here:
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SSRS report export to excel

    Hi All,
    I have one developed SSRS report which is a matrix report (having customer name in column area and customer code in row area);
    and it is working ok no issue here. 
    Now I want to do something like :
    Is it possible while exporting to excel, I can interchange rows data to columns data and columns data to rows data ? (so that customer name comes in row area; and customer code comes in column area)
    Hope question is straight forward and clear.
    Regards 

    Hi ,
    I have tried to do dynamic grouping based on the Format of rendering, however in dynamic grouping not allowed to use the Global Built-In Fields, Variables, ReportItems collections.
    Finally only way left for us to use our classical trick to set the visibility on and off.
    This trick can be applied by creating two different Matrix and show one matrix depending on Format rendering.
    My trick is to create two groups within the matrix and hide and show one group based on format rendering.
    I have created detailed level of post in below link.
    https://msbitips.wordpress.com/2015/04/21/ssrs-transpose-columns-of-a-report-dynamically-when-rendering-in-different-format/
    RDL for your reference:-
    <?xml version="1.0" encoding="utf-8"?>
    <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
    <Body>
    <ReportItems>
    <Textbox Name="textbox1">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>SSRS report export to excel</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontSize>14pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <Color>SteelBlue</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style>
    <TextAlign>Center</TextAlign>
    </Style>
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox1</rd:DefaultName>
    <Height>0.36in</Height>
    <Width>5in</Width>
    <Style>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    <Tablix Name="Tablix2">
    <TablixCorner>
    <TablixCornerRows>
    <TablixCornerRow>
    <TablixCornerCell>
    <CellContents>
    <Textbox Name="Textbox14">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>Customer Code</Value>
    <Style />
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>Textbox14</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCornerCell>
    </TablixCornerRow>
    </TablixCornerRows>
    </TablixCorner>
    <TablixBody>
    <TablixColumns>
    <TablixColumn>
    <Width>1in</Width>
    </TablixColumn>
    <TablixColumn>
    <Width>1in</Width>
    </TablixColumn>
    </TablixColumns>
    <TablixRows>
    <TablixRow>
    <Height>0.25in</Height>
    <TablixCells>
    <TablixCell>
    <CellContents>
    <Textbox Name="Textbox18">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Sum(Fields!Result.Value)</Value>
    <Style />
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>Textbox18</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="Textbox16">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value />
    <Style />
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>Textbox16</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    </TablixCells>
    </TablixRow>
    <TablixRow>
    <Height>0.25in</Height>
    <TablixCells>
    <TablixCell>
    <CellContents>
    <Textbox Name="Textbox19">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value />
    <Style />
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>Textbox19</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="Result">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Sum(Fields!Result.Value)</Value>
    <Style />
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>Result</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    </TablixCells>
    </TablixRow>
    </TablixRows>
    </TablixBody>
    <TablixColumnHierarchy>
    <TablixMembers>
    <TablixMember>
    <Group Name="CustomerCode1">
    <GroupExpressions>
    <GroupExpression>=Fields!CustomerCode.Value</GroupExpression>
    </GroupExpressions>
    </Group>
    <SortExpressions>
    <SortExpression>
    <Value>=Fields!CustomerCode.Value</Value>
    </SortExpression>
    </SortExpressions>
    <TablixHeader>
    <Size>0.25in</Size>
    <CellContents>
    <Textbox Name="CustomerCode1">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!CustomerCode.Value</Value>
    <Style />
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>CustomerCode1</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixHeader>
    <Visibility>
    <Hidden>=IIF(Globals!RenderFormat.Name="EXCEL",false,true)</Hidden>
    </Visibility>
    </TablixMember>
    <TablixMember>
    <Group Name="customerName">
    <GroupExpressions>
    <GroupExpression>=Fields!customerName.Value</GroupExpression>
    </GroupExpressions>
    </Group>
    <SortExpressions>
    <SortExpression>
    <Value>=Fields!customerName.Value</Value>
    </SortExpression>
    </SortExpressions>
    <TablixHeader>
    <Size>0.25in</Size>
    <CellContents>
    <Textbox Name="customerName">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!customerName.Value</Value>
    <Style />
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>customerName</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixHeader>
    <Visibility>
    <Hidden>=IIF(Globals!RenderFormat.Name="EXCEL",true,false)</Hidden>
    </Visibility>
    </TablixMember>
    </TablixMembers>
    </TablixColumnHierarchy>
    <TablixRowHierarchy>
    <TablixMembers>
    <TablixMember>
    <Group Name="customerName1">
    <GroupExpressions>
    <GroupExpression>=Fields!customerName.Value</GroupExpression>
    </GroupExpressions>
    </Group>
    <SortExpressions>
    <SortExpression>
    <Value>=Fields!customerName.Value</Value>
    </SortExpression>
    </SortExpressions>
    <TablixHeader>
    <Size>1in</Size>
    <CellContents>
    <Textbox Name="customerName1">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!customerName.Value</Value>
    <Style />
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>customerName1</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixHeader>
    <Visibility>
    <Hidden>=IIF(Globals!RenderFormat.Name="EXCEL",false,true)</Hidden>
    </Visibility>
    </TablixMember>
    <TablixMember>
    <Group Name="CustomerCode">
    <GroupExpressions>
    <GroupExpression>=Fields!CustomerCode.Value</GroupExpression>
    </GroupExpressions>
    </Group>
    <SortExpressions>
    <SortExpression>
    <Value>=Fields!CustomerCode.Value</Value>
    </SortExpression>
    </SortExpressions>
    <TablixHeader>
    <Size>1in</Size>
    <CellContents>
    <Textbox Name="CustomerCode">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!CustomerCode.Value</Value>
    <Style />
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>CustomerCode</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixHeader>
    <Visibility>
    <Hidden>=IIF(Globals!RenderFormat.Name="EXCEL",true,false)</Hidden>
    </Visibility>
    </TablixMember>
    </TablixMembers>
    </TablixRowHierarchy>
    <DataSetName>DataSet1</DataSetName>
    <Top>0.53in</Top>
    <Left>0.5925in</Left>
    <Height>0.75in</Height>
    <Width>3in</Width>
    <ZIndex>1</ZIndex>
    <Style>
    <Border>
    <Style>None</Style>
    </Border>
    </Style>
    </Tablix>
    </ReportItems>
    <Height>1.51958in</Height>
    <Style />
    </Body>
    <Width>5in</Width>
    <Page>
    <LeftMargin>1in</LeftMargin>
    <RightMargin>1in</RightMargin>
    <TopMargin>1in</TopMargin>
    <BottomMargin>1in</BottomMargin>
    <Style />
    </Page>
    <AutoRefresh>0</AutoRefresh>
    <DataSources>
    <DataSource Name="DS">
    <DataSourceReference>DS</DataSourceReference>
    <rd:SecurityType>None</rd:SecurityType>
    <rd:DataSourceID>36063f24-6742-4f6a-a067-0e7a60156149</rd:DataSourceID>
    </DataSource>
    </DataSources>
    <DataSets>
    <DataSet Name="DataSet1">
    <Query>
    <DataSourceName>DS</DataSourceName>
    <CommandText>select 'customer1' customerName,'Code1'CustomerCode,11 Result
    union
    select 'customer1' customerName,'Code2'CustomerCode,14 Result
    union
    select 'customer1' customerName,'Code3'CustomerCode,17 Result
    union
    select 'customer2' customerName,'Code1'CustomerCode,12 Result
    union
    select 'customer2' customerName,'Code2'CustomerCode,15 Result
    union
    select 'customer2' customerName,'Code3'CustomerCode,18 Result</CommandText>
    <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
    </Query>
    <Fields>
    <Field Name="customerName">
    <DataField>customerName</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    <Field Name="CustomerCode">
    <DataField>CustomerCode</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    <Field Name="Result">
    <DataField>Result</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    </Fields>
    </DataSet>
    </DataSets>
    <Language>en-US</Language>
    <ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
    <rd:ReportUnitType>Inch</rd:ReportUnitType>
    <rd:ReportID>3c1c52a7-70c0-4ed8-8f18-f621ef973a48</rd:ReportID>
    </Report>
    Thanks
    Prasad

  • 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

  • Date issue when exporting data to Excel from SSRS report, where date is less than 1/1/1900

    Hi,
    I am using SSRS report to display the data from database. In that data, One of the column is DATE. when I am exporting to Excel all that dates are displaying fine except 1/1/1800 12:00 AM. Instead of 1/1/1800 12:00 AM it is displaying XXXXXXXXXXXXXX values.
    Please help me to fix the issue.
    Please let me know if more clarification required.
    Thanks In advance.

    Hello,
    We can use Cstr() function to convert the Date type data to String data. Suppose we have a field named DateTime, please refer to the expression below:
    =Cstr(Fields!DateTime.Value)
    Then we can get a string type data. There is an article about SSRS expression, you can refer to it.
    http://msdn.microsoft.com/en-us/library/ms157328.aspx
    If you have any questions, please feel free to let me know.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • 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

Maybe you are looking for

  • How to get the job name and details in a report format - sm37 details I mea

    I need to extract the Job names and the job steps that comeout of a report? Is there a standard program for this ? Which tables store this information for me to write a custom report? thanks, Ven

  • How to run workflow when upon login

    I've been looking for articles for the above topic, but can't seem to do so. Some advice would be helpful. Thanks. btw, I'm an automator idiot, so keep the tech language simple please.

  • Static variables in anonymous classes ..

    How can i access a static variable from an anonymous class .. class A{ outerMeth(){ Interface anon=new Interface(){ static int i; // how can i acess 'i' .. thanx in advance ..

  • Calling a SQL script from the PL/SQL block.

    Hello All, I am using oracle 11g database. My requirment is as follows. I have a SQL script to alter the table. But before alter the table I need to test some condition , if the condition satisfy then I have to alter the table through the SQL script.

  • Publish to zip html problem in CP4

    When I elect to publish to  zip and html, it publishes but it does not zip the files. What am I doing wrong? Possibly related -->( when I publish to zip/html or to html,  the html file doesn't run the swf file)