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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
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 ?

1 Reply
marcus_sommer

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