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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
nksahay
Frequent Visitor

Joining Two Table with impact of first Data

Hi,

I am using two table one table data is 

 

this is the correct sales value

Customer_CodeCustomerNameItemCodeItemNameSum(Qty)Sum(Amount)
0001ap001f10200
0002bp002g10200
0003cp002h20300

 

Second table just have an information that requred to marge to first table

 

bomitemItem NameProduct BOMUOM
p001f  
  t1
  y1
  u1
 g  
  r1
  t1
  u1
 h  

 

when i marge this two table it give me a result of 

 

Customer_CodeCustomerNameItemCodeItemNameProduct BOMSum(Qty)Sum(Amount)
0001ap001ft10200
   fy10200
   fu10200
0002bp002gr10200
   gt10200
   gu10200
0003cp002h 20300

 

But correct result after marging shoud be 

 

Customer_CodeCustomerNameItemCodeItemNameProduct BOMSum(Qty)Sum(Amount)
0001ap001ft10200
   fy  
   fu  
0002bp002gr10200
   gt  
   gu  
0003cp002h 20300

 

Kindly help to get this resolved 

2 REPLIES 2
v-jayw-msft
Community Support
Community Support

Hi @nksahay ,

 

You could try merge queries feature with right outer join as below.

vjaywmsft_0-1654582156964.png

The problem is the product for item f is blank, why it will be "t" in the result?

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
nksahay
Frequent Visitor

Hi Friends,

Can any one help me in this

 

Thanks in advance 

 

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.