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
Anonymous
Not applicable

Fixed rate currency conversion to display on matrix

Hi guys,

 

I am just a newbie in Power BI and I have encountered some difficulties.

One of the difficulties are I have to covert HKD to USD with a fixed rate of 7.8 and add the originally HKD values and USD values together in USD as the total amount in a matrix visual. What my supervisor wants is the matrix only show USD values of both transactions done in HKD and USD, and also the total amount of transactions in USD.

image.png

Thank you very much for your assistance.

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@Anonymous 

You can do the conversion with a measure like this.

 

Amount USD = 
SUMX ('Table', 'Table'[Amount] * IF ( 'Table'[Currency] = "HKD", 7.8, 1 ) )

jdbuchanan71_0-1639024441739.png

 

 

View solution in original post

1 REPLY 1
jdbuchanan71
Super User
Super User

@Anonymous 

You can do the conversion with a measure like this.

 

Amount USD = 
SUMX ('Table', 'Table'[Amount] * IF ( 'Table'[Currency] = "HKD", 7.8, 1 ) )

jdbuchanan71_0-1639024441739.png

 

 

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.