Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
I have two Tables: Master and Mapping as below:
Master | ||||
Company Name | Location | |||
A | Houston | |||
B | Dallas | |||
C | ||||
D | ||||
Mapping | ||||
Company Name | Location | |||
C | Austin | |||
D | San Antonio | |||
Result | ||||
Master | ||||
Company Name | Location | |||
A | Houston | |||
B | Dallas | |||
C | Austin | |||
D | San Antonio | |||
Using Query editor I wany to update Location column in table Master with Location in table Mapping where Company Name and Location exist in table Mapping. Bear in mind there are hundreds of rows in my live tables. These are just samples.
Is this possible in Query editor and how?
Solved! Go to Solution.
Hi @arikofather
In the query editor merge Master with Mapping on Location columns from both.
After expanding add another column to coalesce between the two columns. The custom column will return the first non-null value so if you want Location from Mapping takes precedence, it should be the first column.
Hi @arikofather
In the query editor merge Master with Mapping on Location columns from both.
After expanding add another column to coalesce between the two columns. The custom column will return the first non-null value so if you want Location from Mapping takes precedence, it should be the first column.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
88 | |
74 | |
63 | |
48 | |
36 |
User | Count |
---|---|
116 | |
86 | |
80 | |
59 | |
39 |