Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
krishna20
Specialist II
Specialist II

Binary load with Qvs

Hi Folks,

I want to use single qvs file for multiple binary load statements that are referred to multiple presentation layers individually, is that possible?
Any workaround to achieve this ?

We all know that Qlik allows one only qvw or qvf in an app.

Labels (5)
1 Solution

Accepted Solutions
marcus_sommer

A binary load must be the first statement. Therefore no conditional stuff could be applied which branched into different things. But the binary-statement could be extended by an existing variable so that the statement may look like:

binary path/datamodel$(var)

and var is stored within each presentation layer and contained the appropriate reference to its parent data-model.

- Marcus

View solution in original post

5 Replies
venkat_thota
Contributor III
Contributor III

Following this...I also has similar requirement.

 

I did see ODAG feature but seems its more of dynamic generation of apps

morgankejerhag
Partner - Creator III
Partner - Creator III

You cant binary load from multiple apps. What you can do is to have the apps store QVDs with the relevant data. Then read those QVDs into the final app.

Manish_Kumar_
Creator
Creator

Hey @krishna20 

Say You Have 2 apps Q1.qvw(or qvf) and Q2.qvw(or qvf)

And You have to take Binary from both these apps

POssible Solution Could be this-

Take Binary of Q1.qvw in Q2.qvw,

Now Q2.qvw will contain datamodel from both Q1 and Q2,which will serve your purpose.You can also create a new App Say Final.qvw taking binary from Q2.qvw which will also contain data of both Q1 and Q2

NOTE: Be Careful of Synthetic Keys and Circular Loops which could be created due to the association of 2 data models.

Manish Kumar, Senior Business Analyst
krishna20
Specialist II
Specialist II
Author

May be I put my question in detail like below. I have to use only one qvs txt file to take multiple binary loads.

krishna20_0-1664176870133.png

 

marcus_sommer

A binary load must be the first statement. Therefore no conditional stuff could be applied which branched into different things. But the binary-statement could be extended by an existing variable so that the statement may look like:

binary path/datamodel$(var)

and var is stored within each presentation layer and contained the appropriate reference to its parent data-model.

- Marcus