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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
regowins
Creator II
Creator II

Need help connecting two tables

Hi,

I need help connecting two tables that have similar data. Please see attached example for more details

Thanks for your help!!

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

As Gysbert suggested, rename one of the fields so the tables link.

Also use the subfield() function to generate a row for each Target value in Excel_Main:

trim(SubField(Target, ';')) as Target

-Rob

View solution in original post

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Rename Target_name to Target or rename Target to Target_name. Fields with the same name are used to connect tables.


talk is cheap, supply exceeds demand
regowins
Creator II
Creator II
Author

I agree it would work if Target had only a single value in it. How will it work since target has more than a single value. I need to account for the values that have more than just one value. For example, If I clicked on Event -  internal I should see a count of 7 for 'P' target. Thanks!

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

As Gysbert suggested, rename one of the fields so the tables link.

Also use the subfield() function to generate a row for each Target value in Excel_Main:

trim(SubField(Target, ';')) as Target

-Rob

regowins
Creator II
Creator II
Author

Thanks Rob! the subfield() function was helpful. I think I can get what I want from there.