Example - Creating a Word report | Qlik Cloud Help
Skip to main content Skip to complementary content

Example - Creating a Word report

Last updated: 9/18/2026

In this example, you will build a Word-based report to analyze sales by year, region, and customer.

Word report result.

Generated Word report result, page 2

Before you start

Create a new template

Tip noteFor more information about getting started with the add-in, see Getting started with using Qlik add-ins for Microsoft Office.

Get started

  1. Open Microsoft Word and create a new DOCX file. This will be your template file.

  2. Click the Qlik add-in icon in the ribbon bar under the Home tab.

    Open the Qlik add-in by clicking the Qlik icon in the ribbon bar

    Ribbon bar in Microsoft Word showing the Qlik add-in icon
  3. Log in to the add-in using your Qlik Cloud credentials.

    Connecting to the tenant and logging in

Connect to the application

  1. Select the Space where you have uploaded the application.

  2. Under App, select the application.

  3. Click Save.

    Connecting to the uploaded application in the template

    Add-in pane 'Home' tab, selecting source application to connect to.

The template is now connected to the application.

Setting up the report

  • Add a title to the report—for example, Sales Report. Format the title as desired.

Add a level

With levels, you can automate the creation of filtered sections, cycling report data for each dimension or chart value. A level creates a new section for each dimension or chart value.

Tip noteFor more information about levels, see Adding levels to Word report templates.

Add a page object to generate a separate section for each year.

  1. Add new lines below the title you created earlier.

  2. In the add-in, click the Levels and pages icon on the top toolbar.

    The Levels and pages section opens.

  3. Click Add level.

  4. Expand Fields.

  5. Click Plus symbol next to Date.autoCalendar.Year.

    Selecting the field to use for the level

    Selecting the field to use for the level object
  6. Under Select fields to add (optional), check the box for Date.autoCalendar.Year.

  7. Click Add.

Add expressions

Add expressions to provide high-level information about sales. You can reuse the same expression, placing it once at the top of the report (for all-time total sales), and once inside the level (for total sales per year).

  1. Place your cursor above the opening <Date.autoCalendar.Year_Level> tag of the level.

  2. Press Enter to create a few new lines.

  3. Type the following:

     Total Sales: 
  4. In the add-in, click the Variables icon on the top toolbar.

    The Variables and expressions section opens.

  5. Click Add expression.

  6. Under Name, type TotalSales.

  7. Under Expression, add the following:

    Money(Sum(Sales))
  8. Click Create.

  9. Under Select fields to add (optional), check the box for Date.autoCalendar.Year.

  10. Click Add.

  11. Add a few new lines between the <Date.autoCalendar.Year_Level> and <Date.autoCalendar.Year> tags.

  12. Type the following:

     Total Sales: 
  13. In the add-in, click the Variables icon on the top toolbar.

    The Variables and expressions section opens.

  14. Next to the TotalSales expression you just created, click Right-directional arrow.

  15. Click Add expression tag.

Template with expressions inserted.

Word template with Total Sales expressions inserted

Add a chart image

  1. Add a few new lines below the second Total Sales: <TotalSales> line.

  2. In the add-in, click the Chart object icon on the top toolbar.

    The Charts section opens.

  3. Click Add chart.

    A list of available sheets appears.

  4. Expand the Dashboard sheet.

  5. Click Plus symbol next to the Top 5 Customers chart.

  6. Resize the chart as desired.

    Template with chart image added.

    Word template with Top 5 Customers chart image added

Add a table

  1. Place your cursor below the chart image you just inserted.

  2. In the add-in, click the Tables icon on the top toolbar.

    The Tables section opens.

  3. Click Add table.

    A list of available sheets appears.

  4. Expand the Dashboard sheet.

  5. Click Plus symbol next to the Sales per Region chart, and select Individual columns.

  6. Under Select columns to add, check All.

  7. Click Add.

    All columns from the source chart are added as individual columns in a Word table.

  8. Move and resize the table so it takes up the remaining space below the titles.

    Template with chart image added.

    Word template with Sales per Region table added below chart

Add a variable in the document header

You can add variables from the analytics application to the report. Variables store values that can change dynamically. Add a variable that has been added to the application, storing today's date. It can be added to the document header so that each page contains the date of report generation.

  1. Double-click the top of document canvas to select the document header. This is where the variable will be inserted.

  2. In the add-in, click the Variables icon on the top toolbar.

    The Variables and expressions section opens.

  3. Click Add variable.

    A list of available variables appears.

  4. Click Plus symbol next to vTodayDate .

    Selecting the variable to use

    Selecting the variable to use

Preview the report

Use the Word-native features to finalize the document presentation. For example, you can:

  • Set formatting, styling, and spacing as desired.
  • Add auto-generated page numbers in the footer.

  • Add a table of contents at the top of the document (formatting field tags with header styles ensures these items will be captured in the table of contents).

    Microsoft documentation: Inserting a table of contents

  • Insert a page break within the level tag to break each cycle of the level into its own page.

Page 1 of Word report template ready to preview, containing table of contents

Word template ready to preview, page 1 with table of contents

Page 2 of Word report template ready to preview, containing tags and chart images.

Word template ready to preview, page 2 with tags and chart image

When ready, preview the report as a Word file to ensure it looks as expected.

  1. In the add-in, click the Preview icon on the top toolbar.

    The Preview section opens.

  2. Click Preview as Word (.docx).

Page 1 of Word report result.

Generated Word report result, page 1

Page 2 of Word report result.

Generated Word report result, page 2

Next steps

The next step is to upload the template to the application.

After uploading the template, you could:

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!