A data architect implements Section Access on an app to reduce the data for each user when the user logs in. Each user is allowed to see their specific territory only.
The app is set for a scheduled reload every three hours. Without Section Access added, the app loads successfully. When Section Access is added and the script runs, the app fails to load.
What is causing this issue?
In this scenario, the data architect is using a GENERIC LOAD statement in the script to handle the data structure provided. A GENERIC LOAD is used in Qlik Sense when you have data in a key-value pair structure and you want to transform it into a more traditional table structure, where each attribute becomes a column.
Given the input data table with three columns (Object, Attribute, Value), and the attributes in the Attribute field being either color, diameter, length, or width, the GENERIC LOAD will create separate tables based on the combinations of Object and each Attribute.
Here's how the GENERIC LOAD works:
For each unique object (circle, rectangle, square), the GENERIC LOAD creates separate tables based on the distinct values of the Attribute field.
Each of these tables will contain two fields: Object and the specific attribute (e.g., color, diameter, length, width).
Breakdown:
Table for circle:
Fields: Object, color, diameter
Table for rectangle:
Fields: Object, color, length, width
Table for square:
Fields: Object, color, length
Each distinct attribute (color, diameter, length, width) and object combination generates a separate table.
Final Count of Tables:
The script will create 6 separate tables: one for each unique combination of Object and Attribute.
Qlik Sense Documentation on Generic Load: Generic loads are used to pivot key-value pair data structures into multiple tables, where each key (in this case, the Attribute field values) forms a new column in its own table.
Virgilio
5 months agoSena
5 months agoChantell
5 months agoAdolph
6 months agoSilvana
6 months agoKallie
6 months agoChantell
6 months agoSantos
7 months agoAlesia
7 months agoMelina
7 months agoSharen
7 months agoRosann
7 months agoAlmeta
8 months agoReuben
8 months agoEric
1 year agoMalcom
1 year agoEleni
11 months agoMohammad
11 months agoClemencia
11 months agoAaron
12 months agoKelvin
12 months agoWilletta
12 months agoPilar
12 months agoAndra
1 year agoDiane
11 months agoDoretha
11 months agoFrancoise
1 year agoDerick
1 year agoAshton
1 year agoLeana
1 year agoKeneth
1 year agoTequila
1 year agoGlendora
1 year agoBuck
1 year agoWalker
1 year agoMarva
1 year agoHubert
1 year agoMaryanne
1 year agoHelene
1 year agoWilliam
1 year agoPedro
1 year ago