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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Aggregate On Two Tables

Is it possible to aggregate from two tables ?

For example, something similar to:

Table1:

Load

DocID,

DocType

From Tab1;

Table2:

Load

DocID,

AltID,

Date

From Tab2;

Aggr:

Load

Date,

DocType,

Count(DocID)

Resident Table1, Table2

Group By Date, DocType;

1 Solution

Accepted Solutions
MayilVahanan

Hi

No..

But you can join two tables and then use aggr function. Like this

Table1:

Load

DocID,

DocType

From Tab1;

Left Join(Table1)

Load

DocID,

AltID,

Date

From Tab2;

Load

Date,

DocType,

Count(DocID)

Resident Table1

Group By Date, DocType;

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

1 Reply
MayilVahanan

Hi

No..

But you can join two tables and then use aggr function. Like this

Table1:

Load

DocID,

DocType

From Tab1;

Left Join(Table1)

Load

DocID,

AltID,

Date

From Tab2;

Load

Date,

DocType,

Count(DocID)

Resident Table1

Group By Date, DocType;

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.