Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
DanRonsman
Contributor
Contributor

1 to Many Map Table

I am trying to map Zip Codes to their corresponding CBSA. 1 Zip Code can belong to many CBSA's. See raw table below.

ZipCBSA
0061241980
0061210380
0061211640

 

Currently, I am using a Map Table to load the lookup table from an Excel crosswalk file. See code below. 

MAP_ZipToCBSA:
MAPPING LOAD
  ZIP
, CBSA 
FROM
$(vExternalDataPath)\zip_to_cbsa.xlsx
(ooxml, embedded labels, table is ZIP_CBSA_032020)
GROUP BY ZIP;

With this solution only the first CBSA is returned. I want to return all CBSA's for the Zip Code. Does anyone have an alternative solution? 

1 Reply
Kushal_Chawda

@DanRonsman  you can either join or simply link it with other table on zip