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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

incremental production code handling ?

Hi Folks,

I HAVE CODE FOR INCREMENTAL LOAD IN ONE QVW  called incremental.qvw

if I released the  same qvw into production always my first line of code is going to be

intial load ( loading source data and will create qvd)

I don't want comment this code  but it should not excute in daily refresh.

even its not required for us also . but we should have this code in our script .

how to handle this code not to refresh in every day ?

Labels (1)
1 Reply
marcus_sommer
MVP
MVP

You could wrap this statement within an if-loop maybe on an additional variable which contained your environment (dev, test or prod) or on the computername like:

if computername() = 'xyz' then

     YourStatements

end if

- Marcus