Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
Ouadie
Employee
Employee

What is Time Series Analysis?

Time series analysis helps us understand and learn about the changes in our data over time. It involves collecting data points at consistent intervals over a set period of time, and using statistical methods to identify trends, patterns, and relationships in the data.

Time series analysis can also be used for forecasting future data based on historical trends and patterns as we will see later in this post.

 

Ouadie_0-1675464379885.pngQlik Demo showing UK Crime trends: Explore demo here

 

Where can it be used?

Time series is used in a variety of industries, including finance, economics, retail, and meteorology, to help understand trends/patterns or make predictions and forecasts based on historical data, or simply to develop insights into how things change over time.

For instance Retailers can use time series data in a number of ways to support their decision making and improve business performance, including:

  • Sales forecasting to project sales trends in the future and predict demand, plan for inventory, and optimize supply chain to avoid overstocking or shortages.
  • Customer behavior analysis to understand how their customers’ habits change over time and identify spending habits and purchasing patterns which can help optimize marketing targeting efforts.
  • Pricing analysis to understand how prices change over time affect sales and customer behavior.
  • Inventory management to identify demand for specific products.

 

Ways to visualize Time Series data:

When it comes to looking at time-based data, we usually tend to use a Line Chart as it offers a simple and quick way to view changes related to a measure (Y-axis) over the course of time (X-axis).  

Untitled.pngAvg Temp over time comparison between 3 countries

Other charts however can help visualize the information better, here are some examples:

- A heatmap chart as seen on Github’s commit history shows a darker colored squares when more commits are made during a day and lighter color for less commits allowing us to easily notice the more productive days.

Ouadie_2-1675464900181.png

- A simple slope chart can be used when the time interval is limited and we want to see direct transitions over time, for instance comparing total sales data by industry between two years. Check out my other post to learn more about how this slope chart was created using Qlik's open source libraries.

Ouadie_3-1675464920474.png

 

Time Series Forecasting in Qlik Sense

Time series forecasting allows us to predict where a particular metric is going to be in the future based on historical data.

Qlik Sense makes it easy to do this on the Line chart.

 Let’s build a chart with forecast that looks at average temperatures in the US (The QVF for this example is downloadable at the end of the post)

  • Create a filter pane and select United States to limit data to one country.
  • Create a Line Chart using:
    1. Dimension: MonthYear
    2. Measure: Sum(AverageTemperature)
  • Expand the Measure field and turn ON the “Forecast” setting
    1.png
  • Move to the Dimension field and you can see that 2 new settings have appeared:
    1. Forecast steps: the number of data points to be forecasted (we choose 12). Keep in mind that the further we go out in time, the broader the confidence becomes due to the increased uncertainty.
    2. Step size: the granularity of the forecast steps (we choose Month to forecast for the upcoming year)
      2titled.png
  • You can also change the method used for the forecast (SSA or OLS) and the appearance of the trend line
    3Untitled.png
  • Confidence level describes the probabilistic range of the forecast and can be adjusted from 0 to 1. If 0.9 is selected, that means that 90% of the time, we will be within the blue range.

4Untitled.png

Using Insight Advisor:

Qlik has recently added the “Trend with Forecast” analysis type to Insight advisor. You can simply use the suggested measure and dimension and generate the chart:

5Untitled.png

6Untitled.png

7Untitled.png

To learn more about time series forecasting, check out this help article.

Thank you!

3 Comments
jstar
Contributor III
Contributor III

There are multiple Qlik Sense products in your lineup.

For Qlik Sense Enterprise on Windows (QSEoW) there is a missing SSE function: qlikml.ScriptEval and also the option in Insight Advisor to create this forecast... (I think it is a Qlik Sense Cloud feature only)

I hope that someday we can create the same chart in QSEoW. 🙂

3,112 Views
muneer
Contributor II
Contributor II

Hi, do you have any information on the availability of forecasting for Qlik Sense Enterprise?

Thanks

2,178 Views
p_verkooijen
Partner - Specialist
Partner - Specialist

Hi @Ouadie will this function ever get to the client managed version of Qlik Sense? 

1,484 Views