COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: jv_oz on 23 Mar 2017 09:13:25 PM

Title: Logo/Image Output to Excel
Post by: jv_oz on 23 Mar 2017 09:13:25 PM
Hi all,

I have a report studio report that looks awesome in HTML and PDF. It has a logo in the top right corner. When this is output as an Excel 2007 file it still puts the logo in the top right corner, however it merges a block of about 10 columns and four rows - which just looks dumb!

So, can anyone please advise how I can either stop or limit the cell merging where the logo is OR remove the logo from output when Excel 2007 is chosen?

Thanks heaps for your help,

John
Title: Re: Logo/Image Output to Excel
Post by: sdf on 23 Mar 2017 09:22:33 PM
render variable based on function ReportOutput()
Title: Re: Logo/Image Output to Excel
Post by: BigChris on 24 Mar 2017 03:09:32 AM
The render variable is the way to prevent the logo being shown. I don't know of a way to stop it merging multiple rows though...I get the same thing with my logo when it goes out to Excel so I'd be interested in a solution. I don't think there'll be one though...
Title: Re: Logo/Image Output to Excel
Post by: New_Guy on 24 Mar 2017 08:28:37 AM
Hi,
There is no way around it except altering the output with VBA within Excel. We had this issue from years and asked the users if they want to really see a logo that is 15px height in for excel format which can fit in one row.
Good luck
New Guy
Title: Re: Logo/Image Output to Excel
Post by: Cognos_Jan2017 on 24 Mar 2017 11:23:05 AM
I don't have a Logo Report to test this, but we encountered a "dumb looking Merge" running to Excel 2007.

We guessed maybe it would run OK to Excel 2002 ... it did.  Maybe it will work w/ your Logo?

Please let us know.  Thank you, Bob
Title: Re: Logo/Image Output to Excel
Post by: jv_oz on 28 Mar 2017 07:56:44 PM
Hi all,

Thanks for your advice.

I have used the report variable as suggested. For others who may be looking at this, this was the process: