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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Add Variable to Load Script

Hi,

I am trying to load data using a variable. Basically I want to change my Where statement into a variable on load. The value for the variable will be manually input into an input box on the qlikview report.

Currently my where statement reads as follows



where

[Customer_Number] = '7527301'

;

I have created the variable 'vCustomer' but am now lost on how i make the connection between the where statement and the variable name





Labels (1)
1 Solution

Accepted Solutions
Miguel_Angel_Baeyens
Employee
Employee

Hello,

It should look like

SET vCustomer = '7527301'; Table:LOAD *FROM File.qvd (qvd) // or whatever sourceWHERE [Customer_Number] = $(vCustomer);


Hope that helps

View solution in original post

2 Replies
Miguel_Angel_Baeyens
Employee
Employee

Hello,

It should look like

SET vCustomer = '7527301'; Table:LOAD *FROM File.qvd (qvd) // or whatever sourceWHERE [Customer_Number] = $(vCustomer);


Hope that helps

Not applicable
Author

Perfect.

Thanks you very much