cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
awitt Frequent Visitor
Frequent Visitor

Matching to one of many columns in a different table.

I have an orders table that pulls in one address per order. I seperately have an address table that offers multiple variations of a specific address in different columns. My goal is to return a "Y" if the address in the orders table matches any of the addresses in the address table.  These addresses are the store addresses and I'm trying to find how many orders are going to the store vs. the buyers home address.

 

So in this case, two of the orders (1001 & 1002) went to the store address and order 1003 went to a non-store address.  The issue is matching to one of multiple columns in the address table as the same address could have different variations (Road. Rd. Rd) etc.

 

image.png

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Matching to one of many columns in a different table.

@awitt ,

 

You just need to select Unpivot Columns in Query Editor first.

https://community.powerbi.com/t5/Desktop/matrix-to-table-help/td-p/329415

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 REPLY 1
Community Support Team
Community Support Team

Re: Matching to one of many columns in a different table.

@awitt ,

 

You just need to select Unpivot Columns in Query Editor first.

https://community.powerbi.com/t5/Desktop/matrix-to-table-help/td-p/329415

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.