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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikview979
Specialist
Specialist

include & must include

what is include &must include ,what is the use of include & must include statement ?

5 Replies
prabhas277
Creator
Creator

Hi

$(Include = Filename )

$(Must_Include =Filename )

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.

vishsaggi
Champion III
Champion III

Hi Mahesh,

Please go through this topic by Steve Dark from the below link you will get better picture of what you were looking:

http://www.quickintelligence.co.uk/hidden-qlikview-features/

Regards,

Vish.

ashfaq_haseeb
Champion III
Champion III

DavidFoster1
Specialist
Specialist

A gotcha for must_include is that it appears to be invoked on parse not execution so even if you have it in a subroutine or an if...then...else block you always need to have the specified file.