This workout is all about creating a DAX measure to calculate USD sales amounts . You are provided a data set that includes a snapshot of sales data during the first few days of January 2014 as well as a table of currency exchange rates that covers the period.
This workout comes from an excellent example in the book, “Expert Data Modeling with Power BI” written by Soheil Bakhshi and published by Packt Publishing. (Link to Amazon is provided for reference)
The reason that I wanted to use this example is that it highlights a very common scenario where you need to join data from tables using more than one field. In this example, it involves both currency codes as well as dates. However, the standard relationship joins in Power BI only allow one field to be used.
Submission
Load the supplied data file, create your solution, and reply to this post. Upload a screenshot of your solution (or the PBI file) along with any DAX items. Please blur any solution or place it in a hidden section.
By converting InternetSales[SalesAmount] to USD by looking up the CurrencyKey for the specific date using an inner join between Internet Sales and Currency Rates on CurrencyKey AND Date: