Hub
Pricing About
WorkflowWorkflow

Monthly and YTD Revenues

Google SheetExcel SheetYTDSpreadsheetsKNIME for Finance
+1
Versionv2Latest, created on 
Jan 22, 2025 3:25 PM
Drag & drop
Like
Download workflow
Workflow preview
Monthly and YTD Revenues

Comparing restaurant revenues month by month for 2022 and 2023, as monthly revenues and as YTD revenues.

YTD = Year To Date means the sum of revenues up to the current month.

Transactions from 2022 are saved in an Excel file, while transactions from 2023 are saved in a Google spreadsheet (which we made public for this example). So, we use an Excel Reader node to read data from 2022 and Google Sheets nodes to access the data for 2023. To access the Google spreadsheet, you are supposed to provide authentication for your Google account. Do not worry, authentication happens and remains at Google. Nothing will be stored with the KNIME workflow. After accessing the data:

- we extract parts of the date&time objects for each invoice,
- we perform a monthly aggregation with the Pivot node
- we calculate the YTD values with the metanode "YTD"
- We then concatenate/join the values for 2022 and 2023 and
- We visualize them in bar chart (monthly) and line plot (YTD)

Notice that we could have performed all aggregations within the bar chart node. However, for large amounts of data the loading (and refreshing if in a data app) of the views might take long time, since at each refreshing all totals must be recalculated. So we opted for pre-calculated values before visualization.

Read more on the topic Monthly and YTD Rvenue Aggregations on the KNIME Blog: https://www.knime.com/blog/how-to-calculate-year-to-date-aggregation

External resources

  • KNIME Blog: Monthly and YTD Revenue Aggregations
  • Google Sheets Public Data 2017
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

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

    KNIME AG, Zurich, Switzerland

    Versions 5.2.0, 5.4.0

    knime
  • Go to item
    KNIME Excel SupportTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.2.0

    knime
  • Go to item
    KNIME ExpressionsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.0

    knime
  • Go to item
    KNIME Google ConnectorsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.0

    knime
  • Go to item
    KNIME Timeseries nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Versions 5.2.0, 5.4.0

    knime
  • Go to item
    KNIME ViewsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.0

    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