Friday, February 17, 2012
Excel Rendering Problem w/ SP1
correctly. The report in question renders to all other formats correctly. The
error occurs on a variance report where individual cells of a table have
color dynamically assigned based on the variance values (green = good, red = bad). Instead of formatting the individual cell based on the logic embedded
in the report, the entire column retains the color code of the first column.
Any help?Hi,
I had a problem while rendering to Excel before the SP1.
After SP1 is installed Excel rendering works fine.
Eralper
http://www.kodyaz.com
"SD Sills" wrote:
> Since installing SP1, RS does not render color information to Excel
> correctly. The report in question renders to all other formats correctly. The
> error occurs on a variance report where individual cells of a table have
> color dynamically assigned based on the variance values (green = good, red => bad). Instead of formatting the individual cell based on the logic embedded
> in the report, the entire column retains the color code of the first column.
> Any help?|||Same problem here .
Did you find a solution ?
"SD Sills" <SDSills@.discussions.microsoft.com> wrote in message
news:D74E38BA-08AC-4D7F-B54F-E4F5F9E7DE7B@.microsoft.com...
> Since installing SP1, RS does not render color information to Excel
> correctly. The report in question renders to all other formats correctly.
> The
> error occurs on a variance report where individual cells of a table have
> color dynamically assigned based on the variance values (green = good, red
> => bad). Instead of formatting the individual cell based on the logic
> embedded
> in the report, the entire column retains the color code of the first
> column.
> Any help?|||I'm using the below expression for background information of Active column
in my report. I want to see background green if the record is active, red
otherwise
so my expression for BackgroundColor is :
=iif(Fields!Active.Value="True","Green","Red")
Active field has a boolean type in SQl server.
I'm using MS Excel version 2003 SP1, 11.6355.6360 and colors of the exported
excel document is correct.
Excel version may cause rendering problems. I was having one with version 9.
Eralper
http://www.kodyaz.com
"Tudor VAsile" wrote:
> Same problem here .
> Did you find a solution ?
> "SD Sills" <SDSills@.discussions.microsoft.com> wrote in message
> news:D74E38BA-08AC-4D7F-B54F-E4F5F9E7DE7B@.microsoft.com...
> > Since installing SP1, RS does not render color information to Excel
> > correctly. The report in question renders to all other formats correctly.
> > The
> > error occurs on a variance report where individual cells of a table have
> > color dynamically assigned based on the variance values (green = good, red
> > => > bad). Instead of formatting the individual cell based on the logic
> > embedded
> > in the report, the entire column retains the color code of the first
> > column.
> >
> > Any help?
>
>
Excel rendering - merged columns etc.
Hi guys,
i have a client who is dissatisfied with the merged columns and rows produced when SSRS renders to Excel, it prevents them from easily copying and pasting data into another workbook.
Is there going to be any work done in this area of the product in the near future? My understanding is that this 'issue' has been around for quite some time, and shortly after the SSRS2005 RTM release the team were going to look at tidying up the Excel rendering. Can anyone from MS make an official comment on this?
Thanks,
sluggy
Hello,
This is a well known issue that people often encounter when rendering to Excel. First, I suggest reading this blog post which describes the problem and suggests several ways to reduce cell merging:
http://blogs.msdn.com/chrisbal/archive/2006/07/08/659545.aspx
There will be some improvement in this area in the next major release of Reporting Services. We have made some refinements to the renderer to prevent any adverse merging that is a result of internal rounding issues. This means that overall you should see a reduction in the number of merged cells, but you will still need to proactively make sure that your report items align properly as described in the referenced blog article.
Best regards,
Chris
Chris Baldwin - MSFT wrote:
There will be some improvement in this area in the next major release of Reporting Services. We have made some refinements to the renderer to prevent any adverse merging that is a result of internal rounding issues.
Thanks Chris, that was the answer i was after, i can now tell the customer with some certainty that there will be an improvement in the future. In my particular case, i don't care about the header of the reports, i just care about the merged cells in the data area; i have seen cases where one table column spans three excel columns (merged into one), but when those excel columns are unmerged the data in the first few rows could be in colunmn 3 and for the rest of the rows it will be in column 2, with column 1 containing the column title - merged cells would be easier to live with if the data (and title) was in consistent columns once unmerged.
Thanks for you answer :)
sluggy
Wednesday, February 15, 2012
Excel Issue
I love the product, but my users hate the way RS renders to excel. There are
merged cells - and addition blank columns between the table columns. Sorting
is therefore a nightmare. My users would prefer reports from a visual basic
front end with all data coded to excel -- something I was hoping Reporting
Services would resolve. It has been my experience that Excel is every
accountants #1 software, it is to bad microsoft didn't take this into
consideration when developing RS.You can design reports to export properly to Excel.
What I do is the following. I add additional header rows and then merge
either the whole row together of a couple of cells and then put in what I
normally would have put in a textbox. You would think that merging cells
together this way would cause a problem with merged cells in Excel but it
does not. If you select your header and your data you can sort, while if you
have exported with a textbox above the table you get the problem with merged
cells when trying to sort.
Below is another solution from another poster. I haven't tried it but it
seems reasonable:
>>>>>>>>>>
Earlier this year I was trying to find a way around the merged cell issue.
(RS 2000 reports exported to Excel may not be sortable due to "merged
cells"). There were some newsgroup messages with ideas. I eventually decided
on this design workaround. Hopefully this can save someone else from doing
this research..
The Table can be the full width or slightly less of your page. I have best
results when it is less than the full width. I don't know if you can have
multiple tables in the body and still sort ok - I doubt it. Any/all other
objects in the body (logo images, textboxes) MUST be full width - from
leftmost edge to rightmost edge. Images can use Sizing = FitProportional to
appear ok. If any of those objects in the body is even slightly less than
full width (such as two text boxes adjacent to each other on the same row,
or a logo in the upper left and the title textbox in the upper right on the
same row), I've found that you will get merged cells in Excel and cannot
sort. I also tried all kinds of careful alignments of objects (matching the
columns in the table, etc) but it still caused merged cells. I don't believe
it matters what you have in the page header or footer - I can put multiple
textboxes on the same row in my page footer and it works ok.
Hope that helps,
Steve Nyberg
>>>>>>>>>>
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"coding4life" <coding4life@.discussions.microsoft.com> wrote in message
news:1004438F-9090-4D8B-B900-090F83227184@.microsoft.com...
> Does Microsoft have any plans for an excel - add on to Reporting
> Services?
> I love the product, but my users hate the way RS renders to excel. There
> are
> merged cells - and addition blank columns between the table columns.
> Sorting
> is therefore a nightmare. My users would prefer reports from a visual
> basic
> front end with all data coded to excel -- something I was hoping Reporting
> Services would resolve. It has been my experience that Excel is every
> accountants #1 software, it is to bad microsoft didn't take this into
> consideration when developing RS.
>