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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
odada11
Helper I
Helper I

converting GBP TO USD

Good day all,

 

I am trying to create a DAX measure that helps me calculate The conversion rate 
I have Ticket no xxx1 and i have my daily exchange rate on my (Daily rate table)
I made this calculation IF ( Customers (Currency) = 'USD" && date of purchase < today  return  Ticket revenue* fxrate,
IF ( Customers (Currency) = 'USD" && date of purchase > today return  Ticket revenue* (max)fxrate,

Also i want to be able to calculate based on the fx rate for the selected date in the filter.(For instance if my manager selects 02/02/23, I want the visual to return revenue * the fx rate for 02/02/23).
pls i would appreciate any insights 

2 REPLIES 2
olgad
Resident Rockstar
Resident Rockstar

Ticket revenue*Calculate(max( fxrate), Filter(DailyRateTable, DailyRateTable.DateColumn=Selectedvalue(DailyRateTable.DateColumn))


DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime

Thank you so much, i want to be able to combine the measures, is this possible, also the Dailyrate and fxrate is one and same. i cant seem to apply it as you have written above

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.