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

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Load data from text file

Please any body guide me, for example I have a text file name abc.txt in root directory or where else, which has two columns and four rows, data is given below:

Col1 Col2

A 4

B 5

C 6

D 7

====================================

and in application I have four input box name A, B, C and D, now I want when I press the macro button

then its read abc.txt file and put the values in input boxes according to A,B,C & D, is that possible ?

1 Reply
Not applicable
Author

Hi,

If i understood your question properly, below is the solution for your question.

Creat 4 variables and assign them to input box.

In Inputbox under "Constraints Tab" --> "Settings for Selected Varaiable" input this following expression.

=

sum

sum

And to check the input box behaviuor , change the value at back end and press reload button to get the new values in input box.

Check the attached application

Hope this will help you.

- PetersonGeeked

(if(Col1 = 'A',Col2))