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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Qlik_Enthu
Creator II
Creator II

Loading data from two databases with same table structures

Dear All,

I need to create a dashboard taking data from two different databases but with same table structures (including same column names).

I have blindly loaded the two tables and qualified the columns and unqualified one key column to establish connection between two tables. But now I could not figure out how to aggregate and visualise the data from two tables.

If someone come across similar situation, kindly throw some light

TIA!

Labels (1)
3 Replies
m_woolf
Master II
Master II

Any reason not to concatenate the two tables?

If you need to know which table the data came from, you could do something like:

'Table1' as DataSource

Qlik_Enthu
Creator II
Creator II
Author

I know which data comes from which table. however I need to display total orders placed in both databases in my visualizations.

Anonymous
Not applicable

If you concatenate the tables and add a column indicating which table the rows go to -

You can then easily do order counts by datasource using set analysis.

Something like count({<Datasource={'Table1'}>}OrderID) and count({<Datasource={'Table2'}>}OrderID)