Thursday, March 29, 2012
excel formatting problem... could this be a bug?
I have a table on my report. Above the header for 5 of my columns, I need
to place a cell that spans all those columns. It looks like this:
--
| h |
--
| h | h | h | h | h |
--
| d | d | d | d | d |
--
h = header row
d = detail row
so, to do this I took the header cell for the left most column and merged it
with the
4 other header cells. Then I put a rectangle into that cell, and drew a
line through the middle to create the two level effect in the single header
cell. Then, where each 'h' is in the above diagram, I put a text box with
some text in it that serves as a label. So, basically all 5 of my detail
columns have their own individual header, as well as a header that applies to
all of them.
When I run the report, and export it to PDF, everything looks great. When I
export to excel, I get a strange effect. SRS seems to want to put the cell
for the textbox in the bottom right most 'cell' in the header in a row below
the other 4 in the second header 'row'.. So, it looks like this in Excel:
--
| h |
--
| h | h | h | h | |
--
| h |
| --|
| d | d | d | d | d |
--
h = header row
d = detail row
Anybody have any idea what's going on here? If I remove the 5th text box in
the header (the one that's causing the problem), excel formats fine.
It would be nice if I could merge cells across rows as well as columns,
because that would make this problem trivial.
Any help is greatly appreciated.
Jeff
JeffJeff,
Have you tried inserting a second table header row above the original table
header row? Then do the merging on the inserted header row. I just did this
on a report at my work. Doing so gave me this effect:
| H1 |
|H1|H2|H3|H4|
|D1|D2|D3|D4|
H1 = Table header inserted by me.
H2 = Orginal header inserted by RS
D..= Detail records
To do this right click on the handle for the exisitng table header row and
click Insert Row Above. The formatting stayed when I downloaded the report
to Excel. Hope this helps.
"Jeff" wrote:
> Okay, I'll try my best to explain this....
> I have a table on my report. Above the header for 5 of my columns, I need
> to place a cell that spans all those columns. It looks like this:
> --
> | h |
> --
> | h | h | h | h | h |
> --
> | d | d | d | d | d |
> --
> h = header row
> d = detail row
> so, to do this I took the header cell for the left most column and merged it
> with the
> 4 other header cells. Then I put a rectangle into that cell, and drew a
> line through the middle to create the two level effect in the single header
> cell. Then, where each 'h' is in the above diagram, I put a text box with
> some text in it that serves as a label. So, basically all 5 of my detail
> columns have their own individual header, as well as a header that applies to
> all of them.
> When I run the report, and export it to PDF, everything looks great. When I
> export to excel, I get a strange effect. SRS seems to want to put the cell
> for the textbox in the bottom right most 'cell' in the header in a row below
> the other 4 in the second header 'row'.. So, it looks like this in Excel:
> --
> | h |
> --
> | h | h | h | h | |
> --
> | h |
> | --|
> | d | d | d | d | d |
> --
>
> h = header row
> d = detail row
> Anybody have any idea what's going on here? If I remove the 5th text box in
> the header (the one that's causing the problem), excel formats fine.
> It would be nice if I could merge cells across rows as well as columns,
> because that would make this problem trivial.
> Any help is greatly appreciated.
>
> Jeff
> Jeff|||Hmmm.
I vaguely remember trying something like this, but maybe I didn't set it up
right. I'll give it another shot. Thanks.
"bsod55" wrote:
> Jeff,
> Have you tried inserting a second table header row above the original table
> header row? Then do the merging on the inserted header row. I just did this
> on a report at my work. Doing so gave me this effect:
> | H1 |
> |H1|H2|H3|H4|
> |D1|D2|D3|D4|
> H1 = Table header inserted by me.
> H2 = Orginal header inserted by RS
> D..= Detail records
> To do this right click on the handle for the exisitng table header row and
> click Insert Row Above. The formatting stayed when I downloaded the report
> to Excel. Hope this helps.
> "Jeff" wrote:
> > Okay, I'll try my best to explain this....
> >
> > I have a table on my report. Above the header for 5 of my columns, I need
> > to place a cell that spans all those columns. It looks like this:
> >
> > --
> > | h |
> > --
> > | h | h | h | h | h |
> > --
> > | d | d | d | d | d |
> > --
> >
> > h = header row
> > d = detail row
> >
> > so, to do this I took the header cell for the left most column and merged it
> > with the
> > 4 other header cells. Then I put a rectangle into that cell, and drew a
> > line through the middle to create the two level effect in the single header
> > cell. Then, where each 'h' is in the above diagram, I put a text box with
> > some text in it that serves as a label. So, basically all 5 of my detail
> > columns have their own individual header, as well as a header that applies to
> > all of them.
> >
> > When I run the report, and export it to PDF, everything looks great. When I
> > export to excel, I get a strange effect. SRS seems to want to put the cell
> > for the textbox in the bottom right most 'cell' in the header in a row below
> > the other 4 in the second header 'row'.. So, it looks like this in Excel:
> >
> > --
> > | h |
> > --
> > | h | h | h | h | |
> > --
> > | h |
> > | --|
> > | d | d | d | d | d |
> > --
> >
> >
> > h = header row
> > d = detail row
> >
> > Anybody have any idea what's going on here? If I remove the 5th text box in
> > the header (the one that's causing the problem), excel formats fine.
> >
> > It would be nice if I could merge cells across rows as well as columns,
> > because that would make this problem trivial.
> >
> > Any help is greatly appreciated.
> >
> >
> > Jeff
> > Jeff
Tuesday, March 27, 2012
Excel Exports Hidden Images
I think this may be a bug with SSRS 2005 but wanted to verify in case anyone
has a remedy. My report contains a table with an image on the detail row
whose visibility is toggled based on a value. Everything works as expected
when viewing the report onscreen or exporting to PDF. However, the Excel
Export ignores the visibility expression and displays the image for every
detail row. Any thoughts or workarounds?
Thanks in advance!
KathyOn Jul 6, 10:44 am, Kathy <K...@.discussions.microsoft.com> wrote:
> Hello,
> I think this may be a bug with SSRS 2005 but wanted to verify in case anyone
> has a remedy. My report contains a table with an image on the detail row
> whose visibility is toggled based on a value. Everything works as expected
> when viewing the report onscreen or exporting to PDF. However, the Excel
> Export ignores the visibility expression and displays the image for every
> detail row. Any thoughts or workarounds?
> Thanks in advance!
> Kathy
As far as I know, you are correct. Hopefully this will be corrected in
a future SP or in SSRS 2008. Sorry that I could not be of further
assistance.
Regards,
Enrique Martinez
Sr. Software Consultant|||Thank you for the quick response. Have a lovely day!
"EMartinez" wrote:
> On Jul 6, 10:44 am, Kathy <K...@.discussions.microsoft.com> wrote:
> > Hello,
> >
> > I think this may be a bug with SSRS 2005 but wanted to verify in case anyone
> > has a remedy. My report contains a table with an image on the detail row
> > whose visibility is toggled based on a value. Everything works as expected
> > when viewing the report onscreen or exporting to PDF. However, the Excel
> > Export ignores the visibility expression and displays the image for every
> > detail row. Any thoughts or workarounds?
> >
> > Thanks in advance!
> > Kathy
>
> As far as I know, you are correct. Hopefully this will be corrected in
> a future SP or in SSRS 2008. Sorry that I could not be of further
> assistance.
> Regards,
> Enrique Martinez
> Sr. Software Consultant
>|||On Jul 9, 8:38 am, Kathy <K...@.discussions.microsoft.com> wrote:
> Thank you for the quick response. Have a lovely day!
> "EMartinez" wrote:
> > On Jul 6, 10:44 am, Kathy <K...@.discussions.microsoft.com> wrote:
> > > Hello,
> > > I think this may be a bug with SSRS 2005 but wanted to verify in case anyone
> > > has a remedy. My report contains a table with an image on the detail row
> > > whose visibility is toggled based on a value. Everything works as expected
> > > when viewing the report onscreen or exporting to PDF. However, the Excel
> > > Export ignores the visibility expression and displays the image for every
> > > detail row. Any thoughts or workarounds?
> > > Thanks in advance!
> > > Kathy
> > As far as I know, you are correct. Hopefully this will be corrected in
> > a future SP or in SSRS 2008. Sorry that I could not be of further
> > assistance.
> > Regards,
> > Enrique Martinez
> > Sr. Software Consultant
You're welcome. Let me know if I can be of further assistance.
Regards,
Enrique Martinez
Sr. Software Consultant
Excel exporting in RS2005
We've been having 'Subreports within table/matrix cells are ignored.'
problems in one of the reports we have designed in RS 2000, this is
well documented as a limitation.
I would like to know if this is still a limitation in the upcoming 2005
Reporting Services?
Siew FaiHello Siew,
Based on my test, this is still a limitation in SQL 2005 RS. From the
feedback of product group, they will consider fix this issue when
re-writing the extension. If we have any update on this, we will let you
know.
Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--
| From: "Siew Fai" <siewfai.hoy@.gmail.com>
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| Subject: Excel exporting in RS2005
| Date: 1 Nov 2005 14:29:46 -0800
| Organization: http://groups.google.com
| Lines: 12
| Message-ID: <1130884186.657018.118660@.g47g2000cwa.googlegroups.com>
| NNTP-Posting-Host: 203.217.67.62
| Mime-Version: 1.0
| Content-Type: text/plain; charset="iso-8859-1"
| X-Trace: posting.google.com 1130884191 26947 127.0.0.1 (1 Nov 2005
22:29:51 GMT)
| X-Complaints-To: groups-abuse@.google.com
| NNTP-Posting-Date: Tue, 1 Nov 2005 22:29:51 +0000 (UTC)
| User-Agent: G2/0.2
| X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
.NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
| Complaints-To: groups-abuse@.google.com
| Injection-Info: g47g2000cwa.googlegroups.com; posting-host=203.217.67.62;
| posting-account=W-T95Q0AAABWrZAGzmtXCMOc3JBrVGnv
| Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
ne.de!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.gigan
ews.com!postnews.google.com!g47g2000cwa.googlegroups.com!not-for-mail
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:55499
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| Hi,
|
| We've been having 'Subreports within table/matrix cells are ignored.'
| problems in one of the reports we have designed in RS 2000, this is
| well documented as a limitation.
|
| I would like to know if this is still a limitation in the upcoming 2005
| Reporting Services?
|
|
| Siew Fai
|
||||Thanks for the prompt reply.
I will await any updates from you.
Regards,
Siew Fai
Peter Yang [MSFT] wrote:
> Hello Siew,
> Based on my test, this is still a limitation in SQL 2005 RS. From the
> feedback of product group, they will consider fix this issue when
> re-writing the extension. If we have any update on this, we will let you
> know.
> Regards,
> Peter Yang
> MCSE2000/2003, MCSA, MCDBA
> Microsoft Online Partner Support
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> =====================================================>
> This posting is provided "AS IS" with no warranties, and confers no rights.
> --
> | From: "Siew Fai" <siewfai.hoy@.gmail.com>
> | Newsgroups: microsoft.public.sqlserver.reportingsvcs
> | Subject: Excel exporting in RS2005
> | Date: 1 Nov 2005 14:29:46 -0800
> | Organization: http://groups.google.com
> | Lines: 12
> | Message-ID: <1130884186.657018.118660@.g47g2000cwa.googlegroups.com>
> | NNTP-Posting-Host: 203.217.67.62
> | Mime-Version: 1.0
> | Content-Type: text/plain; charset="iso-8859-1"
> | X-Trace: posting.google.com 1130884191 26947 127.0.0.1 (1 Nov 2005
> 22:29:51 GMT)
> | X-Complaints-To: groups-abuse@.google.com
> | NNTP-Posting-Date: Tue, 1 Nov 2005 22:29:51 +0000 (UTC)
> | User-Agent: G2/0.2
> | X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
> .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
> | Complaints-To: groups-abuse@.google.com
> | Injection-Info: g47g2000cwa.googlegroups.com; posting-host=203.217.67.62;
> | posting-account=W-T95Q0AAABWrZAGzmtXCMOc3JBrVGnv
> | Path:
> TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
> ne.de!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.gigan
> ews.com!postnews.google.com!g47g2000cwa.googlegroups.com!not-for-mail
> | Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:55499
> | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
> |
> | Hi,
> |
> | We've been having 'Subreports within table/matrix cells are ignored.'
> | problems in one of the reports we have designed in RS 2000, this is
> | well documented as a limitation.
> |
> | I would like to know if this is still a limitation in the upcoming 2005
> | Reporting Services?
> |
> |
> | Siew Fai
> |
> |
Excel export missing table header
I am working with RS2000 SP2 and VS2003.
I have a simple report with just one table, two levels of grouping with subtotals and a table header. There is also a separate page header. The report renders correctly on screen and when printed.
When I export the report in Excel format the detail lines, group sub-totals and page head appear. However, the problem I have is that the table header is not shown. So the user can't make out what data is shown each column. How can I get the table header to appear when exporting to Excel?
TIA, Magendo_man
To complicate matters further, I have added another table to this report, which is a copy of the original one. This table uses the same dataset but is filtered and sorted differently, with no grouping and a footer total. I set the table to have a page break before it is printed.
Now when I export to Excel I get the same problem with missing table header for the first table, but I do get the table header for this second table.
TIA, Magendo_man
Excel Export error in RS200SP2 when nesting tables within matirx
I was hoping someone could help out with this issue....I've got a report I created in Reporting Services 2000 SP2 where I am nesting table elements within the row and detail sections of the matrix. This allows me to have multiple items within my "row" data with column headings, and works perfectly fine within the designer, and viewer, and whenever I export it to any format other than Excel. Exporting to excel results in a "Specified cast is not valid" error.
To me this seems to be a bug in the Excel rendering extension, since it seems to be supported in RDL. Has anyone else run into this? Is there a fix to the renderer or a workaround that anyone is aware of?
I'd be happy to post the RDL if anyone is interested.
Thanks,
Casey
The Excel rendering extension does not support exporting nested tables within tables/matrices, so this won't work for you. The behavior is documented in books online somewhere.
However, normally the "nested" region should simply be exported as a blank space without throwing an error. A bug was reported on this problem, and it is fixed in 2005 (by "fixed", you still won't be able to export nested data regions, but you won't get an error).
|||That's cool....I figured it wouldn't work, but thought it worth a try. I using nested tables mostly to give me the ability to add headers to rowgroup items, which I was able to reproduce visually by dropping a rectangle object on the matrix and arranging textboxes to simulate the table headers.
Thanks for the response.
|||Were you able to find a workaround for exporting the nested tables to Excel?|||Not really, it looks like the limitation is in the Excel renderer. What I was able to do in my case which helped was to embed rectangles within the matrix column headers and add multiple text boxes within them. For the report I was working on that gave me the ability to approximate the format I was wanting. Not perfect, but good enough.
Excel Export error in RS200SP2 when nesting tables within matirx
I was hoping someone could help out with this issue....I've got a report I created in Reporting Services 2000 SP2 where I am nesting table elements within the row and detail sections of the matrix. This allows me to have multiple items within my "row" data with column headings, and works perfectly fine within the designer, and viewer, and whenever I export it to any format other than Excel. Exporting to excel results in a "Specified cast is not valid" error.
To me this seems to be a bug in the Excel rendering extension, since it seems to be supported in RDL. Has anyone else run into this? Is there a fix to the renderer or a workaround that anyone is aware of?
I'd be happy to post the RDL if anyone is interested.
Thanks,
Casey
The Excel rendering extension does not support exporting nested tables within tables/matrices, so this won't work for you. The behavior is documented in books online somewhere.
However, normally the "nested" region should simply be exported as a blank space without throwing an error. A bug was reported on this problem, and it is fixed in 2005 (by "fixed", you still won't be able to export nested data regions, but you won't get an error).
|||That's cool....I figured it wouldn't work, but thought it worth a try. I using nested tables mostly to give me the ability to add headers to rowgroup items, which I was able to reproduce visually by dropping a rectangle object on the matrix and arranging textboxes to simulate the table headers.
Thanks for the response.
|||Were you able to find a workaround for exporting the nested tables to Excel?|||Not really, it looks like the limitation is in the Excel renderer. What I was able to do in my case which helped was to embed rectangles within the matrix column headers and add multiple text boxes within them. For the report I was working on that gave me the ability to approximate the format I was wanting. Not perfect, but good enough.
sql
Excel Export error in RS200SP2 when nesting tables within matirx
I was hoping someone could help out with this issue....I've got a report I created in Reporting Services 2000 SP2 where I am nesting table elements within the row and detail sections of the matrix. This allows me to have multiple items within my "row" data with column headings, and works perfectly fine within the designer, and viewer, and whenever I export it to any format other than Excel. Exporting to excel results in a "Specified cast is not valid" error.
To me this seems to be a bug in the Excel rendering extension, since it seems to be supported in RDL. Has anyone else run into this? Is there a fix to the renderer or a workaround that anyone is aware of?
I'd be happy to post the RDL if anyone is interested.
Thanks,
Casey
The Excel rendering extension does not support exporting nested tables within tables/matrices, so this won't work for you. The behavior is documented in books online somewhere.
However, normally the "nested" region should simply be exported as a blank space without throwing an error. A bug was reported on this problem, and it is fixed in 2005 (by "fixed", you still won't be able to export nested data regions, but you won't get an error).
|||That's cool....I figured it wouldn't work, but thought it worth a try. I using nested tables mostly to give me the ability to add headers to rowgroup items, which I was able to reproduce visually by dropping a rectangle object on the matrix and arranging textboxes to simulate the table headers.
Thanks for the response.
|||Were you able to find a workaround for exporting the nested tables to Excel?|||Not really, it looks like the limitation is in the Excel renderer. What I was able to do in my case which helped was to embed rectangles within the matrix column headers and add multiple text boxes within them. For the report I was working on that gave me the ability to approximate the format I was wanting. Not perfect, but good enough.
Excel export drill-down problem (sp2)
I have a relatively straight forward report with a Table and a grouping on
the details group. I have the the ToggleItem property of the details group
set to the first cell of the detail row, and it renders as expected in HTML.
(An expand/collapse graphic appears to the left of the cell and dynamically
shows/hides the child rows when clicked.) However, when I export to Excel
the groupings are lost and I see only the root rows and none of the children.
From my understanding the export should render the child rows using the
Outline feature of Excel, but for the life of me I can't get this to work.
Any suggestions on what I'm doing wrong here?
Thanks
BillHello Bill,
If you have drill down reports then you could use show-and-hide toggle
<different from hidden items> and if rendering is done in HTML then it will
show collapsed items so that users can click on the toggle to view hidden
groups.
Using other rendering extension like Excel then the drill down effect is
not supported.
Please see the following topic in Books On-Line for Reporting Services:
Drill Down Reports and Hidden Items.
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSCREATE/h
tm/rcr_creating_interactive_v1_8bg4.asp>
Based on my test, Toggleitem feature seems to work for Matrix after
exporting to Excel. However, it does not work properly for table after
exporting to Excel. I think it needs to contain all of the data and then
provide the ability to toggle but apprarently these data is not included in
this situation.
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
| Thread-Topic: Excel export drill-down problem (sp2)
| thread-index: AcWMm3svM+OGxhhzSJqE5HRfXsUjew==| X-WBNR-Posting-Host: 156.153.255.243
| From: =?Utf-8?B?QmlsbCBNZXJz?= <billmers@.newsgroup.nospam>
| Subject: Excel export drill-down problem (sp2)
| Date: Tue, 19 Jul 2005 12:53:06 -0700
| Lines: 15
| Message-ID: <452B550C-8D48-4B08-9805-D213BE226172@.microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:48405
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| Hi all,
|
| I have a relatively straight forward report with a Table and a grouping
on
| the details group. I have the the ToggleItem property of the details
group
| set to the first cell of the detail row, and it renders as expected in
HTML.
| (An expand/collapse graphic appears to the left of the cell and
dynamically
| shows/hides the child rows when clicked.) However, when I export to
Excel
| the groupings are lost and I see only the root rows and none of the
children.
| From my understanding the export should render the child rows using the
| Outline feature of Excel, but for the life of me I can't get this to work.
|
| Any suggestions on what I'm doing wrong here?
|
| Thanks
| Bill
||||Hi Peter,
I've seen quite a few posts on this newsgroup from other people who have
gotten the "Outlining" feature of Excel to work when rendering from Reporting
Services. How is this done?
If it's only supported through a Matrix report that's ok, however I was
unable to get that working either. I saw the same behavior as before, where
the Matrix renders with expand/collapse columns in HTML and they disappear in
Excel. If I have to write an Excel-specific version of the report that's ok,
but I can't get the Outlining feature to work at all.
I have a hard (non-negotiable) requirement to get this feature working, so
any help would be greatly appreciated!
Thanks
"Peter Yang [MSFT]" wrote:
> Hello Bill,
> If you have drill down reports then you could use show-and-hide toggle
> <different from hidden items> and if rendering is done in HTML then it will
> show collapsed items so that users can click on the toggle to view hidden
> groups.
> Using other rendering extension like Excel then the drill down effect is
> not supported.
> Please see the following topic in Books On-Line for Reporting Services:
> Drill Down Reports and Hidden Items.
> <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSCREATE/h
> tm/rcr_creating_interactive_v1_8bg4.asp>
> Based on my test, Toggleitem feature seems to work for Matrix after
> exporting to Excel. However, it does not work properly for table after
> exporting to Excel. I think it needs to contain all of the data and then
> provide the ability to toggle but apprarently these data is not included in
> this situation.
> Best Regards,
> Peter Yang
> MCSE2000/2003, MCSA, MCDBA
> Microsoft Online Partner Support
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> =====================================================> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> --
> | Thread-Topic: Excel export drill-down problem (sp2)
> | thread-index: AcWMm3svM+OGxhhzSJqE5HRfXsUjew==> | X-WBNR-Posting-Host: 156.153.255.243
> | From: =?Utf-8?B?QmlsbCBNZXJz?= <billmers@.newsgroup.nospam>
> | Subject: Excel export drill-down problem (sp2)
> | Date: Tue, 19 Jul 2005 12:53:06 -0700
> | Lines: 15
> | Message-ID: <452B550C-8D48-4B08-9805-D213BE226172@.microsoft.com>
> | MIME-Version: 1.0
> | Content-Type: text/plain;
> | charset="Utf-8"
> | Content-Transfer-Encoding: 7bit
> | X-Newsreader: Microsoft CDO for Windows 2000
> | Content-Class: urn:content-classes:message
> | Importance: normal
> | Priority: normal
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> | Newsgroups: microsoft.public.sqlserver.reportingsvcs
> | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
> | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
> | Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:48405
> | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
> |
> | Hi all,
> |
> | I have a relatively straight forward report with a Table and a grouping
> on
> | the details group. I have the the ToggleItem property of the details
> group
> | set to the first cell of the detail row, and it renders as expected in
> HTML.
> | (An expand/collapse graphic appears to the left of the cell and
> dynamically
> | shows/hides the child rows when clicked.) However, when I export to
> Excel
> | the groupings are lost and I see only the root rows and none of the
> children.
> | From my understanding the export should render the child rows using the
> | Outline feature of Excel, but for the life of me I can't get this to work.
> |
> | Any suggestions on what I'm doing wrong here?
> |
> | Thanks
> | Bill
> |
>|||I have table (not Matrix) where it does use the outlining feature. I created
a drill down report and everything worked as advertised in Excel. I'm a loss
at why it isn't for you but it did for me. I only have a single level of
drill down and haven't tried multiple levels (just trying to think what
might be different for you). Create a simple report with a single drilldown,
does it work or not for you?
Anyway, just thought I would let you know that it does work with tables.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Bill Mers" <billmers@.newsgroup.nospam> wrote in message
news:E2AA4A4B-09D6-400C-AF2A-657366E71870@.microsoft.com...
> Hi Peter,
> I've seen quite a few posts on this newsgroup from other people who have
> gotten the "Outlining" feature of Excel to work when rendering from
> Reporting
> Services. How is this done?
> If it's only supported through a Matrix report that's ok, however I was
> unable to get that working either. I saw the same behavior as before,
> where
> the Matrix renders with expand/collapse columns in HTML and they disappear
> in
> Excel. If I have to write an Excel-specific version of the report that's
> ok,
> but I can't get the Outlining feature to work at all.
> I have a hard (non-negotiable) requirement to get this feature working, so
> any help would be greatly appreciated!
> Thanks
> "Peter Yang [MSFT]" wrote:
>> Hello Bill,
>> If you have drill down reports then you could use show-and-hide toggle
>> <different from hidden items> and if rendering is done in HTML then it
>> will
>> show collapsed items so that users can click on the toggle to view hidden
>> groups.
>> Using other rendering extension like Excel then the drill down effect is
>> not supported.
>> Please see the following topic in Books On-Line for Reporting Services:
>> Drill Down Reports and Hidden Items.
>> <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSCREATE/h
>> tm/rcr_creating_interactive_v1_8bg4.asp>
>> Based on my test, Toggleitem feature seems to work for Matrix after
>> exporting to Excel. However, it does not work properly for table after
>> exporting to Excel. I think it needs to contain all of the data and then
>> provide the ability to toggle but apprarently these data is not included
>> in
>> this situation.
>> Best Regards,
>> Peter Yang
>> MCSE2000/2003, MCSA, MCDBA
>> Microsoft Online Partner Support
>> When responding to posts, please "Reply to Group" via your newsreader so
>> that others may learn and benefit from your issue.
>> =====================================================>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>>
>> --
>> | Thread-Topic: Excel export drill-down problem (sp2)
>> | thread-index: AcWMm3svM+OGxhhzSJqE5HRfXsUjew==>> | X-WBNR-Posting-Host: 156.153.255.243
>> | From: =?Utf-8?B?QmlsbCBNZXJz?= <billmers@.newsgroup.nospam>
>> | Subject: Excel export drill-down problem (sp2)
>> | Date: Tue, 19 Jul 2005 12:53:06 -0700
>> | Lines: 15
>> | Message-ID: <452B550C-8D48-4B08-9805-D213BE226172@.microsoft.com>
>> | MIME-Version: 1.0
>> | Content-Type: text/plain;
>> | charset="Utf-8"
>> | Content-Transfer-Encoding: 7bit
>> | X-Newsreader: Microsoft CDO for Windows 2000
>> | Content-Class: urn:content-classes:message
>> | Importance: normal
>> | Priority: normal
>> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>> | Newsgroups: microsoft.public.sqlserver.reportingsvcs
>> | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
>> | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
>> | Xref: TK2MSFTNGXA01.phx.gbl
>> microsoft.public.sqlserver.reportingsvcs:48405
>> | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
>> |
>> | Hi all,
>> |
>> | I have a relatively straight forward report with a Table and a grouping
>> on
>> | the details group. I have the the ToggleItem property of the details
>> group
>> | set to the first cell of the detail row, and it renders as expected in
>> HTML.
>> | (An expand/collapse graphic appears to the left of the cell and
>> dynamically
>> | shows/hides the child rows when clicked.) However, when I export to
>> Excel
>> | the groupings are lost and I see only the root rows and none of the
>> children.
>> | From my understanding the export should render the child rows using
>> the
>> | Outline feature of Excel, but for the life of me I can't get this to
>> work.
>> |
>> | Any suggestions on what I'm doing wrong here?
>> |
>> | Thanks
>> | Bill
>> |
>>|||Hi Bruce,
Thanks for the confirmation that the Excel outling feature does work with
just a straight table. Somebody on my team was able to get it to work as
well, however we still can't get it working with my particular report. What
I suspect might be making the difference is that my report has both the
grouping and toggleItem set on the same row. The table has only two rows in
it: the header row and the details row, and the first column in the detail
row is the toggle for the whole row. This renders fine in HTML but doesn't
export to Excel correctly.
Anybody have any ideas on how to get this to work? I've opened a trouble
ticket with Microsoft but so far that hasn't solved the issue. Any
alternatives/workarounds would be much appreciated.
Thanks
Bill
"Bruce L-C [MVP]" wrote:
> I have table (not Matrix) where it does use the outlining feature. I created
> a drill down report and everything worked as advertised in Excel. I'm a loss
> at why it isn't for you but it did for me. I only have a single level of
> drill down and haven't tried multiple levels (just trying to think what
> might be different for you). Create a simple report with a single drilldown,
> does it work or not for you?
> Anyway, just thought I would let you know that it does work with tables.
>
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
>
> "Bill Mers" <billmers@.newsgroup.nospam> wrote in message
> news:E2AA4A4B-09D6-400C-AF2A-657366E71870@.microsoft.com...
> > Hi Peter,
> >
> > I've seen quite a few posts on this newsgroup from other people who have
> > gotten the "Outlining" feature of Excel to work when rendering from
> > Reporting
> > Services. How is this done?
> >
> > If it's only supported through a Matrix report that's ok, however I was
> > unable to get that working either. I saw the same behavior as before,
> > where
> > the Matrix renders with expand/collapse columns in HTML and they disappear
> > in
> > Excel. If I have to write an Excel-specific version of the report that's
> > ok,
> > but I can't get the Outlining feature to work at all.
> >
> > I have a hard (non-negotiable) requirement to get this feature working, so
> > any help would be greatly appreciated!
> >
> > Thanks
> >
> > "Peter Yang [MSFT]" wrote:
> >
> >> Hello Bill,
> >>
> >> If you have drill down reports then you could use show-and-hide toggle
> >> <different from hidden items> and if rendering is done in HTML then it
> >> will
> >> show collapsed items so that users can click on the toggle to view hidden
> >> groups.
> >>
> >> Using other rendering extension like Excel then the drill down effect is
> >> not supported.
> >>
> >> Please see the following topic in Books On-Line for Reporting Services:
> >> Drill Down Reports and Hidden Items.
> >> <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSCREATE/h
> >> tm/rcr_creating_interactive_v1_8bg4.asp>
> >>
> >> Based on my test, Toggleitem feature seems to work for Matrix after
> >> exporting to Excel. However, it does not work properly for table after
> >> exporting to Excel. I think it needs to contain all of the data and then
> >> provide the ability to toggle but apprarently these data is not included
> >> in
> >> this situation.
> >>
> >> Best Regards,
> >>
> >> Peter Yang
> >> MCSE2000/2003, MCSA, MCDBA
> >> Microsoft Online Partner Support
> >>
> >> When responding to posts, please "Reply to Group" via your newsreader so
> >> that others may learn and benefit from your issue.
> >>
> >> =====================================================> >>
> >> This posting is provided "AS IS" with no warranties, and confers no
> >> rights.
> >>
> >>
> >>
> >>
> >> --
> >> | Thread-Topic: Excel export drill-down problem (sp2)
> >> | thread-index: AcWMm3svM+OGxhhzSJqE5HRfXsUjew==> >> | X-WBNR-Posting-Host: 156.153.255.243
> >> | From: =?Utf-8?B?QmlsbCBNZXJz?= <billmers@.newsgroup.nospam>
> >> | Subject: Excel export drill-down problem (sp2)
> >> | Date: Tue, 19 Jul 2005 12:53:06 -0700
> >> | Lines: 15
> >> | Message-ID: <452B550C-8D48-4B08-9805-D213BE226172@.microsoft.com>
> >> | MIME-Version: 1.0
> >> | Content-Type: text/plain;
> >> | charset="Utf-8"
> >> | Content-Transfer-Encoding: 7bit
> >> | X-Newsreader: Microsoft CDO for Windows 2000
> >> | Content-Class: urn:content-classes:message
> >> | Importance: normal
> >> | Priority: normal
> >> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> >> | Newsgroups: microsoft.public.sqlserver.reportingsvcs
> >> | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
> >> | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
> >> | Xref: TK2MSFTNGXA01.phx.gbl
> >> microsoft.public.sqlserver.reportingsvcs:48405
> >> | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
> >> |
> >> | Hi all,
> >> |
> >> | I have a relatively straight forward report with a Table and a grouping
> >> on
> >> | the details group. I have the the ToggleItem property of the details
> >> group
> >> | set to the first cell of the detail row, and it renders as expected in
> >> HTML.
> >> | (An expand/collapse graphic appears to the left of the cell and
> >> dynamically
> >> | shows/hides the child rows when clicked.) However, when I export to
> >> Excel
> >> | the groupings are lost and I see only the root rows and none of the
> >> children.
> >> | From my understanding the export should render the child rows using
> >> the
> >> | Outline feature of Excel, but for the life of me I can't get this to
> >> work.
> >> |
> >> | Any suggestions on what I'm doing wrong here?
> >> |
> >> | Thanks
> >> | Bill
> >> |
> >>
> >>
>
>|||Hello Bill,
Based on my further test, I found if I use the following method, I could
export the Excel as expected:
1. In Layout view, click the table so that column and row handles appear
above and next to the table or matrix.
2. Right-click the corner handle of the table or matrix, and then click
Properties.
3. On the Groups tab, select the group to edit, and then click Edit.
4. On the Visibility tab, do the following:
5. For Initial visibility, select Hidden.
6. Select Visibility can be toggled by another report item.
7. In Report item, type or select the name of the text box that users click
to show the selected item. I selected Textbox1.
Note: The value for Report item must be the name of a text box that is
either in the same group as the item that is being hidden or in another
group or item in the same container hierarchy (up to and including the
report body).
By using the following method, I reproduced the issue you encountered:
1. In Layout view, click the table so that column and row handles appear
above and next to the table or matrix.
2. Right-click the detail handle of the table or matrix, and then click
Edit Group
3. On the Visibility tab, do the following:
4. For Initial visibility, select Hidden.
5. Select Visibility can be toggled by another report item.
6. In Report item, type or select the name of the text box that users click
to show the selected item. I selected Textbox1.
Though in HTML rendering, above methods have the same behavior, they are
different in Excel rendering.
By checking the RDL code, I found the differenences between them.
1. For the 1st method, the <visibility> entry is included in <Tablegroup>
item. The data of the table is included in this report even the report is
collapsed.
2. For the 2nd method, the <visibility> entry is in <details> item, the
data that is necessary to toggle is not actaully included in this
situation.
Hope this information is helpful.
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.
This and other support options are available here:
BCPS:
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469
Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/
If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/default.aspx?scid=%2finternational.aspx.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
| Thread-Topic: Excel export drill-down problem (sp2)
| thread-index: AcWRO/qqj6RePYO2SkSf0MlULM92LQ==| X-WBNR-Posting-Host: 161.114.64.75
| From: =?Utf-8?B?QmlsbCBNZXJz?= <billmers@.newsgroup.nospam>
| References: <452B550C-8D48-4B08-9805-D213BE226172@.microsoft.com>
<V8UcOnQjFHA.3120@.TK2MSFTNGXA01.phx.gbl>
<E2AA4A4B-09D6-400C-AF2A-657366E71870@.microsoft.com>
<OK###2TjFHA.3568@.tk2msftngp13.phx.gbl>
| Subject: Re: Excel export drill-down problem (sp2)
| Date: Mon, 25 Jul 2005 10:12:04 -0700
| Lines: 154
| Message-ID: <3C668BC0-EF6A-4453-AC4E-FB10A1EE5F68@.microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:48828
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| Hi Bruce,
|
| Thanks for the confirmation that the Excel outling feature does work with
| just a straight table. Somebody on my team was able to get it to work as
| well, however we still can't get it working with my particular report.
What
| I suspect might be making the difference is that my report has both the
| grouping and toggleItem set on the same row. The table has only two rows
in
| it: the header row and the details row, and the first column in the
detail
| row is the toggle for the whole row. This renders fine in HTML but
doesn't
| export to Excel correctly.
|
| Anybody have any ideas on how to get this to work? I've opened a trouble
| ticket with Microsoft but so far that hasn't solved the issue. Any
| alternatives/workarounds would be much appreciated.
|
| Thanks
| Bill
|
| "Bruce L-C [MVP]" wrote:
|
| > I have table (not Matrix) where it does use the outlining feature. I
created
| > a drill down report and everything worked as advertised in Excel. I'm a
loss
| > at why it isn't for you but it did for me. I only have a single level
of
| > drill down and haven't tried multiple levels (just trying to think what
| > might be different for you). Create a simple report with a single
drilldown,
| > does it work or not for you?
| >
| > Anyway, just thought I would let you know that it does work with tables.
| >
| >
| > --
| > Bruce Loehle-Conger
| > MVP SQL Server Reporting Services
| >
| >
| > "Bill Mers" <billmers@.newsgroup.nospam> wrote in message
| > news:E2AA4A4B-09D6-400C-AF2A-657366E71870@.microsoft.com...
| > > Hi Peter,
| > >
| > > I've seen quite a few posts on this newsgroup from other people who
have
| > > gotten the "Outlining" feature of Excel to work when rendering from
| > > Reporting
| > > Services. How is this done?
| > >
| > > If it's only supported through a Matrix report that's ok, however I
was
| > > unable to get that working either. I saw the same behavior as
before,
| > > where
| > > the Matrix renders with expand/collapse columns in HTML and they
disappear
| > > in
| > > Excel. If I have to write an Excel-specific version of the report
that's
| > > ok,
| > > but I can't get the Outlining feature to work at all.
| > >
| > > I have a hard (non-negotiable) requirement to get this feature
working, so
| > > any help would be greatly appreciated!
| > >
| > > Thanks
| > >
| > > "Peter Yang [MSFT]" wrote:
| > >
| > >> Hello Bill,
| > >>
| > >> If you have drill down reports then you could use show-and-hide
toggle
| > >> <different from hidden items> and if rendering is done in HTML then
it
| > >> will
| > >> show collapsed items so that users can click on the toggle to view
hidden
| > >> groups.
| > >>
| > >> Using other rendering extension like Excel then the drill down
effect is
| > >> not supported.
| > >>
| > >> Please see the following topic in Books On-Line for Reporting
Services:
| > >> Drill Down Reports and Hidden Items.
| > >>
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSCREATE/h
| > >> tm/rcr_creating_interactive_v1_8bg4.asp>
| > >>
| > >> Based on my test, Toggleitem feature seems to work for Matrix after
| > >> exporting to Excel. However, it does not work properly for table
after
| > >> exporting to Excel. I think it needs to contain all of the data and
then
| > >> provide the ability to toggle but apprarently these data is not
included
| > >> in
| > >> this situation.
| > >>
| > >> Best Regards,
| > >>
| > >> Peter Yang
| > >> MCSE2000/2003, MCSA, MCDBA
| > >> Microsoft Online Partner Support
| > >>
| > >> When responding to posts, please "Reply to Group" via your
newsreader so
| > >> that others may learn and benefit from your issue.
| > >>
| > >> =====================================================| > >>
| > >> This posting is provided "AS IS" with no warranties, and confers no
| > >> rights.
| > >>
| > >>
| > >>
| > >>
| > >> --
| > >> | Thread-Topic: Excel export drill-down problem (sp2)
| > >> | thread-index: AcWMm3svM+OGxhhzSJqE5HRfXsUjew==| > >> | X-WBNR-Posting-Host: 156.153.255.243
| > >> | From: =?Utf-8?B?QmlsbCBNZXJz?= <billmers@.newsgroup.nospam>
| > >> | Subject: Excel export drill-down problem (sp2)
| > >> | Date: Tue, 19 Jul 2005 12:53:06 -0700
| > >> | Lines: 15
| > >> | Message-ID: <452B550C-8D48-4B08-9805-D213BE226172@.microsoft.com>
| > >> | MIME-Version: 1.0
| > >> | Content-Type: text/plain;
| > >> | charset="Utf-8"
| > >> | Content-Transfer-Encoding: 7bit
| > >> | X-Newsreader: Microsoft CDO for Windows 2000
| > >> | Content-Class: urn:content-classes:message
| > >> | Importance: normal
| > >> | Priority: normal
| > >> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| > >> | Newsgroups: microsoft.public.sqlserver.reportingsvcs
| > >> | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| > >> | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| > >> | Xref: TK2MSFTNGXA01.phx.gbl
| > >> microsoft.public.sqlserver.reportingsvcs:48405
| > >> | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
| > >> |
| > >> | Hi all,
| > >> |
| > >> | I have a relatively straight forward report with a Table and a
grouping
| > >> on
| > >> | the details group. I have the the ToggleItem property of the
details
| > >> group
| > >> | set to the first cell of the detail row, and it renders as
expected in
| > >> HTML.
| > >> | (An expand/collapse graphic appears to the left of the cell and
| > >> dynamically
| > >> | shows/hides the child rows when clicked.) However, when I export
to
| > >> Excel
| > >> | the groupings are lost and I see only the root rows and none of the
| > >> children.
| > >> | From my understanding the export should render the child rows
using
| > >> the
| > >> | Outline feature of Excel, but for the life of me I can't get this
to
| > >> work.
| > >> |
| > >> | Any suggestions on what I'm doing wrong here?
| > >> |
| > >> | Thanks
| > >> | Bill
| > >> |
| > >>
| > >>
| >
| >
| >
||||Did anyone resolve this? I have rendered a report into Excel but only one
user out of 3 (includes me) gets the Excel doc with expand/collapse auto
format. I can't figure out why only she gets the correct format. Any ideas as
to what I need specifiically to check for in Excel?
There are 8 groups with details below each. When she gets report in Excel,
she sees outline symbols (plus , minus, etc.) and it looks great. When I get
the report in Excel, it shows all info but not in outline format. HELP!
thanks
"Peter Yang [MSFT]" wrote:
> Hello Bill,
> Based on my further test, I found if I use the following method, I could
> export the Excel as expected:
> 1. In Layout view, click the table so that column and row handles appear
> above and next to the table or matrix.
> 2. Right-click the corner handle of the table or matrix, and then click
> Properties.
> 3. On the Groups tab, select the group to edit, and then click Edit.
> 4. On the Visibility tab, do the following:
> 5. For Initial visibility, select Hidden.
> 6. Select Visibility can be toggled by another report item.
> 7. In Report item, type or select the name of the text box that users click
> to show the selected item. I selected Textbox1.
> Note: The value for Report item must be the name of a text box that is
> either in the same group as the item that is being hidden or in another
> group or item in the same container hierarchy (up to and including the
> report body).
> By using the following method, I reproduced the issue you encountered:
> 1. In Layout view, click the table so that column and row handles appear
> above and next to the table or matrix.
> 2. Right-click the detail handle of the table or matrix, and then click
> Edit Group
> 3. On the Visibility tab, do the following:
> 4. For Initial visibility, select Hidden.
> 5. Select Visibility can be toggled by another report item.
> 6. In Report item, type or select the name of the text box that users click
> to show the selected item. I selected Textbox1.
> Though in HTML rendering, above methods have the same behavior, they are
> different in Excel rendering.
> By checking the RDL code, I found the differenences between them.
> 1. For the 1st method, the <visibility> entry is included in <Tablegroup>
> item. The data of the table is included in this report even the report is
> collapsed.
> 2. For the 2nd method, the <visibility> entry is in <details> item, the
> data that is necessary to toggle is not actaully included in this
> situation.
> Hope this information is helpful.
> Best Regards,
> Peter Yang
> MCSE2000/2003, MCSA, MCDBA
> Microsoft Online Partner Support
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> =====================================================> Business-Critical Phone Support (BCPS) provides you with technical phone
> support at no charge during critical LAN outages or "business down"
> situations. This benefit is available 24 hours a day, 7 days a week to all
> Microsoft technology partners in the United States and Canada.
> This and other support options are available here:
> BCPS:
> https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469
> Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/
> If you are outside the United States, please visit our International
> Support page:
> http://support.microsoft.com/default.aspx?scid=%2finternational.aspx.
> =====================================================> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> --
> | Thread-Topic: Excel export drill-down problem (sp2)
> | thread-index: AcWRO/qqj6RePYO2SkSf0MlULM92LQ==> | X-WBNR-Posting-Host: 161.114.64.75
> | From: =?Utf-8?B?QmlsbCBNZXJz?= <billmers@.newsgroup.nospam>
> | References: <452B550C-8D48-4B08-9805-D213BE226172@.microsoft.com>
> <V8UcOnQjFHA.3120@.TK2MSFTNGXA01.phx.gbl>
> <E2AA4A4B-09D6-400C-AF2A-657366E71870@.microsoft.com>
> <OK###2TjFHA.3568@.tk2msftngp13.phx.gbl>
> | Subject: Re: Excel export drill-down problem (sp2)
> | Date: Mon, 25 Jul 2005 10:12:04 -0700
> | Lines: 154
> | Message-ID: <3C668BC0-EF6A-4453-AC4E-FB10A1EE5F68@.microsoft.com>
> | MIME-Version: 1.0
> | Content-Type: text/plain;
> | charset="Utf-8"
> | Content-Transfer-Encoding: 7bit
> | X-Newsreader: Microsoft CDO for Windows 2000
> | Content-Class: urn:content-classes:message
> | Importance: normal
> | Priority: normal
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> | Newsgroups: microsoft.public.sqlserver.reportingsvcs
> | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
> | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
> | Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:48828
> | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
> |
> | Hi Bruce,
> |
> | Thanks for the confirmation that the Excel outling feature does work with
> | just a straight table. Somebody on my team was able to get it to work as
> | well, however we still can't get it working with my particular report.
> What
> | I suspect might be making the difference is that my report has both the
> | grouping and toggleItem set on the same row. The table has only two rows
> in
> | it: the header row and the details row, and the first column in the
> detail
> | row is the toggle for the whole row. This renders fine in HTML but
> doesn't
> | export to Excel correctly.
> |
> | Anybody have any ideas on how to get this to work? I've opened a trouble
> | ticket with Microsoft but so far that hasn't solved the issue. Any
> | alternatives/workarounds would be much appreciated.
> |
> | Thanks
> | Bill
> |
> | "Bruce L-C [MVP]" wrote:
> |
> | > I have table (not Matrix) where it does use the outlining feature. I
> created
> | > a drill down report and everything worked as advertised in Excel. I'm a
> loss
> | > at why it isn't for you but it did for me. I only have a single level
> of
> | > drill down and haven't tried multiple levels (just trying to think what
> | > might be different for you). Create a simple report with a single
> drilldown,
> | > does it work or not for you?
> | >
> | > Anyway, just thought I would let you know that it does work with tables.
> | >
> | >
> | > --
> | > Bruce Loehle-Conger
> | > MVP SQL Server Reporting Services
> | >
> | >
> | > "Bill Mers" <billmers@.newsgroup.nospam> wrote in message
> | > news:E2AA4A4B-09D6-400C-AF2A-657366E71870@.microsoft.com...
> | > > Hi Peter,
> | > >
> | > > I've seen quite a few posts on this newsgroup from other people who
> have
> | > > gotten the "Outlining" feature of Excel to work when rendering from
> | > > Reporting
> | > > Services. How is this done?
> | > >
> | > > If it's only supported through a Matrix report that's ok, however I
> was
> | > > unable to get that working either. I saw the same behavior as
> before,
> | > > where
> | > > the Matrix renders with expand/collapse columns in HTML and they
> disappear
> | > > in
> | > > Excel. If I have to write an Excel-specific version of the report
> that's
> | > > ok,
> | > > but I can't get the Outlining feature to work at all.
> | > >
> | > > I have a hard (non-negotiable) requirement to get this feature
> working, so
> | > > any help would be greatly appreciated!
> | > >
> | > > Thanks
> | > >
> | > > "Peter Yang [MSFT]" wrote:
> | > >
> | > >> Hello Bill,
> | > >>
> | > >> If you have drill down reports then you could use show-and-hide
> toggle
> | > >> <different from hidden items> and if rendering is done in HTML then
> it
> | > >> will
> | > >> show collapsed items so that users can click on the toggle to view
> hidden
> | > >> groups.
> | > >>
> | > >> Using other rendering extension like Excel then the drill down
> effect is
> | > >> not supported.
> | > >>
> | > >> Please see the following topic in Books On-Line for Reporting
> Services:
> | > >> Drill Down Reports and Hidden Items.
> | > >>
> <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSCREATE/h
> | > >> tm/rcr_creating_interactive_v1_8bg4.asp>
> | > >>
> | > >> Based on my test, Toggleitem feature seems to work for Matrix after
> | > >> exporting to Excel. However, it does not work properly for table
> after
> | > >> exporting to Excel. I think it needs to contain all of the data and
> then
> | > >> provide the ability to toggle but apprarently these data is not
> included
> | > >> in
> | > >> this situation.
> | > >>
> | > >> Best Regards,
> | > >>
> | > >> Peter Yang
> | > >> MCSE2000/2003, MCSA, MCDBA
> | > >> Microsoft Online Partner Support
> | > >>
> | > >> When responding to posts, please "Reply to Group" via your
> newsreader so
> | > >> that others may learn and benefit from your issue.
> | > >>
> | > >> =====================================================> | > >>
> | > >> This posting is provided "AS IS" with no warranties, and confers no
> | > >> rights.
> | > >>
> | > >>
> | > >>
> | > >>
> | > >> --
> | > >> | Thread-Topic: Excel export drill-down problem (sp2)
> | > >> | thread-index: AcWMm3svM+OGxhhzSJqE5HRfXsUjew==> | > >> | X-WBNR-Posting-Host: 156.153.255.243
> | > >> | From: =?Utf-8?B?QmlsbCBNZXJz?= <billmers@.newsgroup.nospam>
> | > >> | Subject: Excel export drill-down problem (sp2)
> | > >> | Date: Tue, 19 Jul 2005 12:53:06 -0700
> | > >> | Lines: 15
> | > >> | Message-ID: <452B550C-8D48-4B08-9805-D213BE226172@.microsoft.com>
> | > >> | MIME-Version: 1.0
> | > >> | Content-Type: text/plain;
> | > >> | charset="Utf-8"
> | > >> | Content-Transfer-Encoding: 7bit
> | > >> | X-Newsreader: Microsoft CDO for Windows 2000
> | > >> | Content-Class: urn:content-classes:message
> | > >> | Importance: normal
> | > >> | Priority: normal
> | > >> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> | > >> | Newsgroups: microsoft.public.sqlserver.reportingsvcs
> | > >> | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
> | > >> | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
> | > >> | Xref: TK2MSFTNGXA01.phx.gbl
> | > >> microsoft.public.sqlserver.reportingsvcs:48405
> | > >> | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
> | > >> |
> | > >> | Hi all,
> | > >> |
> | > >> | I have a relatively straight forward report with a Table and a
> grouping
> | > >> on
> | > >> | the details group. I have the the ToggleItem property of the
> details
> | > >> group
> | > >> | set to the first cell of the detail row, and it renders as
> expected in
> | > >> HTML.
> | > >> | (An expand/collapse graphic appears to the left of the cell and
> | > >> dynamically
> | > >> | shows/hides the child rows when clicked.) However, when I export
> to
> | > >> Excel
> | > >> | the groupings are lost and I see only the root rows and none of the
> | > >> children.
> | > >> | From my understanding the export should render the child rows
> using
> | > >> the
> | > >> | Outline feature of Excel, but for the life of me I can't get this
> to
> | > >> work.
> | > >> |
> | > >> | Any suggestions on what I'm doing wrong here?
> | > >> |
> | > >> | Thanks
> | > >> | Bill
> | > >> |
> | > >>
> | > >>
> | >
> | >
> | >
> |
>|||I have a table with one group ('table1_state') and a detail part.
What i made now is a dummy group ('table1_dummy') only for handling the
visibility. This dummy group is a child of the table1_state group and
has no footer and no header. Its visibility is set to hidden and the
toggle item is set to the first textbox of table1_state group (in my
case 'txtState').
Check that no other visibility configurations are set.
<TableGroup>
<Grouping Name="table1_dummy">
<GroupExpressions>
<GroupExpression>=Fields!PrimaryKey.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<Visibility>
<ToggleItem>txtState</ToggleItem>
<Hidden>true</Hidden>
</Visibility>
</TableGroup>
</TableGroups>|||Bill,
I have the same problem. What is even stranger is that there is an example
sql report that comes with Northwind called "Northwind Simple report", which
also has a single collapible row. This report will export to excel with the
children data while my report with similar settings looses this data.
I have found no reason for this.
Have you had any luck with working out a solution ?
Excel Export - How to stop Merged Columns?
I am having a lot of fun when exporting to excel. When there is a control (image etc) above a table and the sides of the image stop half way through a column this creates a merged column in excel. This creates headaches for clients when trying to chart this data. Is there anyway around this? Or any secrets?
I placed the image into a header and set the device info url to "rc:SimplePageHeaders=true" this helped by placing the header into an excel header upon rendering BUT there was no image in there'
Thanks in advance
SheaThat is one of the drawbacks of Excel exporting is the columns need to line up. Try this. If the image is wider than the first column and ends in the middle of the second column. insert a column between the first and second columns and make it so its edge lines up with the edge of the image. reduce the width of the now third column so the new column and it are the same width as the original second column. Then merge the two cells in the table. That may help with your problem.
"Shea Strickland" wrote:
> Hello All,
> I am having a lot of fun when exporting to excel. When there is a control (image etc) above a table and the sides of the image stop half way through a column this creates a merged column in excel. This creates headaches for clients when trying to chart this data. Is there anyway around this? Or any secrets?
> I placed the image into a header and set the device info url to "rc:SimplePageHeaders=true" this helped by placing the header into an excel header upon rendering BUT there was no image in there'
> Thanks in advance
> Sheasql
Monday, March 26, 2012
Excel Export
and matrixes is on our feature wishlist for a future version. However, it is
unlikely that this feature would be implemented for a service pack of SQL
2000.
--
My employer's lawyers require me to say:
"This posting is provided 'AS IS' with no warranties, and confers no
rights."
"Prav Chand" <PravChand@.discussions.microsoft.com> wrote in message
news:292672DA-B98E-417B-92DB-4A41863B5FF3@.microsoft.com...
> The problem with exporting Sub-Reports contained inside a Table or
Matrix...will there be a service pack to fix the problem? As most reports
consist of a table this is a major deficiency. Please advise...
Excel Export
table inside another table which does does not export to excel. Has anyone
found a way around this? I have a result set that is not really related to
the details of the main grouping. An example would be where I have a customer
where I need to display all of their orders and all of their customer notes
but the notes are not related to the orders.
Thanks for the help.
MartyOn Nov 5, 5:59 pm, Marty <Ma...@.discussions.microsoft.com> wrote:
> Have a report where I need to export to excel. The problem is that I have a
> table inside another table which does does not export to excel. Has anyone
> found a way around this? I have a result set that is not really related to
> the details of the main grouping. An example would be where I have a customer
> where I need to display all of their orders and all of their customer notes
> but the notes are not related to the orders.
> Thanks for the help.
> Marty
You will want to use a list control instead of a table for the
outermost control. Hope this helps.
Regards,
Enrique Martinez
Sr. Software Consultantsql
Excel drillthrough to OLAP error
"The OLAP provider does not support custom grouping. Custom groups were previously defined for this PivotTable Report.
Do you wish to retain the custom group definitions for the future?....."
All 3 PCs are using Excel 2003. All have data access components v2.8 installed.
We are using Analysis Services on SQL Server 2000 Enterprise Edition.
I have been tearing my hair out trying to find out the differences between the PCs....
Any help would be appreciated.
Data access components probably has nothing to do with the situation. One idea is to check service pack version of the Office installed. Make sure it is the same version.
Also try and run Office setup through add/remove programs and repair Office installation.
Edward Melomed.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Excel drillthrough to OLAP error
"The OLAP provider does not support custom grouping. Custom groups were previously defined for this PivotTable Report.
Do you wish to retain the custom group definitions for the future?....."
All 3 PCs are using Excel 2003. All have data access components v2.8 installed.
We are using Analysis Services on SQL Server 2000 Enterprise Edition.
I have been tearing my hair out trying to find out the differences between the PCs....
Any help would be appreciated.
Data access components probably has nothing to do with the situation. One idea is to check service pack version of the Office installed. Make sure it is the same version.
Also try and run Office setup through add/remove programs and repair Office installation.
Edward Melomed.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Excel doesn''t honor CanGrow setting.
Hi,
I have a matrix table in a report. The cells CanGrow field is set to true. When the report is generated in the browser, the row height grows according to the content in the cells. However, when the same report is exported to an Excel document, the row height is fixed and the content in the cells are partially hidden.
Is there anyway to get Excel report generator to recognize the CanGrow setting?
Thanks.
-SouBee
This is happening bacause of merged cells in excel. TO check export the report in excel and right click the cell which is not growing, you can see merged cell and can wrap both properties are checked.
In order to remmove this you need to avoid merging by using full length textboxes and by avoiding any component which can cause a merged cell for that particular column.
Please note that SSRS creates a new column i excel for starting and ending of each component (textbox,table column,rectangle,line) and so avoid short length components for excel support.
Priyank
|||Hi Priyank,
The cell that needs to grow dynamically is the Total/Subtotal cell. I've implementated custom data to be displayed in this cell and the data has variable length which will require CanGrow to work in order to grow its size accordingly. I don't think I can avoid using merged cell because Total/Subtotal cells are generated in Excel as merged cells. Is there any other workaround?
Thanks for the help!
-SouBee
|||i think i didnt make it clear enough
"Please note that SSRS creates a new column in excel for starting and ending of each component (textbox,table column,rectangle,line) and so avoid short length components for excel support."
So what you need to check is that your total/subtotal cell in report layout should not be starting or end point of any other component vertically.
You have to avoid merged cell in excel to get this done.
|||Hi Priyank,
I hope I understand you better this time. I don't have any components (textbox, rectangle, etc.) in my total/subtotal cell. This total/subtotal cell contains a very long string that span across multiple lines. The expression for this cell looks like this...
StrDup(70, Chr(160)) &
"000 " & First(Fields!CurrencyName.Value, "Currency") & StrDup(17, Chr(160))
Format(Sum(CInt(Fields!AmountQUEST_YAgo.Value))/13, "N0") & vbCRLF &
StrDup(70, Chr(160)) &
First(Fields!CurrencyName.Value, "Currency") & "/" & First(Fields!UOMName.Value, "ProductionUnitsUOM") & StrDup(17, Chr(160)) &
Format(Sum(CDbl(Fields!Amount_QUEST_per_Finished_Unit_YAgo.Value))/13, "N4") & vbCRLF &
StrDup(70, Chr(160)) & "Index"
Thanks.
-SouBee
|||Neither length of expression nor the presence of textboxes or rectangle inside the cell can be a problem.
Just export your report to excel, you have your subtotal/total column which is not growing, right click that cell in excel goto format cells ->alignment you can see wrap text and merged cells both are checked, since merged cells is checked this cell cannot grow. You can verify this even in any xls, just merge two cells and check both the properties ,enter a long text doesnt fit in that cell and you will see its getting chopped but if you do samr in non merged cell the text wont be chopped.
So what i am suggesting is to create your RDL in a way that not many meged columns should be resulted in the excel. Atleast not those which you are expecting to grow, the reason of the merged cells is having one or more components starting or ending location above or below the component(which has can grow property). So suppose you are having a column from 1 in (starting location) to 2 in (ending location) and you want to grow this column cells in excel, for doing so you need to make sure that in your report no textbox,rectangle,line anything has starting of ending location between 1in and 2 in ( so your textbox,rectangle,line anything can start from (0-1 in) but not at (1 to 2) and same rule for ending location nothing can have ending location between 1 and 2in)
HTH.
|||Hi Priyank,
I understand merge and wrap properties in Excel. However, as indicated in my previous email RS generated the subtotal cell as merged cell because of multi row grouping in matrix table.
Here is the layout of my matrix table
Row Group 1: Category Type - column A in Excel (Subtotal is added for this group)
Row Group 2: Category - column B in Excel
Row Group 3: Description - column C in Excel
Row Group 4: Baseline - column D in Excel
Because the Subtotal cell is added for the top most row group (group 1), when the report is generated in Excel this Subtotal cell spans across column B, C and D in a single merged cell. If you know of a way to generate this subtotal cell without using merged cell I would love to hear about it.
Thanks.
-SouBee
sqlExcel doesn''t honor CanGrow setting.
Hi,
I have a matrix table in a report. The cells CanGrow field is set to true. When the report is generated in the browser, the row height grows according to the content in the cells. However, when the same report is exported to an Excel document, the row height is fixed and the content in the cells are partially hidden.
Is there anyway to get Excel report generator to recognize the CanGrow setting?
Thanks.
-SouBee
This is happening bacause of merged cells in excel. TO check export the report in excel and right click the cell which is not growing, you can see merged cell and can wrap both properties are checked.
In order to remmove this you need to avoid merging by using full length textboxes and by avoiding any component which can cause a merged cell for that particular column.
Please note that SSRS creates a new column i excel for starting and ending of each component (textbox,table column,rectangle,line) and so avoid short length components for excel support.
Priyank
|||Hi Priyank,
The cell that needs to grow dynamically is the Total/Subtotal cell. I've implementated custom data to be displayed in this cell and the data has variable length which will require CanGrow to work in order to grow its size accordingly. I don't think I can avoid using merged cell because Total/Subtotal cells are generated in Excel as merged cells. Is there any other workaround?
Thanks for the help!
-SouBee
|||i think i didnt make it clear enough
"Please note that SSRS creates a new column in excel for starting and ending of each component (textbox,table column,rectangle,line) and so avoid short length components for excel support."
So what you need to check is that your total/subtotal cell in report layout should not be starting or end point of any other component vertically.
You have to avoid merged cell in excel to get this done.
|||Hi Priyank,
I hope I understand you better this time. I don't have any components (textbox, rectangle, etc.) in my total/subtotal cell. This total/subtotal cell contains a very long string that span across multiple lines. The expression for this cell looks like this...
StrDup(70, Chr(160)) &
"000 " & First(Fields!CurrencyName.Value, "Currency") & StrDup(17, Chr(160))
Format(Sum(CInt(Fields!AmountQUEST_YAgo.Value))/13, "N0") & vbCRLF &
StrDup(70, Chr(160)) &
First(Fields!CurrencyName.Value, "Currency") & "/" & First(Fields!UOMName.Value, "ProductionUnitsUOM") & StrDup(17, Chr(160)) &
Format(Sum(CDbl(Fields!Amount_QUEST_per_Finished_Unit_YAgo.Value))/13, "N4") & vbCRLF &
StrDup(70, Chr(160)) & "Index"
Thanks.
-SouBee
|||Neither length of expression nor the presence of textboxes or rectangle inside the cell can be a problem.
Just export your report to excel, you have your subtotal/total column which is not growing, right click that cell in excel goto format cells ->alignment you can see wrap text and merged cells both are checked, since merged cells is checked this cell cannot grow. You can verify this even in any xls, just merge two cells and check both the properties ,enter a long text doesnt fit in that cell and you will see its getting chopped but if you do samr in non merged cell the text wont be chopped.
So what i am suggesting is to create your RDL in a way that not many meged columns should be resulted in the excel. Atleast not those which you are expecting to grow, the reason of the merged cells is having one or more components starting or ending location above or below the component(which has can grow property). So suppose you are having a column from 1 in (starting location) to 2 in (ending location) and you want to grow this column cells in excel, for doing so you need to make sure that in your report no textbox,rectangle,line anything has starting of ending location between 1in and 2 in ( so your textbox,rectangle,line anything can start from (0-1 in) but not at (1 to 2) and same rule for ending location nothing can have ending location between 1 and 2in)
HTH.
|||Hi Priyank,
I understand merge and wrap properties in Excel. However, as indicated in my previous email RS generated the subtotal cell as merged cell because of multi row grouping in matrix table.
Here is the layout of my matrix table
Row Group 1: Category Type - column A in Excel (Subtotal is added for this group)
Row Group 2: Category - column B in Excel
Row Group 3: Description - column C in Excel
Row Group 4: Baseline - column D in Excel
Because the Subtotal cell is added for the top most row group (group 1), when the report is generated in Excel this Subtotal cell spans across column B, C and D in a single merged cell. If you know of a way to generate this subtotal cell without using merged cell I would love to hear about it.
Thanks.
-SouBee
Excel doesn''t honor CanGrow setting.
Hi,
I have a matrix table in a report. The cells CanGrow field is set to true. When the report is generated in the browser, the row height grows according to the content in the cells. However, when the same report is exported to an Excel document, the row height is fixed and the content in the cells are partially hidden.
Is there anyway to get Excel report generator to recognize the CanGrow setting?
Thanks.
-SouBee
This is happening bacause of merged cells in excel. TO check export the report in excel and right click the cell which is not growing, you can see merged cell and can wrap both properties are checked.
In order to remmove this you need to avoid merging by using full length textboxes and by avoiding any component which can cause a merged cell for that particular column.
Please note that SSRS creates a new column i excel for starting and ending of each component (textbox,table column,rectangle,line) and so avoid short length components for excel support.
Priyank
|||Hi Priyank,
The cell that needs to grow dynamically is the Total/Subtotal cell. I've implementated custom data to be displayed in this cell and the data has variable length which will require CanGrow to work in order to grow its size accordingly. I don't think I can avoid using merged cell because Total/Subtotal cells are generated in Excel as merged cells. Is there any other workaround?
Thanks for the help!
-SouBee
|||i think i didnt make it clear enough
"Please note that SSRS creates a new column in excel for starting and ending of each component (textbox,table column,rectangle,line) and so avoid short length components for excel support."
So what you need to check is that your total/subtotal cell in report layout should not be starting or end point of any other component vertically.
You have to avoid merged cell in excel to get this done.
|||Hi Priyank,
I hope I understand you better this time. I don't have any components (textbox, rectangle, etc.) in my total/subtotal cell. This total/subtotal cell contains a very long string that span across multiple lines. The expression for this cell looks like this...
StrDup(70, Chr(160)) &
"000 " & First(Fields!CurrencyName.Value, "Currency") & StrDup(17, Chr(160))
Format(Sum(CInt(Fields!AmountQUEST_YAgo.Value))/13, "N0") & vbCRLF &
StrDup(70, Chr(160)) &
First(Fields!CurrencyName.Value, "Currency") & "/" & First(Fields!UOMName.Value, "ProductionUnitsUOM") & StrDup(17, Chr(160)) &
Format(Sum(CDbl(Fields!Amount_QUEST_per_Finished_Unit_YAgo.Value))/13, "N4") & vbCRLF &
StrDup(70, Chr(160)) & "Index"
Thanks.
-SouBee
|||Neither length of expression nor the presence of textboxes or rectangle inside the cell can be a problem.
Just export your report to excel, you have your subtotal/total column which is not growing, right click that cell in excel goto format cells ->alignment you can see wrap text and merged cells both are checked, since merged cells is checked this cell cannot grow. You can verify this even in any xls, just merge two cells and check both the properties ,enter a long text doesnt fit in that cell and you will see its getting chopped but if you do samr in non merged cell the text wont be chopped.
So what i am suggesting is to create your RDL in a way that not many meged columns should be resulted in the excel. Atleast not those which you are expecting to grow, the reason of the merged cells is having one or more components starting or ending location above or below the component(which has can grow property). So suppose you are having a column from 1 in (starting location) to 2 in (ending location) and you want to grow this column cells in excel, for doing so you need to make sure that in your report no textbox,rectangle,line anything has starting of ending location between 1in and 2 in ( so your textbox,rectangle,line anything can start from (0-1 in) but not at (1 to 2) and same rule for ending location nothing can have ending location between 1 and 2in)
HTH.
|||Hi Priyank,
I understand merge and wrap properties in Excel. However, as indicated in my previous email RS generated the subtotal cell as merged cell because of multi row grouping in matrix table.
Here is the layout of my matrix table
Row Group 1: Category Type - column A in Excel (Subtotal is added for this group)
Row Group 2: Category - column B in Excel
Row Group 3: Description - column C in Excel
Row Group 4: Baseline - column D in Excel
Because the Subtotal cell is added for the top most row group (group 1), when the report is generated in Excel this Subtotal cell spans across column B, C and D in a single merged cell. If you know of a way to generate this subtotal cell without using merged cell I would love to hear about it.
Thanks.
-SouBee
Excel doesn''t honor CanGrow setting.
Hi,
I have a matrix table in a report. The cells CanGrow field is set to true. When the report is generated in the browser, the row height grows according to the content in the cells. However, when the same report is exported to an Excel document, the row height is fixed and the content in the cells are partially hidden.
Is there anyway to get Excel report generator to recognize the CanGrow setting?
Thanks.
-SouBee
This is happening bacause of merged cells in excel. TO check export the report in excel and right click the cell which is not growing, you can see merged cell and can wrap both properties are checked.
In order to remmove this you need to avoid merging by using full length textboxes and by avoiding any component which can cause a merged cell for that particular column.
Please note that SSRS creates a new column i excel for starting and ending of each component (textbox,table column,rectangle,line) and so avoid short length components for excel support.
Priyank
|||Hi Priyank,
The cell that needs to grow dynamically is the Total/Subtotal cell. I've implementated custom data to be displayed in this cell and the data has variable length which will require CanGrow to work in order to grow its size accordingly. I don't think I can avoid using merged cell because Total/Subtotal cells are generated in Excel as merged cells. Is there any other workaround?
Thanks for the help!
-SouBee
|||i think i didnt make it clear enough
"Please note that SSRS creates a new column in excel for starting and ending of each component (textbox,table column,rectangle,line) and so avoid short length components for excel support."
So what you need to check is that your total/subtotal cell in report layout should not be starting or end point of any other component vertically.
You have to avoid merged cell in excel to get this done.
|||Hi Priyank,
I hope I understand you better this time. I don't have any components (textbox, rectangle, etc.) in my total/subtotal cell. This total/subtotal cell contains a very long string that span across multiple lines. The expression for this cell looks like this...
StrDup(70, Chr(160)) &
"000 " & First(Fields!CurrencyName.Value, "Currency") & StrDup(17, Chr(160))
Format(Sum(CInt(Fields!AmountQUEST_YAgo.Value))/13, "N0") & vbCRLF &
StrDup(70, Chr(160)) &
First(Fields!CurrencyName.Value, "Currency") & "/" & First(Fields!UOMName.Value, "ProductionUnitsUOM") & StrDup(17, Chr(160)) &
Format(Sum(CDbl(Fields!Amount_QUEST_per_Finished_Unit_YAgo.Value))/13, "N4") & vbCRLF &
StrDup(70, Chr(160)) & "Index"
Thanks.
-SouBee
|||Neither length of expression nor the presence of textboxes or rectangle inside the cell can be a problem.
Just export your report to excel, you have your subtotal/total column which is not growing, right click that cell in excel goto format cells ->alignment you can see wrap text and merged cells both are checked, since merged cells is checked this cell cannot grow. You can verify this even in any xls, just merge two cells and check both the properties ,enter a long text doesnt fit in that cell and you will see its getting chopped but if you do samr in non merged cell the text wont be chopped.
So what i am suggesting is to create your RDL in a way that not many meged columns should be resulted in the excel. Atleast not those which you are expecting to grow, the reason of the merged cells is having one or more components starting or ending location above or below the component(which has can grow property). So suppose you are having a column from 1 in (starting location) to 2 in (ending location) and you want to grow this column cells in excel, for doing so you need to make sure that in your report no textbox,rectangle,line anything has starting of ending location between 1in and 2 in ( so your textbox,rectangle,line anything can start from (0-1 in) but not at (1 to 2) and same rule for ending location nothing can have ending location between 1 and 2in)
HTH.
|||Hi Priyank,
I understand merge and wrap properties in Excel. However, as indicated in my previous email RS generated the subtotal cell as merged cell because of multi row grouping in matrix table.
Here is the layout of my matrix table
Row Group 1: Category Type - column A in Excel (Subtotal is added for this group)
Row Group 2: Category - column B in Excel
Row Group 3: Description - column C in Excel
Row Group 4: Baseline - column D in Excel
Because the Subtotal cell is added for the top most row group (group 1), when the report is generated in Excel this Subtotal cell spans across column B, C and D in a single merged cell. If you know of a way to generate this subtotal cell without using merged cell I would love to hear about it.
Thanks.
-SouBee
Excel doesn''t honor CanGrow setting.
Hi,
I have a matrix table in a report. The cells CanGrow field is set to true. When the report is generated in the browser, the row height grows according to the content in the cells. However, when the same report is exported to an Excel document, the row height is fixed and the content in the cells are partially hidden.
Is there anyway to get Excel report generator to recognize the CanGrow setting?
Thanks.
-SouBee
This is happening bacause of merged cells in excel. TO check export the report in excel and right click the cell which is not growing, you can see merged cell and can wrap both properties are checked.
In order to remmove this you need to avoid merging by using full length textboxes and by avoiding any component which can cause a merged cell for that particular column.
Please note that SSRS creates a new column i excel for starting and ending of each component (textbox,table column,rectangle,line) and so avoid short length components for excel support.
Priyank
|||Hi Priyank,
The cell that needs to grow dynamically is the Total/Subtotal cell. I've implementated custom data to be displayed in this cell and the data has variable length which will require CanGrow to work in order to grow its size accordingly. I don't think I can avoid using merged cell because Total/Subtotal cells are generated in Excel as merged cells. Is there any other workaround?
Thanks for the help!
-SouBee
|||i think i didnt make it clear enough
"Please note that SSRS creates a new column in excel for starting and ending of each component (textbox,table column,rectangle,line) and so avoid short length components for excel support."
So what you need to check is that your total/subtotal cell in report layout should not be starting or end point of any other component vertically.
You have to avoid merged cell in excel to get this done.
|||Hi Priyank,
I hope I understand you better this time. I don't have any components (textbox, rectangle, etc.) in my total/subtotal cell. This total/subtotal cell contains a very long string that span across multiple lines. The expression for this cell looks like this...
StrDup(70, Chr(160)) &
"000 " & First(Fields!CurrencyName.Value, "Currency") & StrDup(17, Chr(160))
Format(Sum(CInt(Fields!AmountQUEST_YAgo.Value))/13, "N0") & vbCRLF &
StrDup(70, Chr(160)) &
First(Fields!CurrencyName.Value, "Currency") & "/" & First(Fields!UOMName.Value, "ProductionUnitsUOM") & StrDup(17, Chr(160)) &
Format(Sum(CDbl(Fields!Amount_QUEST_per_Finished_Unit_YAgo.Value))/13, "N4") & vbCRLF &
StrDup(70, Chr(160)) & "Index"
Thanks.
-SouBee
|||Neither length of expression nor the presence of textboxes or rectangle inside the cell can be a problem.
Just export your report to excel, you have your subtotal/total column which is not growing, right click that cell in excel goto format cells ->alignment you can see wrap text and merged cells both are checked, since merged cells is checked this cell cannot grow. You can verify this even in any xls, just merge two cells and check both the properties ,enter a long text doesnt fit in that cell and you will see its getting chopped but if you do samr in non merged cell the text wont be chopped.
So what i am suggesting is to create your RDL in a way that not many meged columns should be resulted in the excel. Atleast not those which you are expecting to grow, the reason of the merged cells is having one or more components starting or ending location above or below the component(which has can grow property). So suppose you are having a column from 1 in (starting location) to 2 in (ending location) and you want to grow this column cells in excel, for doing so you need to make sure that in your report no textbox,rectangle,line anything has starting of ending location between 1in and 2 in ( so your textbox,rectangle,line anything can start from (0-1 in) but not at (1 to 2) and same rule for ending location nothing can have ending location between 1 and 2in)
HTH.
|||Hi Priyank,
I understand merge and wrap properties in Excel. However, as indicated in my previous email RS generated the subtotal cell as merged cell because of multi row grouping in matrix table.
Here is the layout of my matrix table
Row Group 1: Category Type - column A in Excel (Subtotal is added for this group)
Row Group 2: Category - column B in Excel
Row Group 3: Description - column C in Excel
Row Group 4: Baseline - column D in Excel
Because the Subtotal cell is added for the top most row group (group 1), when the report is generated in Excel this Subtotal cell spans across column B, C and D in a single merged cell. If you know of a way to generate this subtotal cell without using merged cell I would love to hear about it.
Thanks.
-SouBee