ssrs 2008 r2 export to excel

  • I have an SSRS 2008 R2 report, where I have users that want to export the reports to excel. They are able to export the reports to excel, and they want to be able to sort the data in excel. However they are getting an error message that says there is a problem due to 'merged cells'. Thus can you tell me what you would do to solve the problem?

  • If you have not used merged cells within your report then this would be caused by text boxes such as headers and footers that do not exactly match the widths of the columns within your table.

    Example:

    Text box for header 2.5 inches wide at top

    Table with columns 1inch, 2 inches and 2 inches wide.

    Output:

    4 columns, 1 inch..1.5 inches..0.5 inches..2 inches

    Header is a merged cell covering merged excel columns A-B

    Table column 1 : excel A

    Table column 2 : excel B-C

    Table column 3 : excel D

    If the header changed width to match one of the columns then no problem.

    Text box for header 3 inches wide at top

    Table with columns 1inch, 2 inches and 2 inches wide.

    Output:

    3 columns, 1 inch..2 inches..2 inches

    Header is a merged cell covering merged excel columns A-B

    Table column 1 : excel A

    Table column 2 : excel B

    Table column 3 : excel C

    Table with no allow auto filter in excel.

    Fitz

  • Thanks for your answers! I still have the following additional questions:

    1. "Table with no allow auto filter in excel.'? Can you tell me what you mean by the statement?

    2. Is the export problem related to one tablix within the report? If the report has more than one tablix, would that make a difference?

    If more than one tablix in the report causes a problem, how can I can certain each tablix lines up correctly?

    3. Is there a way to make certain all the column headers and rows have the same width? If so, how would you accomplish this task?

  • wendy elizabeth (11/3/2013)


    Thanks for your answers! I still have the following additional questions:

    1. "Table with no allow auto filter in excel.'? Can you tell me what you mean by the statement?

    2. Is the export problem related to one tablix within the report? If the report has more than one tablix, would that make a difference?

    If more than one tablix in the report causes a problem, how can I can certain each tablix lines up correctly?

    3. Is there a way to make certain all the column headers and rows have the same width? If so, how would you accomplish this task?

    1. Typo should have been Table will now allow auto filter in excel

    2. Same rules apply to multiple tables. Must have save widths. I have not tried page breaks to see if different pages have different column structures. This becomes very difficult with sub reports where the tables are not on the screen at the same time.

    3. When using SSRS 2008 and later a blue line appears to allow alignment guides when dragging columns to other available objects. You can also use the width property in the properties window for each column.

    Fitz

  • Can you tell me what you mean by the following:

    "When using SSRS 2008 and later a blue line appears to allow alignment guides when dragging columns to other available objects. "?

  • Better for you to try an example.

    1. Create a new report and add two text fields one below the other, does not matter how far apart they are.

    2. Change the width of one of the text boxes.

    3. Now when you change the width of the other box to match a blue line will appear when then are aligned.

    Fitz

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply