SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


ssrs 2008 r2 export to excel


ssrs 2008 r2 export to excel

Author
Message
wendy elizabeth
wendy elizabeth
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1221 Visits: 772
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?
Mark Fitzgerald-331224
Mark Fitzgerald-331224
Hall of Fame
Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)

Group: General Forum Members
Points: 3877 Visits: 1538
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
wendy elizabeth
wendy elizabeth
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1221 Visits: 772
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?
Mark Fitzgerald-331224
Mark Fitzgerald-331224
Hall of Fame
Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)

Group: General Forum Members
Points: 3877 Visits: 1538
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
wendy elizabeth
wendy elizabeth
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1221 Visits: 772
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. "?
Mark Fitzgerald-331224
Mark Fitzgerald-331224
Hall of Fame
Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)

Group: General Forum Members
Points: 3877 Visits: 1538
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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search