Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Kohli
Creator II
Creator II

replicate the datamodel

there is 2 qvd files. file1.qvw and file2.qvw. which is the best way to replicate data model from file1 to file2?

5 Replies
olivierrobin
Specialist III
Specialist III

hello

in you 2nd qvw (and not qvd) you can use

binary file1.qvw as 1st statement to copy datamodel

nishanthi_8
Creator
Creator

Binary load

qlikviewwizard
Master II
Master II

May be this one:

Write this in file2.qvw :

Binary file1.qvw ;

QVD1:

LOAD *  From QVD1;

QVD2:

LOAD * From QVD2;

Recreate file1.qvw variables in files2.qvw.


Hope this will help you.

sumit_ranjan_pa
Former Employee
Former Employee

HI ,

You can try two methods.

1. Copy the scripts from one QVW to second one. You will have the data model ready for you.

This will not be a good option as you will have to check on many issues in security.

2, This is a viable one. use binary load.  You can load the QVW, to a new QVW. With this method, you will have the data from file1.qvw loaded into the file2.qvw. You can add extra script to the file2.qvw and add fields to the data model.

You can check more here.

https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/Scripting/ScriptRegularStatements/...

Please mark answers, as helpful and correct in case you find them useful.

Thanks and regards,

Sumit

qlikviewwizard
Master II
Master II

Hi narasaiah

Did you able to solve this?