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, data flows, and table recipes—they are updated to reflect the most current data. You reload an app to refresh its data. You run scripts, data flows, and table recipes 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, data flow, or table recipe. For more specific instructions, refer to the following:
-
Apps: Reloading app data
-
Scripts: Running scripts
-
Data flows: Managing data flows
-
Table recipes: Managing table recipes
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 and table recipes
Similar to scripts, data flows and table recipes are used to prepare and export data to files or storage locations. For this reason, the action of refreshing a data flow or table recipe is referenced as running it.
Manually refreshing data
You can perform a manual refresh of the data loaded or exported by your app, script, data flow, or table recipe.
From activity center
Do the following:
-
In your activity center, click
on the app, script, data flow, or table recipe.
-
Select Reload now or Run now.
Within an app, script, data flow, or table recipe
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 Run now from the Overview tab.
-
Data flow: Open the data flow and click Run now from the Overview tab.
-
Table recipe: Open the table recipe and click Run now from the Overview tab.
Scheduling refreshes
You can set up tasks to schedule refreshes of apps, scripts, and table recipes. 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 refreshes in the following ways:
-
Creating tasks in the Qlik Cloud Analytics activity centers
-
Buttons in charts
-
Qlik Automate
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, data flow, or table recipe interface. Tasks can be chained together to refresh several apps, scripts, data flows, and table recipes 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 Automate.
For more information, see 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, data flow, or table recipe. If the asset 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: