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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
hjm35055
Partner - Contributor III
Partner - Contributor III

Limit a field in one table based off of a field in another table

Hi,

I have 2 tables.  Table 1 contains 'PeriodID' and Table 2 contains 'Period'.  Table 1 will always have one more period in it than Table 2 (contra account).  How can I limit Table 1 to be <= the periods in Table 2 so I do not see the extra period?

Thank you,

2 Replies
swuehl
MVP
MVP

The values are identical (so we are not talking about numeric IDs versus text values)?

You can for example load Table 2 first, then

LOAD *

FROM Table1

WHERE EXISTS(Period, PeriodID);

aarkay29
Specialist
Specialist