Hub
Pricing About
WorkflowWorkflow

04.2 Multi-Page Report - Exercise

EducationLoopGroup loopReportWrite
knime profile image
Draft Latest edits on 
Mar 27, 2025 10:09 AM
Drag & drop
Like
Download workflow
Workflow preview

Learning objective: In this exercise you will generate a multi-page report using a loop. Inside the report, you will customize the header for each page using a flow variable.

Workflow description:

The same customer transaction data set from the demo is used in this exercise.

  1. The Excel Reader node reads the customer transaction data.

  2. The date column is processed by the Date&Time Processing metanode. This metanode retains the transactions on or later than 1-1-2019, and appends two columns: Year and Quarter.

  3. The quarterly total sale is generated by the Pivot node, with Year and Quarter as rows and the classes of StoreType as columns. The aggregation method is the sum of Price.

  4. Any missing values are replaced with zeros with the Missing Value node.

  5. A new column QuarterAndYear is created by joining Year and Quarter by the Expression node.

  6. The pivot columns are renamed as Online Store and Onsite Store by the Column Renamer node.

  7. The Quarterly Sale Trend component plots the quarterly sale data in a stacked area chart, and produces a report. Open the component for more details. The Report Template Creator node is connected to the bottom input port of this component, propagating the orientation and the size of the report.

  8. The generated report is saved to a PDF file by the Report PDF Writer node.

Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 5.4.3
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.1

    knime profile image
    knime
  • Go to item
    KNIME Excel SupportTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.0

    knime profile image
    knime
  • Go to item
    KNIME ExpressionsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.1

    knime profile image
    knime
  • Go to item
    KNIME ReportingTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.0

    knime profile image
    knime
  • Go to item
    KNIME ViewsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.2

    knime profile image
    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits