COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: JBCLARK20 on 14 Jul 2017 10:13:45 AM

Title: getting a 1 in cell A1 when exporting to excel from report studio 11.06
Post by: JBCLARK20 on 14 Jul 2017 10:13:45 AM
Hi All,

Just finished developing a report and all the numbers look right and it goes out to excel nicely and for some reason there is a row on top of the report with a 1 on it.
Not sure if it is an automatic page number or what.
The report does not have headers. It is just a list.

The 1 on the excel out put is in the first row and the cells are merged across the entire row
below it there are 2 title lines with singletons
and the list is below

I'm thinking this may be a default page number?
Is there a property that can be set to remove the 1?

Thank you,
Jim

Title: Re: getting a 1 in cell A1 when exporting to excel from report studio 11.06
Post by: MFGF on 14 Jul 2017 10:24:12 AM
Quote from: JBCLARK20 on 14 Jul 2017 10:13:45 AM
Hi All,

Just finished developing a report and all the numbers look right and it goes out to excel nicely and for some reason there is a row on top of the report with a 1 on it.
Not sure if it is an automatic page number or what.
The report does not have headers. It is just a list.

The 1 on the excel out put is in the first row and the cells are merged across the entire row
below it there are 2 title lines with singletons
and the list is below

I'm thinking this may be a default page number?
Is there a property that can be set to remove the 1?

Thank you,
Jim

Hi,

There's only a page number if it exists in the layout of the report - ie there is no automatic numbering per se. I'd be looking closely in the Structure View of your report to see what precedes the list in the report structure. You might find you have an unnoticed page header, perhaps?

MF.
Title: Re: getting a 1 in cell A1 when exporting to excel from report studio 11.06
Post by: Kiran P on 14 Jul 2017 10:25:15 AM
There shouldn't be any default behavior like this. Pls go to Page Structure view and see if there are any hidden elements.

Thanks
Kiran

Sent from my ZUK Z2132 using Tapatalk

Title: Re: getting a 1 in cell A1 when exporting to excel from report studio 11.06
Post by: JBCLARK20 on 03 Nov 2017 09:57:08 AM
Thanks for the feed back.
Cleaning up the report in page structure worked.
Title: Re: getting a 1 in cell A1 when exporting to excel from report studio 11.06
Post by: Aish on 20 Aug 2019 01:43:11 PM
hi All,

I am facing the same issue and couldn't find any extra rows apart from Page header (with logo and Report tile) in the Page structure
If I add a table in the page Header, it shows '1' in the first row of Excel output

It's not showing up when I add a layout component reference to display the logo, but I can't use it as the structure of page header is different for this report
It's in 11.0.6. Please suggest
Title: Re: getting a 1 in cell A1 when exporting to excel from report studio 11.06
Post by: MFGF on 20 Aug 2019 02:21:35 PM
Quote from: Aish on 20 Aug 2019 01:43:11 PM
hi All,

I am facing the same issue and couldn't find any extra rows apart from Page header (with logo and Report tile) in the Page structure
If I add a table in the page Header, it shows '1' in the first row of Excel output

It's not showing up when I add a layout component reference to display the logo, but I can't use it as the structure of page header is different for this report
It's in 11.0.6. Please suggest

Hi,

Is this just when you test-run the report from within the Authoring environment, or do you get the same issue when running the report directly from the portal?

MF.
Title: Re: getting a 1 in cell A1 when exporting to excel from report studio 11.06
Post by: pdeprado on 20 Sep 2019 12:04:31 PM
Thanks MFGF!

That was exactly what I needed.  If I run to Excel from the Report list the "1" no longer appears on my A1 cell.
It only appears when running from the edit mode's run report button.