Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

hi all am new to Qlik Community...

can any body explain What is the use of Include function and Must_Include Function in Qlikview   ?

2 Replies
engishfaque
Specialist III
Specialist III

Dear Maheshgoud,

include vs must_include:

The include and must_include variables specify a file that contains text that should be included in the script.

The entire script can thus be put in a file. This is a a user-defined variable.

The difference between include and must_include is that include will fail silently if the file is not found during

script reload, while must_include will throw an error if the file is not found.

Examples:

$(Include=abc.txt);

$(Must_Include=def.txt);

Kind regards,

Ishfaque Ahmed

Bill_Britt
Former Employee
Former Employee

Hi,

The Include function can be used for pieces of code that you might want to use in for than one QVW. Being the include doesn't show the code, it can also be used to put script in that you don't want anyone to see, like an ODBC string.

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.