Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
carlomoretto
Frequent Visitor

Dynamic currency conversion

Hello,

 

I'm struggling with an apparently simple task: dynamically converting fact table amounts to desired currency at the latest FX rate available, choosing the latest FX rate dynamically based on a slicer. (That is, also an amount from 01/10/1999 needs to be converted at the latest exchange rate as of the slicer date, not at the latest exchange rate available before 01/10/1999)

Link to the pbix: https://gofile.io/d/OHd4qO 

 

FactTable -> multiple transactions in multiple currencies (EUR is assumed as the pivotal currency)

FXRates -> Daily exchange rates USD/EUR and GBP/EUR

 

I've tried several solutions suggested in the community and I've managed to get the right values at transaction level and at the total level. Yet, the performance is terrible when I drill down to transaction level in a matrix.

 

What am I doing wrong?

Looking forward to your replies!

5 REPLIES 5

Hello @amitchandak !

 

Thank you for your input!

Unfortunately, both examples refer to cases that are much simpler to handle.

You can check my pbix to see the difference.

Do you know of any approach that would suit my case?

 

Thanks!!

Hello amitchandak! Thanks for your reply!

I had checked both links:

  1. Suggests a calculated column solution: however, I don't think a calculated column will work in my case, due to its nature
  2. Has all amounts already in one currency and just converts them to another currency, which is a simpler case than mine

 

Any other solution that fits my case?

Hello,

 

Thanks for your input!

I know that video actually. That is a static conversion though, ain't it?

I need the conversion to be dynamic based on the date selected by the user.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.