This is a more complex example of using calculated columns. To compute the value of the Amount (in USD) column, an SQL query to a table that stores daily currency exchange rates is performed.
Technical details are as follows (click a link below to see the appropriate code):