Quantcast
Viewing all articles
Browse latest Browse all 217217

Data Modeling

Hi

I would like to ask how to solve my problem

I have a two tables :

 

Image may be NSFW.
Clik here to view.
sql.JPG


 

How can I create a relationship between the two table? Power BI doesnt allow me to use invoice_id because it should be unique. I need to fix it because if I join the tables via SQL query it makes double the value of invoice_amount and contract_amount on the graphs

 

Please advise. Thank you!

 

Regards,
Arvin


Viewing all articles
Browse latest Browse all 217217

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>