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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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

Labels (1)
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.