Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hiya,
I am connected to two tables via direct query, and both contain some geographic data. Below sample screenshot shows the tables:
also, the model is simple like the below:
My ask is to create a new virtual table with DAX (not PQ), where Table1[zip code] = Tbale2[zip code] and return these columns:
City, lat, long, zip, State and country.
Thanks
Sample file
Solved! Go to Solution.
You could add a new table like
Combined table =
GENERATE(
'Table1',
SELECTCOLUMNS(
FILTER( 'Table2', 'Table2'[Zip Code] = 'Table1'[Zip Code] ),
"State", 'Table2'[State],
"Country", 'Table2'[Country]
)
)
You could add a new table like
Combined table =
GENERATE(
'Table1',
SELECTCOLUMNS(
FILTER( 'Table2', 'Table2'[Zip Code] = 'Table1'[Zip Code] ),
"State", 'Table2'[State],
"Country", 'Table2'[Country]
)
)
Thank you very much.
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
8 | |
7 |