SSRS 2008 Header height issues due to merged columns

When working on a report today we ran into an issue which took us quite some testing to figure out. At some point we decided to switch some of the headers of columns around and when rendering the report again it for some reason created a header which was
way heigher then the biggest text there, showing a huge empty space in the header underneath the text.
My first guess was that there had to be some extra spaces in some column or something alike, which made the cells grow so much. This however was not the case. As a next step I cleared the cells in the headerrow one by one to figure out which field was making
the header grow this much. It turned out to be the header in the 10th column. When I replaced the text in this cell, it did not make the header grow anymore. When I put the original text back, it started growing again. As a next step I removed the text in
this cell, pasted it in another cell (column 11) and rendered the report, with the same huge header again. Out of frustration I tried a desperate last move, copied it to column 1 and rendered the report, the effect was a small header without some weird height.
So the conclusion was that this text was making the header grow hugely in the columns 10 and 11, but not in column 1? What is the difference between column 10/11 and column 1?
Then I noticed that column 7, 8 and 9 were pretty small columns, only holding integer values. The header above this, however, was one word, so the 3 cells in the header for these columns were MERGED. So basicly, only looking at the cells in the header, my
huge text was in the 8th cell from the left, not the 10th (10th column, but due to merging the 8th cell). As a test I editted the width of the 8th column (the middle one of the merged cells) to be as wide as all the other columns holding text. The rendering
of the report, with the huge text in the original headercolumn, now did not grow my header to be extremely big. This combined with the way "hiding" works in SSRS 2008 oppose to SSRS 2005 (ie, in 2008 a hidden cell disappears completly, moving all next cells
up to the left, where as in 2005 a hidden cell just shows as empty in the report), leads me to believe that there is a bug in SSRS 2008 considering cell widths and merged cells? It is like the 10th column header now thinks it is part of the 8th column (being
the 8th cell in its row due to merging) and therefor works with the width of this 8th column to judge how much increased height it needs. In fact it is the width of the 10th column and therefor doesnt need the height it creates, resulting in a huge empty space
underneath the text.
Is this a known issue by Microsoft? Any ETA on this for a fix?

This combined with the way "hiding" works in SSRS 2008 oppose to SSRS 2005 (ie, in 2008 a hidden cell disappears completly, moving all next cells up to the left, where as in 2005 a hidden cell just shows as empty in the report), leads me to believe that
there is a bug in SSRS 2008 considering cell widths and merged cells?
Hi Joel_i,
I was a little confused with the paragraph above. Could you please elaborate it?
Based on the information posted, I tried to reproduce the scenario, but it works fine. During my test, the header cells grow
only when the text in the head column is too long which will caused newline, or there is some extra space in some columns. So, you might need to check the properties of the 8<sup>th</sup> column cell, such asSpaceAfer,
SpaceBefore, to make sure all properties are set rightly.
To provide you further assistance, could you please post the report and dataset with sample data to our data collection E-mail
address?
E-mail: sqltnsp AT microsoft.com (Please replace the AT with @, and remove additional spaces).
Thanks,
Lola Wang
Please remember to mark the replies as answers if they help.

Similar Messages

  • SSRS 2008 Line Chart Issue.

    We are facing an issue with SSRS 2008 charts. We have a report which shows dynamic number of series on a line chart. The data values may not exist for all series for
    the same x axis points. We expected SSRS to connect the missing points as average and have set the empty point option to average.
    The issue is that the
    1)     
    lines for interpolated points only appear when we set the color of empty point to say red and not when it is set to automatic. We need the interpolated line in the same auto
    colour as the original line as we will have markers for the data points from the DB and no markers for empty points.
    2)     
    The interpolated lines extend backwards in the series also – we expect it to only fill the gaps and not extend backward or forward.
    Are these issues known and is there a work around for these issues ? We got your name from one of the SSRS community discussions. Could you please connect us with
    the right person if you are not the right contact for this issue ?
    I also got following reply from one of the MS guy, it says
    Hi Akshay,
    The lines should not go backward.  I have seen this happen before and I’ll have to double-check on what that occurs. If you
    are using a Category Axis, make sure you set the sorting to use a Cdate() expression.  I think that might be it ,but I’ll have to double check.
    As far as using the auto-coloring on the series when you have empty points like this, I don’t think that’s possible.  It would require
    a DCR.  You may need to implement something along the lines described in this article  http://msdn.microsoft.com/en-us/library/aa964128(SQL.90).aspx.
    When I tried the suggestions I over come the auto colouring issue and also used CDATE () but lines still extend bacawords. Can anyone suggest what to do it this situation

    Hi AKshay_Jadhav,
    Firstly, I am not sure who is that MS guy you mentioned without the detail name. Based on my understanding to your issue, I think you could utilize the function
    IsNothing in reoprting services to have a check whether the value is null, if it is Null, you should give a average value to this point, if not leave it to be the original value. Of course, you could achieve this in T-SQL. To
    the color and marker, we could type in the expression in both feature to control their display effort.
    Hope this helps.
    Thanks,
    Challen Fu
    Challen Fu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Acronym Issue due to IR column headings in  InitCap

    Hello ,
    I am using an IR report with around 140 columns.
    Some of the column heading are acronyms .However the IR automatically generates them in InitCap.
    How can I override this ?
    I can go to column attributes and change the heading but then since my report has more than 100 columns; all the columns are not displayed in report attributes for editing.
    Appreciate any pointers/suggestions in this regard.
    Thanks,
    Deepa

    Hi,
    you can get this done in 2 ways:
    1 - Change the query to add another column and the re-generate the report
    2 - If changing query is not possible, you can change the report it self for adding extra field. If you look at the code, it will be more like normal ABAP code. you can easily modify it (If you are ABAPer) for your additional requirements.
    thnx,
    ags.
    Edited by: Agasti Kale on Jun 12, 2008 6:26 PM

  • SSRS 2008 Fixed assets Report Prior YTD Depreciation column, and Accum Current Book Depreciation column

    I have created Fixed assets Report , but our auditors would like to see separate Prior YTD Depr in separate column and current book Depr in separate column , right now Prior year YTD depr amd Currrent year depr showing in column Amount Curreny column, 
    but I would like to show that amount in net column and Current book depr by each to accum and show in where I have $ 710.95 amount ,  can some one help me how can I change my query to come up what I am looking for,  I really need to fix this for
    our auditors,  and donot to show the details by each month,  any help will be really appreciated,  you guys are so good, I wish I know more about Sql, 
    my Query is below
    SELECT        ASSETTABLE.NAME, ASSETTABLE.ASSETTYPE, ASSETTABLE.QUANTITY, ASSETTABLE.UNITOFMEASURE, ASSETTRANS.TRANSTYPE, ASSETTRANS.ASSETID,
                             ASSETTRANS.TRANSDATE, ASSETTRANS.DIMENSION2_, ASSETTRANS.AMOUNTMST, ASSETTRANS.ASSETGROUP, ASSETTRANS.DATAAREAID,
                             ASSETTABLE.UNITCOST
    FROM            ASSETTABLE INNER JOIN
                             ASSETTRANS ON ASSETTABLE.ASSETID = ASSETTRANS.ASSETID
    WHERE        (ASSETTRANS.DATAAREAID = N'AR1') AND (ASSETTRANS.TRANSDATE >= @Paramfromdate) AND (ASSETTRANS.TRANSDATE <= @Paramtodate)
    thanks in advance

    I don't think I understand exactly what the ask is. What field allows you to distinguish between prior year and current depreciation? TRANSTYPE?
    I think your data is fine. I would suggest using a Matrix instead of a table. Just set the column group to group on the field that distinguishes between current and prior year depreciation. Add all of the rest of your column outside the column group so they
    are only scoped by your row group(s). You can add those columns either before or after your column group columns.
    If you have a lot of work into your report already and don't want to create a new matrix which will require you to recreate the work already done on your table. you can convert the existing table to a matrix as described in this technet wiki article:
    http://social.technet.microsoft.com/wiki/contents/articles/21184.ssrs-converting-between-tablix-controls-matrix-table-list.aspx
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • Arial Unicode text overlapping after updgrading from ssrs 2008 to ssrs 2008 R2.

    Hi, 
    we recently upgraded our dev environment to SSRS 2008 R2 SP2. We are seeing issues with Arial Unicode font when exported to PDF. Text is overlapping and hard to read. Below is the example especially with special characters. 
    Please advice
    Any help is appreciated
    Thanks

    Hi Lacchi,
    Since the reports was upgraded from SQL Server Reporting Services (SSRS) 2008 to SSRS 2008 R2, this issue cannot be reproduce in our test environment. It’s hard to say the root reason. Maybe it was caused by the upgrade operations. In your scenario, does
    the issue occur on all reports, or only this report? If this report is not complicated, we suggest you recreating the report and deploy it to report server.
    Hope this helps.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • SSRS 2008 R2 Column Graph, Scalar Axis, Columns Take more than 1 Category

    In SSRS 2008 R2, I have created a stacked column graph with two data columns, using a scalar axis with dates.  If I have two columns next to one another, everything is rendered fine.  If all of my columns have space between them, then the columns
    will take more than just the day that they fit.
    Here is a pastebin
    with a simplified report that exhibits the issue.
    When I render the chart, this is what it looks like.
    Whereas, I would expect something like this.

    Hi clcrutch,
    After testing the issue in my own environment, I can reproduce it. Just as you said, if there are two columns next to each other, then all the columns will be displayed on their own location; if all the columns in the chart exist space between each other, then
    they will expand as wide as possible until there is no place to display all columns. This is by design.
    Besides, if in the second scenario, we can manually add one record in the dataset, and then hide the additional record in the chart to work around this issue. For more details, please see:
    Add one new record with adjacent date of MyDate field and unique value of MyStackedValue field in the dataset as below:
    INSERT INTO #Temp (ID, MyDate, MyStackedValue)
    VALUES (100, '11/24/2013', 1000)
    Right-click the series to open the Series Properties dialog box, select Visibility in the left pane.
    Using the expression below to control the series Visibility:
    =iif(Fields!MyStackedValue.Value="1000",true,false)
    If you have any other questions, please feel free to ask.
    Regards,
    Katherine Xiong  
    Katherine Xiong
    TechNet Community Support

  • Performance issue due to localization code in SSRS 2008

    The reports I am working on consist lot of data and all the customers use it frequently.
    Report title and columns are localized by expressions .
    This takes long time for report rendering and exporting to csv. When I test without the localization code it doesn't take that long .
    Can someone help me to optimize the report. SSRS 2008 R2
    Archana

    Hi Archana,
    In Reporting Services, the total time to generate a reporting server report (RDL) can be divided into 3 elements:
    Total time = (TimeDataRetrieval) + (TimeProcessing) + (TimeRendering)
    TimeRendering means the number of milliseconds spent after the Rendering Object Model is exposed to the rendering extension. It includes the Time spent in on-demand expression evaluations (e.g. TextBox.Value, Style.*). So it is make sense that the report
    with localization code takes longer time.
    Besides, we can improve the report performance form other aspects. For example, we can add filter, sorting and aggregation in dataset query, because filter, sort, and aggregation is more efficient on the data source than during report processing. For more
    details about report performance, please refer to the following article:
    http://technet.microsoft.com/en-us/library/bb522806(v=sql.105).aspx
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • SSRS 2008 R2 - Dynamic header data stays the same when exporting

    Background:
    I have a SSRS 2008 R2 report with a single Tablix.
    The data is grouped by InvoiceID, with each appearing on a separate page.
    I'm displaying some of the detail data in the group header row using Expressions similar to the following:
    ="Invoice # "  & ReportItems!InvoiceID.Value"
    The data referred to by my ReportItems statements are all hidden in the detail row (Advanced Mode, the Hidden Value for the Static Row Group is set to false).
    Problem:
    When I Preview the report in Visual Studio, everything looks as it should - the dynamic header data changes correctly with each group.
    However, whenever I export the results (I've tried all the formats), the header data is the same for every group - its taking the values from the first group and using it in all the groups.
    I've copied the same expressions into my Totals row, and the data is correct when exported; its only happening in my header rows.
    Any help in resolving this is greatly appreciated, thank you.

    Hi Alex,
    According to your description, you have a header with expression contains ReportItems. Now you find it shows incorrect result when exporting to a file. Right?
    In Reporting Services, it has reported some similar issue that the ReportItem returns unexpected result when exporting.  In this scenario, since you just want to show the group name in each page as a header for detail rows. So you can make the
    detail rows group on the Group. Then delete the Group column but still keep the group. After that add a row above detail row (Out side of group) and put in "=Fields!InvoiceID.Value". Now it will show the corresponding Group name
    when you set page break between each group instance. We have tested this case in our local environment. Here are screenshots for your reference:
    Reference:
    SSRS
    field expressions using ReportItem refrences have unexpected results when exporting
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • 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

  • Word Header and footer margin is reset to 0 when exported from SSRS 2008 R2

    Hi,
    I am using SSRS 2008 R2 to create reports. While exporting to Word format, the Header and the Footer margins are getting reset to Zero  and the user has to manually adjust the margins to get the right print. (While Printing, some portion of the
    Header is getting chopped off.). Export to PDF and Excel is fine.
    Please help and let me know if there is a solution to this ? or any service packa availalbe for SSRS 2008 R2 , that can fix this issue.
    Thanks,Poonam

    Hi Poonam,
    Word and SQL Server Reporting Services (SSRS) treat page headers and footers differently. Word actually positions them inside the page margins, whereas SSRS positions them inside the area that the margins surround. As a result, in Word, the page margins
    do not control the distance between the top edge of the page and that of the page header.
    So when exporting report to word, the page header begin from the top edge. However, in Word there are white spaces preserved from the top edge by default. So some portion of the Header is getting chopped off when printing.
    In this case, one way to avoid this issue is using the “From edge” property in Word. Click “Page Setup” in the Print window and then click “Layout” tab, then set the “From edge” property value. The screenshot below is for your reference:
    Another way to avoid this issue is keep some white spaces from the top edge in SSRS. The screenshot below is for your reference:
    If you have any questions, please feel free to ask.. We appreciate your comprehension.
    Regards,
    Charlie Liao

  • Strange issue with a huge SSRS 2008 report (supposed to return 3 million records)

    Hi,
    NOTE: The strange part (as mentioned in title) will come in the end.
    I am running a SSRS 2008 report which fetches 3 million records from a remote server. After around 1 hour the report processing stops and I see an error icon on the lft bottom of the browser window. When I click on that to see the error details it shows
    some PageRequestManagerSQLErrorException with an unknown error message with code 12029 (sometimes 12002).
    When I see the reportserver logs there is an error message logged in it which says "Microsoft.ReportingServices.Library.ReportServerDatabaseUnavailableException: The report server cannot open a connection to the report server database. A connection to the
    database is required for all requests and processing. ---> Microsoft.ReportingServices.Library.ReportServerDatabaseUnavailableException: The report server cannot open a connection to the report server database. A connection to the database is required for
    all requests and processing. ---> System.InvalidOperationException: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size
    was reached."
    The <DatabaseQueryTimeOut> value in the report server configuration file is already having a value set to 7200 seconds(2 hours).
    NOW, the strange part is, when I open the ExecutionLog2 table in ReportServer database, there is an entry for the same report with the status as "success" !!!
    My head is spinning over this issue, somebody please rescue.
    Regards.

    Not sure if this will help but you might give it a try :
    1. Open the Registry Editor.
    2. Navigate to the registry path below.
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\
    3. Create a DWORD value MaxUserPort.
    Value name
    MaxUserPort
    Value data (in Decimal)
    10000
    4. Restart the server.
    5. Check and confirm that the registry key ‘MaxUserPort’ is added.
    Do the same process as above for TCPTimedWaitDelay and reduce the value to 60.  The above steps are to increase the maxuserports and reduce the time_wait in order to free up resources on the server.

  • How do you freeze the tablix header row in an Excel export file in SSRS 2008?

    So this is totally killing me.
    I've found out how to make a tablix header row repeat on each page of a PDF export file in SSRS 2008 (which I won't even get started on because all I can say is that 2005 is way better), but I cannot figure out how to make a simple header row of a tablix
    freeze in an Excel export file.  The tablix is right at the top of the body and spans the entire width of the design area.  How in the world do you get it to freeze in the Excel export file?

    Rashiki777,
    From your information, I get that you want to freeze the tablix header when view the report in Excel. Please follows
    these steps:
     Click
    the header row
    Click
    View menu on  top of the toolbar, then you will Freeze Panes
    Select one kind of Freeze based on your requirement.
    This link supplies the detailed steps
    http://inpics.net/tutorials/excel2007/vis5.html If you have any concern, please feel free to ask.
    Of course,
    you could utilize the list control to display a certain rows on one sheet, then every sheet in Excel will have one header, the steps are following:
    Drag a list into report body, right-click
    Details in Row Groups panel to select Group Properties….
    Click
    Add button, then type in expression =ceiling(RowNumber(nothing)/25)
    in the textbox Note: 25 is just 25 rows per page, you could reset this value based on your requirement.
    Drag the table control into this list control.
    If you want to display every page in every sheet, you could add a page break to the table control in the list.
    Best regards,
    Challen Fu

  • Ssrs 2008 export to csv file display issue

    In a new SSRS 2008 report, I would like to know if there is a way to automatically expand the width of some of the rows when the data is exported to a CSV file so the data is displayed correctly. Here are examples that I am referring to:
    1. In one column where there is suppose to be a date that looks like 12/11/2014, the value of ########## is displayed. The value of 12/11/2014 is what is setup in the SSRS formatting option.
    2. In a number field that is suppose to look like 6039267049 the value that is displayed is 6E+09.
    Basically if I manually expand the width of the columns that I am referring to above, the data is displayed correctly. Thus can you tell me what I can do so that the data is disaplayed correctly in the CSV file and ther user does not need to manually expand
    the column to see the data?

    Hi wendy,
    After testing the issue in my local environment, I can reproduce it when use Excel to open the csv file. As per my understanding, there is no width when we export the report to csv, Excel is just using the default cell sizes when we open the csv. So when
    a date value is wider than the default cell size, it would be displayed as ##########. When a number value is wider than the default cell size, it would use Scientific format.
    As to the date value, we can use the expression =cstr(Fields!Date.Value) to replace the former one =Fields!Date.Value. In this way, the width of the value is narrower than the default cell size, so that the date value can be displayed correctly. For the
    number value, it already narrow down the width with Scientific format. Or we can Select all the cells in the csv file, then click Format| AutoFit Column Width to change all the cells width to fit its corresponding values in Excel level.
    Besides, we can try to export to excel instead of csv. Excel format can inherit the column width in the report. So in this way, we can directly change the width to fit the values in Reporting Services level.
    Hope this helps.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Issues passing drillthrough parameters from a multi-level tablix in SSRS 2008 R2

    Hello,
    I am really struggling with trying creating a drillthrough report that starts with a matrix (tablix)  and passing those  parameters. I am using SSRS 2008 R2.
    Here's my scenario:
    I have a matrix that has mulitple levels where you can drill down. Here an example with all the levels open:  
    Active
    Term
    Leave
    Total
    128
    88
    121
    United States
    110
    80
    85
    New York
    65
    30
    57
    Manhattan
    10
    6
    9
    Buffalo
    20
    23
    4
    Albany
    35
    1
    44
    Texas
    45
    50
    28
    Dallas
    40
    30
    22
    Houston
    5
    20
    6
    France
    18
    8
    36
    Centre
    18
    8
    36
    Blois
    7
    2
    8
    Druex
    6
    1
    15
    Tours
    5
    5
    13
    I want to drillthrough to another report - Detail Report. As I understand it, I would click the 65 for New York and I would see the detail for the 65 Active people. If I click the 2 under Blois, I would see the 2 terminated people in Blois. My understanding
    for this to work, the Detail Report would need a a parameter for each of the level possibilities in the matrix that I could click: Country, State, City as well as the Status (Active, Term, Leave).
    While I understand about passing parameters, what I don't understand is how to pass the parameters if they are blank. Let's say I clicked 65 for New York, I would need to pass State = New York  Status = Active. But the remaining parameters (Country
    and City  would be null). I know Country doesn't need to be Null in this case.
    My Detail Report has the parameters defaulted to Null, but whether I put the parameters in a Filter for the dataset or in the query itself, I cannot get it to ignore the Nulls.
    As a crazy work-around (I think) I can put in the Where of the query  something along the lines of: this:
            and (a.Country in (@paramCountryCode) or NULL  in (@paramCountryCode) )
    and I would need to do that for each parameter. Usually I have to use 'ALL' instead of NULL, I'm note sure why.
    Additionally, in the Report Action of the Main Report, I need to pass those parameters for each level and their Status. I am also not clear whether or not I need to put in all the parameters on each of the levels (Country, State, City) of the matrix. And if
    I do, do I need to make the expressions an IIF statement stating whether or not they are In Scope?
    All the examples I was able to find, only showed one or maybe two parameters being passed. Doing the way I am trying, seems convoluted, error-prone and tedious. I really hope that I am wrong.
    Is there a better way to approach drilltrough reports from a matrix when there are multiple levels?
    Thank you for the help.
    ~J

    Hi Jenna_Fire,
    According to your description, you have a matrix contains total for each group on each level. Now your requirement is, when you click on any number (data field or total), it will go to the detail report which returns all the detail information of the people
    within the group scope. For example, if you click on the total of Active users in United States, it will return the detail information of Active users in New York and Texas. Right?
    In this scenario, we should set the parameter (@Country, @State, @City) allow multiple values in both main and detail report. And in Default Value (@Country, @State, @City), query out all distinct values. In the textbox which contains
    those total values, when set use these parameters to run the report, we only need to pass the parameters of parent groups. For example, if we click on the total of Active users in New York, we only need to pass Country, State, Status to detail report, and
    in the detail report, the City parameter will use all distinct values (Default Values) because we don't pass the City parameter. We have tested this case with sample data in our local environment. Here are steps and screenshots for your reference:
    1. Create parameter Country, State, City and Status in both main report and detail report. Set both Available Value and Default Value get values from query (Create a dataset for each parameter, use "select distinct [column] from [table]" as query). Set allow
    multiple values for parameter Country, State and City in both reports.
    2. In corresponding textbox, pass appropriate parameters in go to report Action.
    4. Filter data in detail report (in where clause or using filters).
    5. Save and preview. It looks like below:
    Reference:
    Using Parameters to Connect to Other Reports
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Issue with SSRS 2008

    Hey, I am trying to generate this oracle database report and getting this error message.
    I am using SSRS 2008 to build this report and the query is not responding.
    It give me: ORA-01858: a non-numeric character was found where a numeric was expected
    When I run my Query in the builder, it returns perfect results, however if I try and run my Query through the report I made in SSRS2008, it gives me this error message. The Query is connecting to a PL/SQL database.
    Here is my query.
    Please I need help. Thanks in advance.
    SELECT distinct
    t.uniquenum,
    t.doc_id,
    t.doc_class,
    t.BAIDS as Business_Account_ID,
    t.doc_category,
    t.doc_type,
    t.trade_entity,
    t.trade_id,
    t.document_date,
    t.trade_date,
    t.inactive,
    t.modified_by,
    t.modified_date,
    t.mime_type,
    t.product_category,
    t.term_matured_date,
    t.doc_classification,
    s.uniquenum
    from fndept.sig_updated_docs_header t
    join fndept.sig_updated_docs_detail s
    on (t.uniquenum = s.uniquenum)
    WHERE
    (Trunc(modified_date) BETWEEN to_date(:BeginDate, 'mm/dd/yyyy') AND to_date(:EndDate, 'mm/dd/yyyy'))
    ORDER BY t.DOC_CLASS, t.DOC_CATEGORY, t.DOC_TYPE, t.modified_date

    Another possibility report parameters :BeginDate and :EndDate are declared in SSRS as DATETIME and therefore being passed to Oracle as DATE. Then construct:
    to_date(:BeginDate, 'mm/dd/yyyy')which expects a string as first parameter but receives a DATE implicitly converts :BeginDate to string using default date format which is most likely set to 'DD-MON-YYYY' and then tries to convert that string to date using 'mm/dd/yyyy' format. Obviously it fails. For example (I'll use SYSDATE):
    SQL> select to_date(sysdate, 'mm/dd/yyyy') from dual;
    select to_date(sysdate, 'mm/dd/yyyy') from dual
    ERROR at line 1:
    ORA-01858: a non-numeric character was found where a numeric was expected
    SQL> If that's the case (:BeginDate and :EndDate are declared in SSRS as DATETIME) - remove offending TO_DATE:
    WHERE
    (Trunc(modified_date) BETWEEN :BeginDate AND :EndDate)
    ORDER BY t.DOC_CLASS, t.DOC_CATEGORY, t.DOC_TYPE, t.modified_dateSY.

Maybe you are looking for

  • "Sorry, a serious error has occurred" in CS6

    Hello, I have recently been receiving this error message alot while working on a project. "Sorry, a serious error has occurred that requires Adobe Premiere Pro to shut down. We will attempt to save your current project." It makes rename the project I

  • Tree Map Issue in Dashboard for IPAD

    Hi Experts, i have used Tree Map in My Xcelsius dashboard but tree map chart is not supported in IPAD.Can any one suggest me the chart which will fulls fills the tree map or if any workaround for that. Using Dashboard Version:Dashboard 4.1 I really w

  • Loud rattling sound from the back of my MacBook?

    It doesn't sound healthy... I don't remember what it sounded like before this sound started - But that just proves that I haven't had this sound since I bought it. It's like a constant rattle (quiet) like something's loose... And then there's a quiet

  • Oracle.DataAccess.Client not found[SOLVED]

    Hello, I am trying to run a stored procedure using C# and I need to use the Oracle.DataAccess.Client but when i enter "using Oracle.DataAccess.Client;" visual studio throws the error: Error 1 The type or namespace name 'Oracle' could not be found (ar

  • A new version of Firefox (Firefox 7) unistalls bitdefender antiphising toolbar and I do not want to unistall it

    I want to install firefox 7 but when I am going to do it a message appears saying that bitdefender antiphising toolbar is going to be uninstall. This happened to me before with another version of firefox and I find it very annoying as I do not want t