Skip to main content Skip to complementary content

Example - Creating a PowerPoint report

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

Example result

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 PowerPoint and create a new PPTX 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 PowerPoint 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.

Add a title slide containing a variable

On the default title slide, add some text to the title box—for example, add a title such as Sales Report.

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 on the title slide to indicate when the report was created.

  1. Select the description box on the title slide. 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

After adding the variable tag, you can style and format the title slide as desired.

Variable added to title slide

Title PowerPoint slide with styling and variable added

Add a page object

With page objects, you can automate the creation of filtered slides, cycling report data for each dimension value. A page creates one or more new slides for each dimension value.

Tip noteFor more information about pages, see Defining pages in PowerPoint report templates.

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

  1. Create a new slide.

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

    The Levels and pages section opens.

  3. Click Add page.

  4. Expand Fields.

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

    Selecting the field to use for the page object

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

  7. Click Add.

The page object is inserted and the corresponding field tag is added as the title. Note that the page tag itself is not visible as text so the field tag denotes which dimension value each slide is for.

Template with page object added

Add an expression

Next, you can add more content to the slide where the page object is inserted. All content defined by the page object will be repeated for each year value.

Add an expression to provide high-level information about total sales.

  1. On slide 2, reduce the size of the <Date.autoCalendar.Year> title so that it occupies half of its current length.

  2. Copy and paste the <Date.autoCalendar.Year> title and place the copy to the right of the original. Delete its contents.

  3. With the new blank box selected, type:

     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.

Template with expression inserted in a title box on the slide.

Add a chart image

  1. On slide 2, delete the content box below the title boxes.

  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, making it take up half of the area under the titles.

    Template with chart image added.

Add a table

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

    The Tables section opens.

  2. Click Add table.

    A list of available sheets appears.

  3. Expand the Dashboard sheet.

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

  5. Under Select columns to add, check All.

  6. Click Add.

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

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

    Template with chart image added.

Preview the report

Before finishing the report, you can set formatting and styling as desired.

When ready, preview the report as a PowerPoint 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 PowerPoint (.pptx).

Title slide in PowerPoint, containing application variable

PowerPoint report slide containing page object, chart image, expression, and table.

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!