Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
ashishpalkar
Creator III
Creator III

How to use 2 different data models in one App

Hi

I have requirement to create app using 2 different data models.

Is it possible and how we can achieve this?

1 Solution

Accepted Solutions
felipedl
Partner - Specialist III
Partner - Specialist III

Hi Ashish,

Just do the field naming according to which data model it's relevant to and make sure no fields have the same name in boths (so that no associations are made).

For example:

Table1DataModelA:

Load

     Key as DataModelA_Key,

     [other fields]

From [whatever];

Table2DataModelA:

Load

     Key as DataModelA_Key,

     [other fields]

From [whatever];

Table1DataModelB:

Load

     Key as DataModelB_Key,

     [other fields]

From [whatever];

Table2DataModelB:

Load

     Key as DataModelB_Key,

     [other fields]

From [whatever];

this will create two "data models" inside a same app, making them indepedent of each other and so, the selection in one shouldn't (unlesse the [other fields have different names of course) have an impact on the other.

Felipe.

View solution in original post

2 Replies
felipedl
Partner - Specialist III
Partner - Specialist III

Hi Ashish,

Just do the field naming according to which data model it's relevant to and make sure no fields have the same name in boths (so that no associations are made).

For example:

Table1DataModelA:

Load

     Key as DataModelA_Key,

     [other fields]

From [whatever];

Table2DataModelA:

Load

     Key as DataModelA_Key,

     [other fields]

From [whatever];

Table1DataModelB:

Load

     Key as DataModelB_Key,

     [other fields]

From [whatever];

Table2DataModelB:

Load

     Key as DataModelB_Key,

     [other fields]

From [whatever];

this will create two "data models" inside a same app, making them indepedent of each other and so, the selection in one shouldn't (unlesse the [other fields have different names of course) have an impact on the other.

Felipe.

ashishpalkar
Creator III
Creator III
Author

Thanks Felipe,I will try this.