Adding reference lines to trendline charts
It is impossible to overstate the importance of adding context to analysis. Take the example of having the headline numberAverage Call Time
displayed on a dashboard. While this might clearly be an important metric for a call center, on its own it portrays very little.
Â
As shown in theDimensionless bar chartrecipe, we use reference lines to add the context required to make the number meaningful. Sticking to the example ofAverage Call Time
, we may also want to also see a previous point-in-time position, the national or a competitor's average, the internal target, and so on. This recipe extends the use of reference lines further.
Getting ready
For this recipe, we will make use of inline data loading, which gives us the call bounce rates for different periods. Add the following code into the data load editor and reload the Qlik Sense application:
WebStats: LOAD * INLINE [ Period, BounceRate 1, 0.26 2, 0.25 3, 0.24 4, 0.24 5, 0.27...