Displaying More Than 65k Rows Output in Single Excel Template

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

How to display more than 65,536 Rows as output in Excel template?

Excel Template having the limitation of displaying 65,536 rows as it is in .xls (Excel 97-2003
Workbook) format.

Solution: We can split the output data of more than 65k rows into multiple pages.

Steps:

1. Split the group of XML data into two as below.

a. Add a new column CEIL(ROWNUM/60000) COUNTROW to the query.


b. add XML element for the same in the XML Data Definition. (In the given example,
Splitting is done for every 60k Records)
c. No need of adding this column in the Excel template

2. In the Excel template  XDO_METADATA  Data Constraint

Add rows as below

a. First one is for splitting the data based on the Group

b. Second one is for Naming Convention for Every sheet

Column A Column B

XDO_SHEET_? <?.//G_1?>

XDO_SHEET_NAME_? '<?concat('Sheet- ',.//COUNTROW)?>


Please find the attached,

Sample Excel Template

Output file

You might also like