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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Join IF

Hi All

Just wondering is there a way i can join data based on condition?

For Example i have Sales Table and Account info

I need

Load * From Sales

Left Join

Load * From Account

If accountdate > salesdate

I tried this and it does not work any ideas how to do this?

Thanks

1 Reply
vinieme12
Champion III
Champion III

No you can't do that but you can do the below

After joining only keep records that match your criteria

Temp:

Load * From Sales

Left Join

Load * From Account

;

Noconcatenate

Fact:

Load *

Resident Temp

Where accountdate > salesdate;



Drop table Temp;

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.