Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Jul 4, 2023 8:56:10 AM
Jul 4, 2023 8:56:10 AM
This article explains how you can achieve Loop & Reduce functionality using a lightweight QVD generator app in combination with a Qlik Application Automation. The reduced QVDs that are generated are stored in different managed spaces. Empty apps are published to each of these managed spaces and then read the reduced QVD.
These illustrations have been cropped to only display two of the four managed spaces that are created using this example.
You will find the resources you need to run the automation example attached to this article.
QVD generator app
The 'QVD generator app' read the source QVDs stored in the same shared spaces as the app and then stores reduced QVDs into managed spaces per reduction field, in this case, region. The reduction and storage of these QVDs is done by running the load script of the QVD generator app. There’s no need for the QVD generator to contain any data, making it very lightweight. However, in this example, we do load some data for control purposes.
Empty app for reading reduced QVDs per space
The 'Empty app for reading reduced QVDs' per space has a load script that loads regional data into the app using relative paths. The automation publishes copies of this app into each managed space per reduction field. Upon reload, the reduced QVDs are read into these reduced apps.
Source QVDs
This example comes with six QVD files:
Reduced QVDs
Three reduced QVDs are created and stored in each of the managed spaces:
The automation ('Loop & Reduce using a lightweight QVD generator app.json') orchestrates:
More information on importing automations can be found here.
When running the automation you will be prompted to provide the following inputs:
Notes:
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.