Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi!
I have two tables, the exchange rate per day for different currencys, and also a table with purchases currency per day:transactions w/date and currency
currencies
I would like to have the exchange rate next to the currency in the transaction table.
(there are multiple transactions per day and multiple currencies are used)
But if I want to make the connection I receive the following error:
the error
I think it's becaus you have the same value sometimes per currency.
Is it possible to make the relationship?
Thanks in advance!
Niek
Solved! Go to Solution.
hi @niekdp @Anonymous
The relationship of your tabs can be solved by combining the tables. Read the link below.
Combining two queries in Power Query or in Power BI is one of the most basic and essential tasks that you would need in most of the data preparation scenarios. There are two types of combining queries; Merge, and Append.
relationship-in-power-bi-with-multiple-columns
Please try and test using it. And please mark the right answer as answer if your issue has been resolved, otherwise, please feel free to ask if you have any other issue.
Best Regards,
Rfranca
Im sure you wont be able to solve it by creating a relationship since you can have multiple values.
I think you could maybe create a calculated column in which you have the currency + the value from it corresponding to the transaction date.
I am new to DAX so it will be better if someone help you with this, but i think this might work.
hi,
This error message displayed by POWER BI DESKTOP means that it has duplicate values, check for duplicate records in the CURRENCY column, or in the COMMISION_CIRRENCY column. Or empty records in these columns.
send a sample of the data to help you.
Please try and test using it. And please mark the right reply as answer if your issue has been resolved, otherwise, please feel free to ask if you have any other issue.
Best Regards,
Rfranca
Dear Rfranca,
Thank you for your answer.
The problem is that you have a value per currency for each day.
So for a year, I have 365 values for GBP, USD and so on..
It's also possible that the exchange rate is the same for a couple of days..
So it isn't possible to make this relationship?
Best Regards,
Niek
hi @niekdp @Anonymous
The relationship of your tabs can be solved by combining the tables. Read the link below.
Combining two queries in Power Query or in Power BI is one of the most basic and essential tasks that you would need in most of the data preparation scenarios. There are two types of combining queries; Merge, and Append.
relationship-in-power-bi-with-multiple-columns
Please try and test using it. And please mark the right answer as answer if your issue has been resolved, otherwise, please feel free to ask if you have any other issue.
Best Regards,
Rfranca
Dear Rfranca,
thank you very much, this worked!
Kind regards
Niek
Dear Rfranca,
Ik can merge the colums, but per currency I have a fixed rate.
Instead of a different rate per day, I see a fixed rate for the whole period.
Is it possible to fix this problem?
Kind regards
Niek
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
78 | |
58 | |
36 | |
33 |
User | Count |
---|---|
93 | |
59 | |
58 | |
49 | |
42 |