The Join and Keep prefixes can be preceded by the prefix left.
If used before join it specifies that a left join should be used. The resulting table will only contain combinations of field values from the raw data tables where the linking field values are represented in the first table. If used before keep, it specifies that the second raw data table should be reduced to its common intersection with the first table, before being stored in Qlik Sense.
Left ( Join | Keep) [ (tablename) ](loadstatement | selectstatement)
|tablename||The named table to be compared to the loaded table.|
|loadstatement or selectstatement||The LOAD or SELECT statement for the loaded table.|
Add the example script to your app and run it. Then add the fields listed in the results column to a sheet in your app to see the result.
Table1: Load * inline [ Column1, Column2 A, B 1, aa 2, cc 3, ee ]; Table2: Left Join Load * inline [ Column1, Column3 A, C 1, xx 4, yy ];
For more information about using inline loads, see Inline loads.
This example demonstrates the Left Join output where only values present in the first (left) table are joined.