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: 
Not applicable

Two Connection.

Dear QV experts,

I have two database connection. One with Orcale and another one with Sql Server. when i wants to show data in one table box that time multiple rows comes..How can i solve this problem...Please help me.. For your better understanding i have attached my file...

Regards,

Masba

1 Solution

Accepted Solutions
alkesh_sharma
Creator III
Creator III

Remove the synthetic key, Link the two unlinked tables. by renaming BR_CT as Br_Ct as the other primary keys.

View solution in original post

17 Replies
Anonymous
Not applicable
Author

Your table should be link with all the tables which you are using in table box.

Not applicable
Author

Hi masba khandaker,

There is no relation between two data sources tables. make a filed common between two sources then try it out.


Anonymous
Not applicable
Author

rename your CT.BRAND as Brand_Id .. It will work

tyagishaila
Specialist
Specialist

Instead of Table Box use Straight Table and

in expression use sum(Depot_Pre_Sales_Qty).

Try it,

padmanabhan_ram
Creator II
Creator II

Hi Masba,

I guess the fields in the table object in the UI are from more than one table which should be fields from Oracle table and fields from SQL table. If so please find out a primary key between those tables and link the tables using the primary key and the duplicate rows will be resolved.

Thanks,

Padmanabhan

rajeshvaswani77
Specialist III
Specialist III

Masba,

You have synthetic key in the data mode. Concatenate fields Brand_ID, Category_Id, Category_name, Brand_name and create one Link field to link the tables. The rows repeat because the quantity is different. You can always aggregate and have a sum of quantity.

regards,

Rajesh Vaswani

Anonymous
Not applicable
Author

Hi

Use a primary linkage and avoid synthetic keys which will help you..

Thanks,

Vignesh

Not applicable
Author

Dear Rajesh,

Thanks for your reply.. can you edit my file it will be so much helpful for me as a new learner.

Masba

alkesh_sharma
Creator III
Creator III

I tried but couldn't identify a primary key in your database.

Identify a primary key. and link the tables using the primary key.

Also the Brand_ID and Brand Code contain the same values, Rename Brand Code  as Brand ID and link that table as well.