BackPrevious Page Next PageNext

Controlling Banded Object Panels in the Exported Excel File

You can control panels of a banded object in the exported Excel file by settings the following three properties:

The three properties take effect only when the Columned property of the page report tab containing the banded object is set to true, and there is an operation order when those three properties work together: Merge to Next Panel > Repeat in Detail Panel > Remove Blank Row.

Merging panels in the exported Excel file

You can merge the banded header, banded page header, group header, or group footer panel in a banded object into the panel next to it in the exported Excel file. To do this:

  1. Make sure the Columned property of the report tab that contains the banded object is set to true.
  2. In the Report Inspector, select the node that represents the panel you want to merge.
  3. Set the value of the Merge to Next Panel property to true.
  4. Click File > Export > To Excel.
  5. In the Export to Excel dialog, select Column Format.
  6. Set the other settings according to your requirements and click OK to start exporting.

    In the exported Excel file, you can find that the specified panel has been merged to the panel next to it.

Suppose there is a page report tab containing a standard banded object which displays the fields Customer Name, Annual Sales, and is grouped by Customer_Country and Customer_Region.

Standard banded report

Then we set the Columned property of the report tab to true and Merge to Next Panel of the first group header panel to true as well, save the report tab and export it to Excel. We can see that the two group panels are merged into one and fields in the two panels are put in one cell in the exported Excel file.

Exported Excel file with merged panels

In order to improve the layout of the Excel result, now we specify the Column Index and Row Index properties of the objects as follows:

Specify the Column Index and Row Index properties of the objects

Object Column Index Row Index
A 3 1
B 4 1
C 1 1
D 2 1
E 3 1
F 4 1

Save the report tab and export it to Excel again. Fields in the Excel file are shown more clearly this time.

Excel result with improved result

Notes:

Repeating objects in the group header or banded page header panel in the detail panel

If you want to repeat objects in the group header panel or banded page header panel in the detail panel of a banded object in the exported Excel file, follow the steps below:

  1. Make sure the Columned property of the report tab that contains the banded object is set to true.
  2. In the Report Inspector, select the node that represents the panel you want to repeat.
  3. Set the value of the Repeat in Detail Panel property to true.
  4. Click File > Export > To Excel.
  5. In the Export to Excel dialog, select Column Format.
  6. Set the other settings according to your requirements and click OK to start exporting.

    In the exported Excel file, you can find that objects in the specified panel are repeated in the detail panel.

Notes:

Removing blank row in a panel

The property Remove Blank Row is provided to make the report look compact in the exported Excel file. It applies to the banded page header, group header and detail panels of a banded object.

To remove blank rows in the exported Excel file:

  1. Make sure the Columned property of the report tab that contains the banded object is set to true.
  2. In the Report Inspector, select the node that represents the panel where blank rows may appear.
  3. Set the value of the Remove Blank Row property to true.
  4. Click File > Export > To Excel.
  5. In the Export to Excel dialog, select Column Format.
  6. Set the other settings according to your requirements and click OK to start exporting.

    In the exported Excel file, you can find that there will be no blank rows in the specified panel.

BackPrevious Page Next PageNext