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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Combining 2 databases

I want to show the revenues by customer in 1 chart of both databases

 

I've got 2 databases of the same software suite.

They got the same tables in it, but the ID's have different meaning.

 

Simplified version of tables:

Revenues: Custumer ID, amount, sales, date, etc

Customer Customer ID, name , GLN code, etc

 

Glncode is a GS1 code and customers from both databaes can be indentified by this code. 

How can i combine this to get one chart ?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I've got a date table, but still I won't be able to show the revenue in 1 chart.

Correct me if there's a way to do this.

View solution in original post

7 REPLIES 7
v-xjiin-msft
Solution Sage
Solution Sage

Hi @Anonymous,

 

Since you want to combine the two tables. What's the relationship between the two tables?

 

=> Glncode is a GS1 code and customers from both databaes can be indentified by this code. 

 

However I didn't see GLN Code column in table Revenues. How does customer in table Revenues be identified by this code?

 

Thanks,
Xi Jin.

Anonymous
Not applicable

In the revenue table I don't have the GS1 code. Thats basically the problem.

I can add a column in the data tab and do a related(gln code), but these columns aren't available in the query view.

I need it before I want to do an append.

 

Tried to add the column in the query view, but related() results in an error.

So is there a way to add this column in the query view?

 

Hi @Anonymous,

 

Please share us some sample data and your expected result. So that we can make some test and provide more proper suggestions. Rather than just guessing.

 

Thanks,
Xi Jin.

rocky09
Solution Sage
Solution Sage

Do you have date field in both tables?

Anonymous
Not applicable

Yes, I oversimplified the table. 

Corrected it in the original post.

if you have date fields in both tables, you can create a Dynamic Date Table and link the other two tables date field with the Newly created date table.

Anonymous
Not applicable

I've got a date table, but still I won't be able to show the revenue in 1 chart.

Correct me if there's a way to do this.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.