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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 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.