Refreshing analytics data
Over time, you will likely need to refresh your analytics data on a regular basis. When you refresh your analytics assets—apps, scripts, and data flows—they are updated to reflect the most current data. You reload an app to refresh its data. You run scripts or data flows to refresh the data that they export. You can refresh these analytics assets in several ways.
There are options available for manually refreshing analytics data. Scheduled refreshes offer many options for updating your analytics data based on time-based or event-based triggers, automation workflows, and user interaction with app content.
This help topic outlines generally how you can refresh the data in your app, script, or data flow. For more specific instructions, refer to the following:
-
Apps: Reloading app data
-
Scripts: Reloading scripts
-
Data flows: Managing data flows
Terminology
Different terminology is used for the process of refreshing data in your analytics assets:
Apps
The action of refreshing the data loaded by your app is known as reloading the app. This is because data is updated and reflected across all analytics objects in the app, such as visualizations and sheets.
Scripts
A script does not contain any analytics objects, such as visualizations or sheets. Scripts are used to export data into separate files or external storage locations, which then may be loaded into apps for analysis. For this reason, the action of refreshing a script is known as running the script.
Data flows
Similar to scripts, data flows are used to prepare and export data to files or storage locations. For this reason, the action of refreshing a data flow is known as running the data flow.
Manually refreshing data
You can perform a manual refresh of the data loaded or exported by your app, script, or data flow.
From activity center
Do the following:
-
In your activity center, click
on the app, script, or data flow.
-
Select Reload now.
Within an app, script, or data flow
To reload your analytics asset, follow the applicable instructions below:
-
App: Do one of the following:
-
In your app, click the app name to open the app details area and click
> Reload now.
-
Open Data manager or Data load editor and click Load data.
-
-
Script: Open the script and click Reload now from the Overview tab.
-
Data flow: Open the data flow and click Run now from the Overview tab.
Scheduling refreshes
You can set up tasks to schedule refreshes of apps, scripts, and data flows. Scheduled refreshes can be time-based (for example, every Sunday evening at a specific time), or event-based (for example, when another resource finishes refreshing, or when a user clicks a button in an app).
You can schedule reloads in the following ways:
-
Creating tasks in the Qlik Cloud Analytics activity centers
-
Buttons in charts
-
Qlik Application Automation
About tasks
Tasks offer a simple and convenient way to schedule refreshes based on time-based and event-based triggers. You can configure these tasks from your activity center, or from the app, script, or data flow interface. Tasks can be chained together to refresh several apps, scripts, and data flows in a specific order.
For more information, see Scheduling data refreshes with tasks and Creating task chains for data refreshes.
Interactive app objects
You can allow app consumers to perform refresh actions by clicking a button object within an app sheet.
For more information, see Creating buttons.
Automations
Scheduled refreshes can be configured with the Qlik Cloud connector block in Qlik Application Automation.
For more information, see Application Automation connectors.
Permissions
To refresh analytics data, you need Professional or Full User entitlement, in addition to the necessary space roles for the space containing the app, script, or data flow. If the app, script, or data flow loads from files or connections in other spaces, you also need the required space roles in the space where these resources are located.
For more information, see: