Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

ashishpalkar
Contributor 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
Partner
Partner

Re: How to use 2 different data models in one App

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.

2 Replies
Partner
Partner

Re: How to use 2 different data models in one App

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
Contributor III

Re: How to use 2 different data models in one App

Thanks Felipe,I will try this.