Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikView forum consolidation is complete. Labels are now required. LEARN ABOUT LABELS
cancel
Showing results for 
Search instead for 
Did you mean: 
hjm35055
Partner
Partner

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