Hi all,
i would like to ask what is the best way to do this for both sharepoint list and in powerapp for Expense Application.
Our default currency is Singapore Dollars.
I have 1 Currency exchange rate List that have few different currency.
In the list there are column such as the table.
Date of exchange rate (Single line Text) | USD Rate (Number) | Yen Rate (Number) | MYR Rate (number |
18/10/2022 | 0.02413 | 0.00957 | 0.30185 |
19/10/2022 | 0.02411 | 0.00953 | 0.30133 |
i am trying to add exchange rate into the expense app.
When an employee select the Currency option and enter the cost of the receipt, i would like to have the powerapp to calculate exchange rate amount base on the currency option selected, the receipt date, and the Currency exchange rate list.
Solved! Go to Solution.
Hi @WeiMingLeong ,
This should product the result as the Default of your Exchange Rate Amount box
With(
{
wRate:
LookUp(
YourExchangeList,
'Date of Exchange Rate' = YourReceiptDatePicker.SelectedDate
)
},
Value(YourAmountBox.Text) *
Switch(
YourCurrencyDD.Selected.Value,
"USD",
wRate.'USD Rate',
"YEN",
wRate.'Yen Rate',
"MYR",
wRate.'MYR Rate'
)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
Hi @WeiMingLeong ,
This should product the result as the Default of your Exchange Rate Amount box
With(
{
wRate:
LookUp(
YourExchangeList,
'Date of Exchange Rate' = YourReceiptDatePicker.SelectedDate
)
},
Value(YourAmountBox.Text) *
Switch(
YourCurrencyDD.Selected.Value,
"USD",
wRate.'USD Rate',
"YEN",
wRate.'Yen Rate',
"MYR",
wRate.'MYR Rate'
)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
Hi @WarrenBelz ,
can i ask how can i show the exchange rate value from the Currency Exchange rate list of the selected Date and Currency option?
Thank you!
User | Count |
---|---|
258 | |
111 | |
95 | |
48 | |
41 |