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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
IrenaG
Regular Visitor

merge queries

Hello, I have 3 tables: 

In table 1 I have the sum price of the product that name is 'ORANGE". The number of product is 201619038.

 namenumbersum
orange20161903895,608.13

In table 2 I have the sum price of the same product that name  'ORANGE" but it appears in two lines. The total result is the same 95,608.13.

namenumbersum
orange9639566591,575.50
orange9678444,032.63
total 95,608.13

In table 3 I have Conversion Table for number of product:

namethe number in table 1the number in table 2
orange20161903896395665
orange201619038967844
The question is: how can I do the merge of table 1 & 2 if I have to get to the result like this:
 name  from table 1numbersum  from table 2 numbersumdifference
orange20161903895,608.139639566591,575.504,032.63
orange201619038 9678444,032.63-4,032.63

Thank you in advance

1 ACCEPTED SOLUTION

thank you, I will try to fix it

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

The short answer is you can't get exactly what you described in your last entry.  You can get a table that is pretty close, but the Sum column will repeat.

 

The best you could do is start with Table 3 and merge in the contents of 1 and 2.

 

Alternatively you could bring all 3 tables into Power BI and create relationships from 3 -> 1 and 3 -> 2, then build the table inside your visuals instead, using Table 3 as the row headers.

thank you, I will try to fix it

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.