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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Syndicate_Admin
Administrator
Administrator

Create an amount measure converted to a single currency

Hello dear community, I think my case should be something simple to solve. To the point:

I have a table with 2 columns: [currency] and [amount].

  • [currency]: "NIO"; "USD".
  • [amount]: Well, it's the number or amount.

Something like this (the table is huge), I put an example of only 3 lines:

CurrencyAmount
NINE50
USD15
NINE70

What I want is a single column of amount converted to a single currency, in this case, I want everything to be in USD.

For this, in an excel, the formula could be:

IF ( [currency] = "NIO", [amount]/36.6, [amount])

And it would result in the following:

CurrencyAmountAmount USD
NINE501.3661
USD1515
NINE701.9126

I want this same thing in Power PI, in a DAX formula.

I tried to do it in a calculated column, but it shows me the following error, but I don't understand it.

Reyesnes_0-1677271073382.png

I appreciate you giving me both solutions:

  • Calculate column
  • DAX Measurement

Thanks in advance

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

Write this calculated column formula

=if(Data[Currency]="NINE",DIVIDE(Data[Amount],36),Data[Amount])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Padycosmos
Solution Sage
Solution Sage

I notice an anomaly. In the Table the currency is different from the text "NIO" stated in the measure.

Padycosmos_0-1677443502322.png

 

Padycosmos_1-1677443547668.png

 

I don't know why your watching the "NINE" word. Maybe, because I wrote it in Spanish, and you are seeing it translated in English. That is not correct.

The word correct is "NIO", that means "Cordobas", this is the currency for Nicaragua.

Forget the word "NINE", the correct is "NIO".

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors