# Write a SOQL query to convert Currency fields into the user's personal currency in a Multi-Currency org (SELECT Id, convertCurrency(Amount) FROM Opportunity).

**Topic:** Development · **Difficulty:** Medium · **Asked at:** Deloitte, Salesforce, PwC · **Tags:** soql, scenario, multi-currency

Read it on the site: https://www.forcechallenges.com/interview-questions/write-a-soql-query-to-convert-currency-fields-into-the-user-s-personal-currency-in-a-multi-currency-org

## Answer

In a multi-currency org, `convertCurrency()` returns the amount converted to the running user's personal currency.

```soql
SELECT Id, Name, convertCurrency(Amount) FROM Opportunity
```
You can also filter in a specific currency using `WHERE Amount > USD 10000`. Note that `convertCurrency()` can't be used in `GROUP BY` or aggregate functions in the same way.

---
Source: ForceChallenges · last updated 2026-10-19
