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
kevintad
New Member

Can't add cost and revenue in the same graph

Hi,

 

I am trying to combina two tables of cost and revenue. Both have "Land" which consists of the countries that we are active in. In table one I have various columns one of which is revenue. The layout of the document is somewhat like this:

Land

UK     COL1   COL2   COL3   REVENUE   COL 5

DE     COL1   COL2   COL3   REVENUE   COL 5

UK     COL1   COL2   COL3   REVENUE   COL 5

UK     COL1   COL2   COL3   REVENUE   COL 5

DK     COL1   COL2   COL3   REVENUE   COL 5

DE     COL1   COL2   COL3   REVENUE   COL 5

UK     COL1   COL2   COL3   REVENUE   COL 5

NL     COL1   COL2   COL3   REVENUE   COL 5

DE     COL1   COL2   COL3   REVENUE   COL 5

And so on and so on.

 

The other table consists of the adwords costs and if formatted something like this:

Land

UK     COL1   COL2   COL3   COST

DE     COL1   COL2   COL3   COST

NL     COL1   COL2   COL3   COST

RO     COL1   COL2   COL3   COST

DK     COL1   COL2   COL3   COST

DE     COL1   COL2   COL3   COST

 

Creating a relationship between the both "Land" colums does not work. It just puts up the sum of all the costs.

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey,

 

not sure if I understand your question correctly, but as I understand so far, I say you need a separate table that connects your cost and revenue table like so

 Common Dimension Joining Two Facts.png

 

This allows you to create a chart like so

Graphic from 2 FactTables.png

 

Hope this gives you an idea

 

Regards

Tom

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

2 REPLIES 2
TomMartens
Super User
Super User

Hey,

 

not sure if I understand your question correctly, but as I understand so far, I say you need a separate table that connects your cost and revenue table like so

 Common Dimension Joining Two Facts.png

 

This allows you to create a chart like so

Graphic from 2 FactTables.png

 

Hope this gives you an idea

 

Regards

Tom

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Thanks a lot Tom!

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.