Categories
- All Categories
- Oracle Analytics Learning Hub
- 19 Oracle Analytics Sharing Center
- 18 Oracle Analytics Lounge
- 230 Oracle Analytics News
- 44 Oracle Analytics Videos
- 15.8K Oracle Analytics Forums
- 6.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 85 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Generate multiple Excel sheets based on parameter value

Hi All,
We are using Oracle Fusion Cloud Application 25C and Oracle BI Publisher Desktop for developing data template reports. Our requirement is to generate Excel output where the number of sheets depends on parameter value dynamically.
If parameter X is A, all three sheets (A, B, C) are generated in Excel, if parameter X is B, only sheet B is generated, if parameter X is C only sheet C is generated. How can I create this in rtf template or Excel? I tried using rtf and splitting on multiple pages, but each page has different columns.
Could you please recommend the steps to achieve sheets dynamically.
Answers
-
Hi @Sonia Choudhary ,
Thank you for visiting and posting in Fusion Data Intelligence(FDI) Product Community Page.
This forum is for FDI product and looks like your question is for Fusion Applications.
Please note that this Question is for Fusion Apps and it is managed in our sister community, which can be found at the below links:
Oracle Cloud Customer Connect :
Welcome to Cloud Customer Connect
https://community.oracle.com/customerconnect
Oracle’s premier online cloud community
Please make a note of the above URL and visit those Fusion Apps forums to submit ideas, receive support from our FA Cloud experts and check out the resources they have available for you.Thanks
Subha0 -
I donot think it is possible with RTF Template, might be with Excel but you need to ready to try few things: High level steps could be create 3 sheets - let's say
SheetA
,SheetB
,SheetC
- On each sheet, define the layout you want (headers, columns, etc.)
- These can be totally different across sheets.
- Replace
'PARAM_X'
with the actual parameter name you defined in the data model.- <?if:xdoxslt:getXDOProperty('PARAM_X')='A' or xdoxslt:getXDOProperty('PARAM_X')='ALL'?>... Sheet content ...<?end if?>
- <?if:xdoxslt:getXDOProperty('PARAM_X')='B' or xdoxslt:getXDOProperty('PARAM_X')='ALL'?>... Sheet content ...<?end if?>
- Save the template as
.xlsx
- Define parameter
X
with values:- A
- B
- C
- (optional) ALL
- Include logic in your SQL to return data for each sheet section if necessary, or return all data and filter in the template.
Try this .xlsx template in BIPublisher and output type Excel
0 - On each sheet, define the layout you want (headers, columns, etc.)