Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I think i have check most solution on currency conversion but hardly can find something that suited my needs. Just to give some backgroud, what I intend to do is have a sales data converted (table data are linked from 1 table down to FX table) based on what group it resides (organization) and what month is it in.
Here is the data model structure
Where the revenue is the sales data. And here is my fx data which i have unpivoted to have the rates breakdown by month like this :
Now when i pull the data just to view it shows the sum of it instead of the absolute amount.
My question is why does it happen like this? is it an issue with the data model link? Question number 2 is how do i make the conversion based on group by month so the revenue are converted based on the monthly rates?
Thanks in advance.
I dont quite get your explaination - is it a question or?
1. You need to link your calendar table directly to the fact table (revenue), not via the conversion table.
2. Create a composite key MonthCurrencyCode both in the conversion table and in the fact table. Then link these tables via the new key, 1:* from conversion to revenue.
Thanks for the response. I manage to get that working
2. How do do this? I changed the model to become like this? Looks like a loop.
User | Count |
---|---|
15 | |
13 | |
12 | |
10 | |
10 |
User | Count |
---|---|
19 | |
15 | |
14 | |
11 | |
10 |