Users can generate narratives for visualizations not native to Qlik Sense or without a connected visualization at all. This means users can generate narratives connected to Qlik Sense extensions or even create a Qlik Sense worksheet containing just narratives and no visualizations at all. This guide walks through how to utilize this feature.
Connecting Narratives to Non-Native Visualizations
In this example, we have a worksheet containing a narrative connected to a Qlik Sense scatterplot, but we also have a heat map extension we downloaded from Qlik Branch.
When we bring our narrative extension onto the worksheet, we will now be prompted to choose whether we want to connect it to a chart or want to add data manually.
We will get to the 'add data' flow later in this guide. Since we are going to connect our narrative to the heat map, we will choose 'Link to Chart'.
This view will look just like the previous narrative creation flow. Next, you will click on the heat map.
Next, you will be prompted to choose the 'Narrative Type'. These are the types of narratives you can generate:
- Continuous analysis - Examining a metric or set of metrics over a continuous dimension
- Discrete analysis - Examining a metric or set of metrics over one or two discrete dimensions
- Percent of Whole analysis - Examining a metric over a discrete dimension with a focus on what portion those dimensions make of the whole
- Scatter plot analysis
In this case with our heat map, we will want a 'discrete' narrative, so we will click 'discrete'
This will generate our 'discrete' narrative. At this point, you can utilize all the other narrative settings and remove/re-order functionality of Narratives for Qlik.
Note: It is important to note that similar to being connected to a native Qlik visualization, this narrative is connected to the heat map. If you delete the chart, the narrative will be deleted. If you add or remove dimensions or measures or change them, the narrative will automatically update.
Generating Narratives without Visualizations
Here, we will walk through the steps of setting up a narrative without an underlying visualization. We will provide our narrative with a set of measures and dimensions. We will start with a blank worksheet.
We will drag our narrative onto the worksheet.
We will be prompted to either link to a chart, or 'Add Data'. Since we are making a narrative without a visualization, we will choose 'Add Data'.
Now, similar to when you are setting up a Qlik visualization or other visual extensions, you can click the 'Add Dimension' or 'Add Measure' buttons to add measures and dimensions. Or you can use the sidebar. We will add our dimensions and measures.
Now, we will be prompted to choose our narrative type. Since we are starting from scratch, the 'Histogram' narrative is also an option. The only clickable options will be ones that have the required number of measures and dimensions (for example, scatterplot is greyed out in this example because we only have one measure). Here, we'll add a second dimension.
Now, since we have two dimensions, our options will be limited to discrete and continuous. We'll click 'Continuous'.
This gives us our continuous (i.e., linechart) narrative. From here, you can utilize all of the narrative settings and other features of Narratives for Qlik. In addition, when we switch to 'view' mode, you can perform selections.
The narrative, although it is not connected to a visualization, is still responsive to selections.
Note: Now, since our visualization is not connected to any visualization, any action you take on a chart will not impact the narrative at all. The narrative may be located near or next to a visualization, but it is completely disconnected.