I used @Nick_M formula and I receive excatly the same result.
I think each row is multipled by conversation rate and then is sum it up, there will be always a roudning issue if we multiply each row by conversation versus if I would multiple total revenue and voncert to euro.
@Matty
Hard to see exactly the issue you are running into. A sample would be great. But if it’s dealing with total, somethign like this would work
Converted Sales, Using Current Date =
SUMX(
VALUES(DimDate) --whatever is on rows that you want the total for
,[Total Sales (Base Measure)] *
LOOKUPVALUE(
FactCurrencyRates[Crossrate] --CrossRate to bring back
,FactCurrencyRates[Ticker],[Currency Selected] --using the currency selected, lookup that value in the fact table
,FactCurrencyRates[Date],[Current Date] --using the Last Currency Date date, lookup that value in the fact table
)
)
Thanks for the clarification. I would have no problem posting my PBIX file that accompanies each video, and I don’t think @Nick_M or @Melissa would either. I’ll talk with them and @sam.mckay about this. Appreciate the suggestion.
Yes we should be aiming to align relevant resources to all of the videos within miniseries tutorial modules. Will gather these altogether and upload them in the relevant places.
The query I have is around the use of [Current Date]. We use a daily conversion rate so I would want each Transaction line to pickup the Rate for the Date of the Transaction. If I used the method in the video and the Context was Monthly or even Yearly it would give me the Rate for the Last Day of the Month or Year which in my Scenario would be incorrect as there may be 30 or 31 different Rates depending on the month or 365 if it was Year.
I need to iterate through the Table but I am struggling to see how. Any advice greatfully received.
@chris.turnbull
Yes, in the first video I didnt account for the overall total as that video’s goal was to just start the whole idea of getting the correct currency date. If you take a a look at this video ( around the 14 min mark) I show how to get the correct totals where the total is the sum of all individual dates * that specific currency rate and not just taking the total * the last reported date.
Let me know if that wasnt want you were looking for or if doesnt quite answer the question