Problem:

We have a scenario where we have a large datasource that is currently used to produce a single QVW. What we would like to do is produce a number of smaller QVWs using e.g. Publisher - however, we would like to define the reload schedule and destination folders that these smaller QVWs end up in from an external MySQL table (or config file or similar), rather than through the Publisher GUI. Has anyone done anything similar, or got any recommendations on how to approach this?

Original Post on LinkedIn

Solution: Advanced ETL Processor QlikView automation package

The package is executed from the left to the right starting from "Init Variables" object

Package

First of all, we've created the following table to store parameters, it can be extended if necessary

table

Table data:

TableDetails

Step 1: Init variables.

Variables are used to replace one string with another, for example anywhere in the package where <RoorDirectory> is found it will be replaced with c:\Customers.

Variables1

Step 2: Inc

This script ins increasing variable <loop variable> by one (two times)

Script

Step 3: Get Variables

This step executes the following SQL to get variables from the databases, before execution <loop variable>  is replaced with the actual value

Lookup

 SetVariables

Step 4: Create a directory

This step creates the directory if it does not exist

CreateDirectory

Step 5: Copy dashboard

This step copies Dashboard to just created directory, so it is easy to distribute updates

CopyDashboard

Step 6: Generate QVD files

This step is used to create QVD file, if it necessary to create several files we can just add more Export steps or for complex cases we can use transformation object to create QVD files

Export1

 Export2

 

Step 7: Refresh Dashboard

This step is used to Refresh QlikView dashboard, data is loaded from the same directory where dashboard is stored

RefreshDashBoard

Step 8: Compress Dashboard

CompressDashboard

 

Step 9: Email Dashboard

Email

 Back to Step 1

We did spend 40 minutes designing this package, so can you

Advanced ETL Processor Enterprise runs on Microsoft Windows XP/2003/2008/2012//Vista/Win7/Win8

Download Free Trial Learn More About Our ETL Software

We have 144 guests and one member online