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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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