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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
SherriF
Regular Visitor

Currency conversion resulting in incorrect result when multiplied

Hi!

I have a report that contains some per unit amounts in CNY. I have in place a formula to populate a conversion rate based on the date column. When I "convert" the CNY value to USD, formatting the result as currency with a fixed decimal of 2 places. My problem occurs though when I mulitply this converted per unit amount by the number of units. Power BI is multiplying the USD with 4 decimal places instead of the rounded 2. For example:

The CNY value is: 24.69

The conversion rate is: 0.14174

The per unit conversion formula is: 24.69 * 0.14174 = $3.4995 USD. Power BI rounds to $3.50 USD

I need to mulitply $3.50 * 60 units so the result is: $210.00 USD

Instead, Power BI is doing this: $3.4995 * 60 = $209.97 USD.

Is there a way to make the number in the USD Per Unit really be the rounded amount of $3.50?

 

1 ACCEPTED SOLUTION
sevenhills
Super User
Super User

Looks like you have to use the round, for each unit calculation first and then you can multiple the number of units.

 

In M Query, you can use Number.Round, Number.Round, ...

sevenhills_0-1703279283384.png

 

In DAX, you can use 
 ROUND, ROUNDDOWN, ROUNDUP ...

View solution in original post

2 REPLIES 2
SherriF
Regular Visitor

That worked perfectly! Thanks!

sevenhills
Super User
Super User

Looks like you have to use the round, for each unit calculation first and then you can multiple the number of units.

 

In M Query, you can use Number.Round, Number.Round, ...

sevenhills_0-1703279283384.png

 

In DAX, you can use 
 ROUND, ROUNDDOWN, ROUNDUP ...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors