Refreshing analytics data
Over time, you will likely need to refresh your analytics data on a regular basis. When you refresh your analytics assets—applications, scripts, data flows, and table recipes—they are updated to reflect the most current data. You reload an application 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 application content.
This help topic outlines generally how you can refresh the data in your application, script, data flow, or table recipe. For more specific instructions, refer to the following:
-
Applications: Reloading application 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:
Applications
The action of refreshing the data loaded by your application is known as reloading the application. This is because data is updated and reflected across all analytics objects in the application, 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 applications 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 application, script, data flow, or table recipe.
From activity center
Do the following:
-
In your activity center, click
on the application, script, data flow, or table recipe.
-
Select Reload > Reload now or Run > Run now.
Within an application, script, data flow, or table recipe
To reload your analytics asset, follow the applicable instructions below:
-
Application: Do one of the following:
-
In your application, click the application name to open the application 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 applications, 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 application).
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 application, script, data flow, or table recipe interface. Tasks can be chained together to refresh several applications, 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 application objects
You can allow application consumers to perform refresh actions by clicking a button object within an application 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 for an application, script, data flow, or table recipe, you need the appropriate space roles in the space containing the resource. If the asset loads data from files or connections in other spaces, you also need the required space roles in those spaces.
For more information, see: