SUM problem in SSRS 2005 report

I don't know how best to explain this but will try.
In my SSRS 2005 report, i have one group in my table.  In that group, I have a field that for each company record in my dataset, this field value is repeated for each record. This is a transactions table so you'd expect several records in the dataset for each company..that's not the problem.
example data from dataset:
TransID     CompanyID      FeeGoal
1                1000                  100
2                1000                  100
3                1000                  100
4                2000                   400
5                2000                   400
My SSRS 2005 Report has:
Group1 fields:
CompanyID                                       FeeGoal
=Fields!CustomerNumber.Value        =Fields!FeeGoal.Value
The output when previewed looks like this:
Company   FeeGoal
1000               100
2000               400
Footer            209409730.83 (totals up all feegoals!  not just unique instances!)
I have a footer, and this is where the problem comes in.  I am not able to sum 100 + 400 because if I do a SUM(=Fields!FeeGoal.Value) It doesn't just sume up 100 + 400 but rather (100 + 100 + 100) + (400 + 400)
I can't find a way to sum up basically the top values for FeeGoal which is really what the Group Field is doing since I get 100 and 400 in my group field for feeGoal.  I should end up with a total of 500 for my footer total for Fee Goal but not sure how to get this to work in this unique situation.
FYI: FeeGoal is an input from an ASP.NET form to allow managers to update that one column in my report so that other calculations can rely on it in my group fields.  Once the user finishes, I run a stored proc to insert that fee goal in every customer transaction record / feegoal field
I guess is there a way to do some sort of Distinct SUM in an expression? I also tried:
=SUM((Max(Fields!FeeGoal_AZ.Value)) / Fields!FeeSchedule.Value) * 100)
but you can't have an aggregate function like this, I get this error:
[rsAggregateofAggregate] The Value expression for the textbox 'GrossGoal_gt' contains an aggregate function (or RunningValue or RowNumber functions) in the argument to another aggregate function (or RunningValue). Aggregate functions cannot be nested inside other aggregate functions.
Build complete -- 1 errors, 0 warnings
 

Hi,
I need to generate a SSRS 2005 report like bellow:
OrderNumber    MultiInvoice    SalesAmt        
TaxAmt          TotalAmt
301256              1                     
302                   20                  322
369856                                    
 501                   10                  511
359826                                    
456                    1                    457
785412              2                    
725                    25                  750
totalRow=4      totalRow=2      Sum=1984        Sum=56          
Sum=2040 ----------------------->Footer
--I added textbox in ther footer of that report table, and try to add expression for each, like
1>OrderNumber : =CountRows()
2>MultiInvoice :  =Count(column name) //but it is return no of rows,
where it should be only 2.
How can do that?
3>SalesAmt : =
SUM(Fields!SalesAmt.Value)   //It is not returning actual summation of all rows for
SalesAmt
 column. How can I do that?
Dipen Bhadra

Similar Messages

  • SSRS 2005 report: Cannot bulk load Operating system error code 5(Access is denied.)

    I built a SSRS 2005 report, which calls a stored proc on SQL Server 2005. The proc contains following code:
    CREATE TABLE #promo (promo VARCHAR(1000))
    BULK
    INSERT #promo
    FROM '\\aseposretail\c$\nz\promo_names.txt'
    WITH
    --FIELDTERMINATOR = '',
    ROWTERMINATOR = '\n'
    SELECT * from #promo
    It's ok when I manually execute the proc in SSMS.
    When I try to run the report from BIDS I got following error:
    *Cannot bulk load because the file "\aseposretail\c$\nz\promo_names.txt" could not be opened. Operating system error code 5(Access is denied.).*
    Note: I have gooled a bit and see many questions on this but they are not relevant because I CAN run the code no problem in SSMS. It's the SSRS having the issue. I know little about the security of SSRS.

    I'm having the same type of issue.  I can bulk load the same file into the same table on the same server using the same login on one workstation, but not on another.  I get this error:
    Msg 4861, Level 16, State 1, Line 1
    Cannot bulk load because the file "\\xxx\abc.txt" could not be opened. Operating system error code 5(Access is denied.).
    I've checked SQL client versions and they are the same, I've also set the client connection to TCP/IP only in the SQL Server Configuration Manager.  Still this one workstation is getting the error.  Since the same login is being used on both workstations and it works on one  but not the other, the issue is not a permissions issue.  I can also have another user login into the bad workstation and have the bulk load fail, but when they log into their regular workstation it works fine.  Any ideas on what the client configuration issue is?  These are the version numbers for Management Studio:
    Microsoft SQL Server Management Studio 9.00.3042.00
    Microsoft Analysis Services Client Tools 2005.090.3042.00
    Microsoft Data Access Components (MDAC) 2000.085.1132.00 (xpsp.080413-0852)
    Microsoft MSXML 2.6 3.0 5.0 6.0
    Microsoft Internet Explorer 6.0.2900.5512
    Microsoft .NET Framework 2.0.50727.1433
    Operating System 5.1.2600
    Thanks,
    MWise

  • SubReports Issues in SSRS 2005 Reports Upgrade to 2012

    Hi there!
    We are planning to upgrade our SSRS 2005 reports to SSRS 2012. As I heard there will are some upgrade compatibility issues, I read the below MSDN article and found that the Reports that include subreports may fail in upgrade. Below
    is the article.
    Upgrading a Report with Subreports:
    When a report contains subreports,
    one of four possible states can occur during upgrade:
    The main report and all subreports can be successfully upgraded. They are processed by the SQL Server 2012 Reporting Services (SSRS) report processor.
    The main report and all subreports cannot be upgraded. They are processed by the SQL Server 2005 Reporting Services report processor.
    The main report can be upgraded but one or more subreports cannot be upgraded. The main report is processed by the SQL Server 2012 Reporting Services (SSRS) report processor, but the rendered report shows the message "Error: Subreport
    could not be processed" in the location where the subreport that could not be upgraded would appear.
    The main report cannot be upgraded but one or more subreports can be upgraded. The main report is processed by the SQL Server 2012 Reporting Services (SSRS) report processor, but the rendered report shows the message "Error: Subreport
    could not be processed" in the location where the subreport would appear.
    If you see the error "Error: Subreport could not be processed",
    you must change the definition of the main report or the subreport so that the reports can be processed by the same version of the report processor.
    Can some one please tell me what does the above line mean? What does it mean by the phrase
    change the definition of main report? Does it mean I need to set any property in the main report?
    Please help! Thanks in advance.
    Ammy

    Hi Ammy,
    When you open an .rdl file in Report Designer in SQL Server Data Tools (SSDT), if the report was created for a previous namespace, Report Designer automatically creates a backup file and upgrades the report to the current namespace. This is the only way
    you can upgrade a report definition file. A report with subreports must be processed by the same version of the Reporting Services report processor. When upgrading reports to the current version of the report definition schema, the main report and the subreports
    may or may not be updated at the same time. If the version is not compatible between a report and its subreports, the following message is displayed: "Subreport could not be processed."
    If we want to change the definition of the report, we can open an .rdl file in Report Designer in SQL Server Data Tools (SSDT).  Then the namespace of the report will upgrade to the current namespace. For more information about Identify the Report Schema
    Version, please see the following document:
    http://msdn.microsoft.com/en-us/library/cc627465(v=sql.110).aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Designing SSRS 2005 report using matrix

    I have created a report using ssrs 2005 and matrix.
    i have "to company" column group and "from company" row group. 
    i have filter for the report as "select currency type" - local currency (may be diff for diff companies)
      foreign currency (same for all companies)
    if user selects foreign currency i want to show total column and if user selects local currency then i want to hide total column (since curr can be diff so does not make sense adding)
    i have added subtotal for amount which look like, (rightclick on, =field!tocy.value and add subtotal)
    how to hide total column depending on currency selection ? 
    I tried to rightclick on total and hide it but it only hides the title. It displays column. i can not rightclick on cell right side of amount cell (below total).
    Any solution to hide total column depending on codition ??
    h2007

    Yes you can use an expression as below
    =IIF(Not InScope("<ColumnGroupName>") And Parameters!Currency.Value = "<Local Currency Name>",True,False)
    this should be set as the hidden property expression for the textbox in the data area ie  the one containing SUM(Fields!Amt.Value) as the value expression
     Also see
    http://visakhm.blogspot.in/2010/01/inscope-operator-in-sql-reporting.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Sql server 2005 reports with sql server 2014

    Can i upload SSRS 2005 reports as it is on SSRS 2014 and use it without doing anything extra or without changing anything ??
    I can use SSRS 2005 reports as it is with SSRS 2012. But for SSRS 2014 not sure.
    h2007

    You can upgrade the the RDL schema will be upgraded.
    Report definition (.rdl) files are automatically upgraded in the following ways:
    When you open a report in Report Designer in SQL Server Data Tools (SSDT), the report definition is upgraded to the currently supported RDL schema. When you specify a SQL Server 2008 or SQL Server 2008 R2 report server in the project properties, the report
    definition is saved in a schema that is compatible with the target server.
    When you upgrade a Reporting Services installation to a SQL Server 2014 Reporting Services (SSRS) installation, existing reports and snapshots that have been published to a report server are compiled and automatically upgraded to the new schema the first
    time they are processed. If a report cannot be automatically upgraded, the report is processed using the backward-compatibility mode. The report definition remains in the original schema.
    Reports are not upgraded when you upload a report definition file directly to the report server or SharePoint site. Upgrading a report definition in SQL Server Data Tools is the only way to upgrade the .rdl file.
    After a report is upgraded locally or on the report server, you might notice additional errors, warnings, and messages. This is the result of changes to the internal report object model and processing components, which cause messages to appear when underlying
    problems in the report are detected. For more information, see Reporting Services Backward Compatibility.
    For more information about new features for SQL Server 2014 Reporting Services (SSRS), see
    What's New (Reporting Services).
    Check the below Microsoft link for more information
    http://msdn.microsoft.com/en-us/library/ms143674.aspx
    Mudassar

  • Partially Bold Text in SSRS 2005 using Expression ?

    Hi,
    I am using SSRS 2005.
    I have one requirment. I need to Partially Bold some part of Text in column.
    Below is the Example.
    Name < - -- Column in SSRS 2005 Report.
    This column contains combination of Last Name and First Name. All Database record contains Last name , while in some record our requirment is to append First Name with that.
    That is i aleady handled using Nested IIF Expression.
    Now, i want to display appended First Name in normal while all Last Name whihc is Database Field in BOLD Font.
    How is it possible ?

    Hi
    I have just saw a possible solution (well done Hentie Stassen!)
    The best solution of course is to upgrade to SQL 2008 reporting services.
    But, if you are stuck with SQL 2005, try the following:
    We know that a possible solution is to have 2 textboxes.  One for name, one for surname.  Then make the surname bold.  This works, but spacing is a big problem as we saw in other examples on this thread.  Here is the solution for the
    spacing problem:
    The idea is to have 1 textbox for the name, with lots of surname textboxes at different positions and only have 1 of these surname textboxes visible. 
    More detail:
    1. The left-most textbox is the Name field.
    2. Then have 10 or more Surname textboxes, with Bold and displaying the Surname field.  All surnames text boxes overlapping each other, but each one starting about 1cm to the right of the previous one.  The first Surname textbox starts about 1cm
    to the right of the leftmost point of the Name textbox, overlapping most of it.
    3. Now set the visibility property of each of the "Surname" textboxes.  All will be hidden by default.  Set the visibility of the 1st "surname" to true only if the lenth of the name field is less than 2.  Set the visibility
    of the 2nd "surname" to true only if the length of name =2, etc.
    Have a happy day
    Andre Maakal

  • Want to use the same #TEMP table for multiple datasets in SSRS 2005

    I am using Visual Studio 2005 to create SSRS 2005 reports. The report will consist of two different matrix from two different dataset that will gather data from the same data source. The first dataset is a procedure that inserts data from a query into
    a #temp table and outputs it in the first matrix. I want the second dataset to be a different procedure that references the same #temp table. When the report is pulled then can the #temp table be dropped.

    Try in the Dataset properties.  In the Query tab, under and to the right of "Data source:" click the box with the elipses (...).  In the General tab, toward the bottom, there is a check box beside "Use single transaction".
    Rakesh M J | MCTS,MCITP ( SQL SERVER 2008 )
    Dont forget to mark it as Answered if found useful |
    myspeakonbi

  • SSRS 2005 check render format

    Hi, My SSRS 2005 Report Contain Hyperlinks.
    When I am exporting this Report into PDF, inside PDF this Hyperlink still showing up and when i click on that, it is redirect on that link.
    I want the Hyperlink Active in Report Manager , not after Exporting to PDF.
    How can we Remove Hyperlink, when rendering to PDF ? or how can i possibly check is the report is interactive
    Thanks !!!

    SSRS 2005 does not have RenderFormat !
    Ah sorry I missed you're on SSRS 2005
    Then only way is to create a separate version for PDF with those hyperlinks removed and call it via link from main report by specifying full report viewer url for the report
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • SSRS-2008 reports problem in DMP 4400 standalone(tvzilla)

    Hi guys,
    Does anyone knows how I can to render SSRS-2008 reports in DMP 4400 standalone and its browser(tvzilla = Firefox 2.0.0.18) ?
    My frimework version on DMP is 5.4.1(lastest)
    I google for it and found something like an answer, but it seems to be mostly for Safari and Chrome...
    http://stackoverflow.com/questions/5968082/ssrs-2008-r2-ssrs-2012-reports-are-blank-in-safari-and-chrome
    Thank you in advance !
    Regards,
    Hristo.

    Hoang,
    In SSRS 2005, white spaces are automatically ignored. But in 2008 this behavior gets changed and by default whitespaces are not ignored.  But, There is Report property
    ConsumeContainerWhitespace which is set to False by default. We can remove blank space at end by setting
    ConsumeContainerWhitespace to true.
    The logic to prevent the unnecessary pagebreak is
    - ReportBody width should be less then Pagesize(width) – Left Margin – Right Margin
    - ReportBody height should be less then Pagesize(Height) – Top Margin – Bottom Margin – Header height – Footer height
    Thanks, Sandip Please "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.

  • SSRS 2005 Encoding Problem

    hi , I am using ssrs 2005 for generating PDF the reports. The reports are getting generated with different character encoding. Like if go in the report properties its showing two different character Encoding i.e ANSI and Identity-H encoding.
    Is there fix for this ?

    Hi pradip nayak ,
    According to your description that you are experiencing the issue when you generating the PDF report in SSRS 2005, the reports have different kind of encoding: ANSI and Identity-H, the Identity-H encoding caused some issue, right?
    Generally the PDF rendering extension supports ANSI characters, the Identity-H was developed to support pictographic East Asian character sets, as these comprise many more characters than the Latin, Greek and Cyrillic writing systems. If you have the characters
    turn into CID font in the PDF which will  be the Identity-H encoding, it means that some text content in the PDF Document is now written out using Glyph IDs instead of ANSI characters.
    PostScript fonts.
    If you have some issue with the Identity-H encoding and because this is an known issue and we already have some hotfix to fix it, please install related hotfix according to your current  version :
    That is part of a change we had to make in order to correctly support complex script characters (http://support.microsoft.com/kb/944358 ). These are used in languages such as Gujarati or Hindi.
    This fix is part of the GDI+ GDR (http://support.microsoft.com/kb/954607 ), which is part of SSRS 2005 CU9.
    If you have some problem For text content written out using Glyph IDs(Identity-H encoding) copy/paste is not supported for documents generated by our current PDF renderer. In order to support this our PDF renderer would need to write out a map that maps
    Glyph IDs back to Unicode chars. It is something that is on the list for a future release of SQL Reporting Services.
    Would it be possible for you to deploy and render one of your reports on SSRS 2008? It was already added to SSRS 2008 as part of SQL Server 2008 CU1 which  we added full RichText support, in this case might give you a more granular separation in terms
    of what text content is written out using ANSI characters and  Glyph IDs.
    Article about font embedding  for your reference:
    http://technet.microsoft.com/en-us/library/dd255291(v=sql.105).aspx
    Similar thread which issue resolved for your reference:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/eb43f026-9066-47c9-a9cf-5c2368b3fcb5/report-footer-text-all-unreadable-jumbled-when-exported-to-pdf-after-installed-hotfix-3282?forum=sqlreportingservices
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/eb867e23-726a-4dd5-b522-c69e562d6dc6/reporting-services-2005-now-rendering-pdfs-differently?forum=sqlreportingservices
    If your problem still exists, please feel free to ask
    Regards
    Vicky Liu

  • Migration of Reports from SSRS 2005 to SSRS 2012

    Hi,
    I have 50 Reports in SSRS 2005 currently in production server. My Client want to migrate to SSRS 2012.
    I migrated one RDL using BIDS. I am using list items inside Text Box in those Reports. The Problem is design and style of the Report changed in SSRS 2012.
    Borders are not coming correctly.
    I want the same Report in 2012 also.
    Please suggest what to do?
    Appreciate your help.
    Regards,
    Bala

    Hi Bala,
    Gernerally, when you upgrade a Reporting Services installation to a SQL Server 2012 Reporting Services (SSRS) installation, existing reports and snapshots that have been published to a report server are compiled and automatically upgraded to the new schema
    the first time they are processed. If a report cannot be automatically upgraded, the report is processed using the backward-compatibility mode. The report definition remains in the original schema.
    Reports are not upgraded when you upload a report definition file directly to the report server or SharePoint site. Upgrading a report definition in SQL Server Data Tools is the only way to upgrade the .rdl file.
    As you have mentioned that you got the layout problem when you add the report to BIDS, the issue can be caused the upgration have some limitation.
    In your scenario, i recommend you to upload the rdl file to the SSRS2012 server directly to see if the layout will change, but upload direcly will not upgrate this report.
    Details information about upgrade and migration in the below articles for your reference:
    Upgrading Reports
    Upgrade and Migrate Reporting Services
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • 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

  • What is the best way to create a SSRS 2005 Line Chart Report for a 12 month period?

    I'm looking for advice on how to create a SQL Server 2005 query and line chart report for SSRS 2005.
    I need to display the peak number of patients assigned to a medical practice each month for a 12 month period based on the end-user selecting a
    single month and year.
    I've previously created a report that displays all patients assigned to the practice for any single month but I’m looking for advice on how to
    how to produce a resultset that shows the peak number of patients each month for a 12 month period. I thought about creating a query that returns the peak count for each month (based on my previously created report which displays all patients assigned to the
    practice for any single month) and then use a UNION statement to join all 12 months but I'm sure that isn't the most efficient way to do this. The other challenge with this approach (twelve resultsets combined via a UNION) is that the end-user needs to be
    able to select any month and year for the parameter and the report needs to display the 12 month period based on the month selected (the month selected would be the last month of the 12 month period).
    For the report I’ve previously created that displays all patients assigned to the practice for any single month, the WHERE statement filters the
    resultset on two fields:
    Start Date - The date the patient was assigned to the practice. This field is never null or blank.
    End Date - The date the patient left the practice. This field can be null or blank as active patients assigned to the practice do not have an End Date. When the patient
    leaves the practice, the date the patient left is populated in this field.
    Using these two fields I can return all patients assigned to the practice during Nov 2012 by looking for patients that meet the following criteria:
    start date prior to 11/30/2012 (using the last day of the month selected ensures patients added mid-month would be included)
    AND
    end date is null or blank (indicates the patient is active) OR the end date is between 11/1/2012 -11/30/2012 (returns patients that leave during the month
    selected)
    Regarding the query I need to create for the report that displays the peak count each month for 12 months, I'm looking for advice on
    how to count patients for each month the patient is assigned to the practice if the patient has been assigned for several months (which applies to most patients). Examples are:
    John Doe has a start date of 6/01/2012 and an End Date of 10/07/2012
    Sally Doe has a start date of 8/4/2012 and no End Date (the patient is still active)
    Jimmy Doe has a  start of 7/3/2012 and an End Date of 9/2/2012
    Given these examples how would I include John Doe in the peak monthly count each month for May - October, Sally Doe in the peak monthly count for
    August - December and Jimmy Doe in the peak monthly count for July – Sept if the end-user running the report selected December 2012 as the parameter?
    Given the example above and the fact I'm creating a line chart I think the best way to create this report would be a resultset that looks like
    this:
    Patient Name              
    Months Assigned
    John Doe
    June 2012
    John Doe                     
    July012
    John Doe                     
    Aug 2012
    John Doe                     
    Sept 2012
    John Doe
    Oct 2012
    Sally Doe                     
    Aug 2012
    Sally Doe                     
    Sept 2012
    Sally Doe
    Oct 2012
    Sally Doe                     
    Nov 2012
    Sally Doe
    Dec 2012
    Jimmy Doe                  
    July 2012
    Jimmy Doe
    Aug 2012
    Jimmy Doe
    Sept 2012
    From the resultset above I could create another resultset that would count\group on month and year to return the peak count for each month:
    June 2012 - 1
    July 2012 – 2
    Aug 2012 - 3
    Sept 2012 - 3
    Oct 2012 - 2
    Nov 2012 - 1
    Dec 2012 - 1
    The resultset that displays the peak count for each month would be used to create the line chart (month would be the X axis and the count would
    be the y axis).
    Does this sound like the best approach?
    If so, any advice on how to create the resultset that lists each patient and each month they were assigned to the practice would be greatly appreciated.
    I do not have permissions to create SPs or Functions within the database but I can create temp tables.
    I know how to create the peak monthly count query (derived from the query that lists each patient and month assigned) as well as the line chart.
    Any advice or help is greatly appreciated.

    Thanks for the replies. I reviewed them shortly after they were submitted but I'm also working on other projects at the same time (hence the delayed reply).
    Building a time table and doing a cross join to my original resultset gave me the desired resultset of the months assigned between dates. What I can't figure out now is how to filter months I don't want. 
    Doing a cross  join between my original resultset that had two dates:
    08/27/2010
    10/24/2011
    and a calendar table that has 24 rows (each month for a two year period)
    my new resultset looks like this:
    I need to filter the rows in yellow as the months assigned for stage 3 that started on 8/27/2010 should stop when the patient was assigned to stage 4 on 10/24/2011.
    You'll notice that Jan - Sept 2011 isn't listed for Stage 4 assigned on 10/24/2011 as I included a filter in the WHERE clause that states
    the Months Assigned value must be greater than or equal to the date assigned value.
    Any advice would be appreciated.

  • SSRS 2005 - Dynamically control the width of columns in Matrix report or Hide any column

    Hi All,
    I just want to hide some column without having white space in Matrix report in SSRS 2005. Although I am aware of that perhaps this feature is not available on SSRS 2005. So, I just want to know if we can handle the width of column dynamically(using expressions)
    in matrix report?
    Please help. Thanks in Advance.
    Regards
    Kumud

    Hi Kumud,
    Based on my test, SSRS is not support column dynamically width. It has property “CanGrow” of text box. If we configure the property to True, it will wraps to next line if needed. In SSRS 2008, we can hide some columns without white space. If possible, I
    recommend you update your SSRS 2005 to SSRS 2008.
    There is a similar issue, you can refer to it.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/9e6043f1-c458-4540-be59-d37b02feab8a/dynamic-column-width-for-a-report?forum=sqlreportingservices
    Alternatively, I recommend you that submit a wish to the Microsoft Connect at
    https://connect.microsoft.com/SQLServer/Feedback. Your feedback is valuable for us to improve our products and increase the level of service provided.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • SSRS 2012: Report Header PrintOnFirstPage-problem after report migration from SSRS 2008

    Hi ,
    I developed my report using VS 2008 IDE and the report header property "PrintOnFirstPage" is set to False.
    The content of the header are some textboxes and lines that should show only on page number > 1.
    This works fine in VS 2008 IDE in preview mode as well as with reports rendered by SSRS 2008 report server.
    Recently I migrate&convert the same report to SSRS 2012 I noticed a different rendering behaviour of my report.
    So in VS 2010 preview mode, the page headers content (textboxe etc.)  is not visible on first page but the headers space did not colapse as it does in VS 2008 IDE preview mode.
    I checked all the report properties but unable to find a solution to my problem.
    I was able to reprduce the same behaviour by creating a new report using VS2010 IDE.
    Any ideas are greatly appreciated
    Thanks
    Bodo

    Hi BodoHH,
    I have tested on my local enviorment and can't reproduce the issue, the issue can be caused by many factors, it can be caused by the properties setting and can also caused by the visual studio, Detais information below for your reference:
    As you mentioned that you have check all the report properties, please also check the tablix,Page Header,report body properties to see if the size are the same with that in the SSRS2008.
    Please open this rdl report in the report builder to see if the print layout is correct, if it works fine, the issue can be caused by the visual studio.
    Please also try to upload the rdl report to report manager to check the layout.
    Please also provide the snaphot of the layout in VS2010 to let us better analysis about the issue.
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

Maybe you are looking for

  • Exporting After Effects Files From Final Cut Pro?

    Hey i have a few short clips from adobe after effects that i have exported them from that and imported them into FCP i am now wanting to export the video file from FCP when i do somtimes it will be just a still image even though i have made it a quic

  • Macbook Pro wake from sleep fails

    I am having problems with my Macbook Pro 15" waking from sleep. I was not having these problems until I re-installed OS X a few weeks ago, and now almost everytime I close the lid and take it home from work it will not wake up properly. It appears to

  • How to retrieve client's IP address in servlet

    thanks

  • Very slow internet and email designated an "Apple" problem by my server

    I have had my mac mini for about 15 months and recently it has become unbearably slow especially on the internet. I have DSL and only have one computer. Most of the time I am not able to send emails before it times out. My provider, AT&T, yesterday d

  • Problem with the program symbols in quality

    Dear all, I am facing a problem with the program symbols. I have added new global fields in development, i have called those definations in text names. It is working fine. After transporting these  program changes in to quality these new global defin