Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi I'm trying to look up a region(text type) and assocaite zipcode to it, in Table 1 from Table 2 where both zipcode(whole number type) and region(text type) are present.
Can anyone please help me undertand how to write the formula. It gives me errors. Also this is my first day in Power BI, so if this looks like a stupid question please excuse me.
thanks!
Solved! Go to Solution.
Hi @drallam,
You can create a calculated column using the formula, please try and check if it returns expected result.
associate zipcode=LOOKUPVALUE(Table[zipcode],Table[region],"the region wanted")
If not, what's your error message? And what does your resource table look like? Could you please share your sample table or details for further analysis?
Best Regards,
Angelia
Hi @drallam,
You can create a calculated column using the formula, please try and check if it returns expected result.
associate zipcode=LOOKUPVALUE(Table[zipcode],Table[region],"the region wanted")
If not, what's your error message? And what does your resource table look like? Could you please share your sample table or details for further analysis?
Best Regards,
Angelia
Angelia!
thank you. It worked. I was thinking to enter a value in the <search_value> field. I specified the column and worked perfect.
I also figured out a workaround until in this mean time. I used RELATED function and specified that table. It pulled in the zipcodes i needed.
Thanks for your input!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
98 | |
78 | |
64 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |