Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Extract data from a two-dimensional data in Power Query

I have one table "Code table". Here Product code (Mobile, TV, Monitor, etc) is mentioned based on different stores (South Store, North Store, Ease, and West store). 

 

I have another table "PO Table". Here one monitor is ordered from South store. But this product will be delivered from East store. 

 

Both tables are in Power Query. In "PO Table", I want to get the item code of the delivery store based on the Store location. Please find the Picture for a better understanding.

 

For the first example, Conditional cells are marked with a red circle. 

 

This would be great if you can give the solution with normal Power query steps rather than M language. 😀

 

MohsinBipu_0-1684474452500.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

yes, I solved it. Main Part needs to pivot other columns of "Code table".

MohsinBipu_0-1684489423434.png

 

 

Then Need to merge and compare with "PO Table". With the below steps, Solved it. Shared with all if it helps other. 

MohsinBipu_1-1684489218138.png

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

yes, I solved it. Main Part needs to pivot other columns of "Code table".

MohsinBipu_0-1684489423434.png

 

 

Then Need to merge and compare with "PO Table". With the below steps, Solved it. Shared with all if it helps other. 

MohsinBipu_1-1684489218138.png

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors