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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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