Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
MMARG83
Contributor II
Contributor II

use of variable in data load script

Dear all,

Please explain me why this isn't working.

MMARG83_0-1695682193746.png

 

Labels (2)
3 Replies
Aditya_Chitale
Specialist
Specialist

Load a resident table of TEMP which will contain only total sum column and then fetch the value from that table in a variable using peek() function.

Aditya_Chitale_0-1695705370463.png

 

Regards,

Aditya

Ragger
Contributor
Contributor

In the context of data load scripts, variables play a crucial role in customizing and optimizing the data loading process. Data load scripts are commonly used in database management, ETL (Extract, Transform, Load) processes, and other data-related tasks. Here's how variables are typically used in data load scripts:

https://community.qlik.com/t5/New-to-Qlik-Sense/Better-to-create-derived-Measures-during-Load-or-aft...

 

https://techstalking.co.uk/

  1. Parameterization:

    • Variables are often used to parameterize data load scripts. Instead of hardcoding values like database connection strings, file paths, or dates directly into the script, you can use variables to make the script more flexible and reusable. This allows you to easily change these values without modifying the entire script.