Hi Ravin,
You also need to use the RSVP.EXCEL.PAGEGROUP_WSNAME_ITEMVALUE = true, the tabs in Excel 2007 output are dynamically named according to the page breaks that are specified.
On the Set advanced settings - ReportService page and Batch Report Service page, in the Parameter column, type RSVP.EXCEL.PAGEGROUP_WSNAME_ITEMVALUE.
In the Value column, type true.
Dynamically naming worksheet tabs in Excel 2007 reports - IBM Documentation (with 10.2.2)
Dynamically naming worksheet tabs in Excel 2007 reports - IBM Documentation (with 11.1.x)
Best regards,
------------------------------
Patrick Neveu
Consultant
Positive Thinking Company
Paris
------------------------------
Original Message:
Sent: Thu September 02, 2021 10:36 AM
From: Ravin Saraiya
Subject: Export To Excel Button - Export Another Page of the Report
I have 2 pages in my Cognos Report. 1st page contains Summary data and 2nd page contains Detail data.
Is it possible to add a button/link on Summary Page(1st Page) called "Export to excel" which will export data of Detail Page(2nd Page) in excel?
When we run the report from Cognos Connection, the report should run in HTML format and Summary Page(1st Page) should be displayed and Detail Page (2nd Page) should not be displayed.
And when we click on the Export to Excel button, the Detail Page (2nd Page) should get downloaded in Excel and not the Summary Page(1st Page).
I am using Cognos 11.1
------------------------------
Ravin Saraiya
------------------------------
#CognosAnalyticswithWatson