# Export to PDF & Excel

Planning Sheet allows you to export the table/matrix as either PDF or Excel. The industry-leading export capability delivers the following:

* Export with formatting, category or value structure and notes ​
* Export table/matrix along with scaled number formatting​
* Export calculated rows, columns, and edited cells​
* ​End-users in the Reading view can customize export options​​
* ​Export to Excel with Expand/Collapse capability
* Export to multiple Excel worksheets based on category ​
* ​Pagination & page-break support for Export to PDF

You can find the export option in the toolbar's 'Export' tab. There are two sections: 'Export to PDF' and 'Export to Excel'. Let's look at them one by one.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2685).png" alt=""><figcaption><p>Export options</p></figcaption></figure>

## 1. Export to PDF

The first step in exporting as a PDF file is to configure the page setup.

### 1.1. Page Setup

The page setup section provides options to customize the content order, page size, orientation, margin, font, image/logo and comment settings, etc. Click on **Page Setup**. A side panel opens as shown.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2686).png" alt=""><figcaption><p>Page Setup</p></figcaption></figure>

* **Content Order:** When the number of rows/columns doesn't fit on a single page, you can define the order in which the rows/columns are exported using the '**Content order**' option.

Let's consider the below example. Based on the page scaling, only 8 columns and 20 rows can be accommodated on a single page.

When the '**Row first**' option is chosen, the remaining rows for the first 8 columns are displayed on the second page. The third and fourth-page contents are highlighted in the image.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/6.1.34%20Export%20Row%20first.png" alt=""><figcaption><p>Row-first export</p></figcaption></figure>

When the '**Column first**' option is chosen, the remaining columns for the first 20 rows are displayed on the second page. The third and fourth-page contents are highlighted in the image.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/6.1.35%20Export%20Column%20first.png" alt=""><figcaption><p>Column-first export</p></figcaption></figure>

* **Page size:** Select the '**Page size**' from the drop-down - Available sizes are Letter, A3, A4, A5, Tabloid, and Legal.
* **Orientation:** Select either Landscape or Portrait as page orientation.
* **Scaling:** Scale the page manually by percentages or automatically scale to fit all columns in a single page using this option.
* **Margin:** Apply a narrow, normal, or wide margin as per your requirement.
* **Font:** Select a font style from the available options in the dropdown. Custom fonts can also be used when exporting.

{% hint style="info" %}
If the data is customized with different fonts, the font selected in this Settings panel will be used for PDF export.
{% endhint %}

* **Show header and footer:** You can show the header and footer either only on the first page or on every page.
* **Add image/logo to the first page:** You can create a cover page for your report using this toggle. Select a custom image to use as the cover page.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2687).png" alt=""><figcaption><p>Logo as the Cover image</p></figcaption></figure>

* **Use as background image:** If you want the image to fill the entire cover page, select this checkbox.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(11).png" alt=""><figcaption><p>Use as background image for PDF extracts</p></figcaption></figure>

* **Margin and alignment:** The logo can also be aligned using the margin settings as well as the horizontal and vertical alignment options, instead of filling the entire cover page.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2688).png" alt=""><figcaption><p>Margin and alignment of logo</p></figcaption></figure>

* **Include comment replies:** You can capture comments and replies in the fully formatted PDF exports. Check the **'Include comment replies'** to export the replies in the comments column.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(1293).png" alt=""><figcaption><p>Report that has comments and replies</p></figcaption></figure>

After exporting the report to a PDF, you will be able to see formatted comments and replies in the file.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/6.1.%20Comments%20replies%20(1).png" alt=""><figcaption><p>Comments and replies</p></figcaption></figure>

* **Include comments in last page:** In addition to displaying the comments on the respective pages, you can also choose to include all added comments (and replies, if enabled) on the last page of your exported PDF.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2689).png" alt=""><figcaption><p>Comments included in the last page of the exported PDF</p></figcaption></figure>

* **Include author name and date in comments:** Select this option to include the comment authors' name, as well as the commented date and time.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2690).png" alt=""><figcaption><p>Include author's name and date in comments</p></figcaption></figure>

* **Export with conditional formatting:** You can retain or remove conditional formatting when exporting the report. Select the conditional formatting rules for the report extract.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2779).png" alt=""><figcaption><p>Selecting conditional formatting rules to export</p></figcaption></figure>

Notice how the classification text has been removed from the PDF extract.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2780).png" alt=""><figcaption><p>PDF extract with selected rules</p></figcaption></figure>

You may have conditional formatting rules that have been disabled, but you can still include them in the export. For example, the CF rule to highlight negative values in the variance column has been disabled in the report but enabled in export settings.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2781).png" alt=""><figcaption><p>Apply conditional formatting only to exports and not in the report</p></figcaption></figure>

The Excel export contains the conditional formatting on the variance column, which was turned off in the report.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2782).png" alt=""><figcaption><p>Conditional formatting applied only to the export</p></figcaption></figure>

* **Include Filter Info:** When you select this checkbox, the exported PDF will include information about the filter contexts in the report.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2691).png" alt=""><figcaption><p>Filter context</p></figcaption></figure>

* **Include footnotes:** You can select this option to export the footnotes along with the table/matrix.
* **Include Global/Locale variable:** Select this option to include global and local variables in the exported PDF.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2692).png" alt=""><figcaption><p>Footnotes and variables included</p></figcaption></figure>

* **Compress PDF:** You can export PDFs with a maximum file size of 10 MB. This option allows you to compress your PDF export.
* **Decimal Precision:** Set a custom decimal precision for the export.
* **Word Wrap:** The **'Word Wrap'** options are specifically intended for reports that are formatted using **table functions**.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2646).png" alt=""><figcaption><p>Word wrap options</p></figcaption></figure>

The '**Precise'** option enables word wrapping, ensuring that overflowing rows are wrapped onto the next line and fully visible in the PDF export. In contrast, the '**Auto'** option does not apply word wrapping, which may result in truncated data. The highlighted text in the screenshots depicts the difference between Auto and Precise word wrapping.

<div><figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2647).png" alt=""><figcaption><p>Auto word wrap</p></figcaption></figure> <figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/2025-04-18_09h45_34.png" alt=""><figcaption><p>Precise word wrap</p></figcaption></figure></div>

* **Footnote position:** You can set the footnote position as,

**Last Page:** Footnotes get printed on the last page.

**Dynamic:** Based on the available space, footnotes get printed either on the same page where they are added or on the last page.

* **Excel Settings:** These are the options available when exporting to Excel. They are explained [here](#id-2.1.-page-setup).

Finally, click **Update** to save your page setup preferences, or click on 'Reset' to reset all your selections to defaults.

### 1.2. Exporting

Once the page setup is complete, you need to choose whether the entire matrix needs to be exported or just selected columns.

#### Entire matrix

1. You can export all the rows and columns by clicking **Entire Matrix**.
2. Click on **PDF Report** to export the file in PDF format.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(4)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1).png" alt=""><figcaption><p>Export entire matrix PDF</p></figcaption></figure>

3. A pop-up appears as shown. The PDF file can be either saved to the computer or sent by email. To save the document, choose **Save to Computer** and then click on the **Click to export** option.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(5)%20(1)%20(1)%20(1)%20(1)%20(1).png" alt=""><figcaption><p>Click to export and save to computer</p></figcaption></figure>

4. Click **Download** to confirm.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(6)%20(1)%20(1)%20(1)%20(1)%20(1).png" alt=""><figcaption><p>Click 'Download'</p></figcaption></figure>

5. The entire matrix gets exported as shown.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(7)%20(1)%20(1)%20(1).png" alt=""><figcaption><p>Exported PDF - entire matrix</p></figcaption></figure>

#### Selected columns

If you need to export only selected columns of your report, click **Selected Columns,** as highlighted in the image below.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(8)%20(1)%20(1).png" alt=""><figcaption><p>Export selected columns</p></figcaption></figure>

The selected columns are downloaded as shown.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(9)%20(1).png" alt=""><figcaption><p>Exported PDF - Selected columns</p></figcaption></figure>

{% hint style="info" %}
Export to PDF does not support image columns. It does allow chart exports.
{% endhint %}

#### Exporting PDF with charts

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(10).png" alt=""><figcaption><p>Exported PDF with charts</p></figcaption></figure>

## 2. Export to Excel

### 2.1. Page Setup

In the **Page Setup** menu, only the **Excel Settings** section is applicable for export to Excel.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(3)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1).png" alt=""><figcaption><p>Excel Settings</p></figcaption></figure>

* **Freeze Header:** Select this check box to freeze the header in the exported Excel.
* **Freeze Label Column:** Select this check box to freeze the column labels in the exported Excel.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1).png" alt=""><figcaption><p>After freezing header and column labels</p></figcaption></figure>

* **Add appendix at last sheet:** Select this checkbox to include a formula appendix tab at the end of the exported Excel report, enabling users to easily refer to the underlying formulas used.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(6)%20(1)%20(1)%20(1)%20(1).png" alt=""><figcaption><p>Add formula appendix</p></figcaption></figure>

### 2.2. Exporting

You can export your report as an Excel file by clicking on the **Export Report** dropdown as shown in the below image.

When there are row/column hierarchies, there are three ways to export: 'Fully Expanded', 'With Expand/Collapse', and 'Current State'. You also have the option to customize header settings.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1).png" alt=""><figcaption><p>Exporting options</p></figcaption></figure>

Let's look at the options one by one.

### 2.3. Fully expanded

You can export the Planning sheet with **all rows fully expanded** by choosing the **Fully Expanded** option. You can see that 'East' and Pacific -> Beverages are collapsed.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/FullyExpanded1.png" alt=""><figcaption><p>Fully expanded option</p></figcaption></figure>

In the exported Excel, you can see that 'East' and Pacific -> Beverages are fully expanded.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/FullyExpandedExcel.png" alt=""><figcaption><p>Fully expanded excel report</p></figcaption></figure>

### 2.4. With Expand/Collapse

Select this option to export as Excel with expandable and collapsible row hierarchies.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/Expandcollapse.png" alt=""><figcaption><p>With expand/collapse option</p></figcaption></figure>

The exported Excel displays the same expand/collapse state as in the report and includes the expand/collapse buttons.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(3)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1).png" alt=""><figcaption><p>Excel report with expand/collapse</p></figcaption></figure>

{% hint style="info" %}
Export to Excel retains the expand/collapse state only for row hierarchy and not for column hierarchy.
{% endhint %}

### 2.5. Current state

To export the current expand/collapse state without an option to expand/collapse in the Excel file, you can select the 'Current state' option.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/CurrentStatereport.png" alt=""><figcaption><p>Current state option</p></figcaption></figure>

The downloaded Excel shows the same expand/collapse state as in the report.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/Excel%20Report-currentstate.png" alt=""><figcaption><p>Current state report</p></figcaption></figure>

{% hint style="info" %}
Export to Excel does not support images and charts. Only basic icons that are available in Excel, rating, and data bars are supported.
{% endhint %}

### 2.6. Header settings

Planning Sheet provides support for exporting header elements such as dates and symbols. From the header settings UI, you can quickly select the lines of the header that you want exported to an Excel file.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/9.1%20Export%20-%20header.png" alt=""><figcaption><p>Header settings</p></figcaption></figure>

If your reports use charts or images in the header and footer, Planning sheet enables you to export them as an image to an Excel file.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2783).png" alt=""><figcaption><p>Exporting images and charts in headers</p></figcaption></figure>

## 3. Copy to clipboard

,You can copy the data from your Planning sheet visual including the calculated row, columns, edits, and notes (if there are any). The copied data can be easily pasted into an Excel sheet.

{% hint style="info" %}
The keyboard shortcut for the copy to clipboard option is **'Ctrl+C+L'**
{% endhint %}

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/copy-to-clipboard.png" alt=""><figcaption><p>Copy to clipboard</p></figcaption></figure>

The above data has been copied and pasted in an Excel sheet and it gets displayed as shown in the below image.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/pasted-data-in-excel.png" alt=""><figcaption><p>Pasted data in Excel</p></figcaption></figure>

Another way to share reports is by sending ad-hoc emails. To learn more, refer to [Send to email](broken://pages/Kjpqs1oxyUX1c5rjd1op).

#### Resources

[Formatted Export to PDF in Power BI](https://inforiver.com/blog/general/formatted-export-to-pdf-in-power-bi/)

[Formatted Export to Excel/Spreadsheets in Power BI](https://inforiver.com/blog/general/formatted-export-to-excel-spreadsheets-in-microsoft-power-bi/)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fabricplan.com/planning-sheets/how-tos/10.-exporting-reports/export.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
