Forum Discussion
analytics-ecoma
3 years agoFrequent Visitor
Dynamic currency exchange
Hello all, I am trying to show sales into USD and Pounds. basically I have Currency exchange table which have from_currency (Euro as base currency) and To_currency (Other currencies) and value. ...
- 3 years ago
Hi analytics-ecoma ,
Please try:
New Sales conversion = IF(SELECTEDVALUE(curency_exchange[to_currency_code]) = "USD", FORMAT([Total Sales]* SELECTEDVALUE(curency_exchange[value]), "$0,00", IF(SELECTEDVALUE(curency_exchange[to_currency_code]) = "GBP", FORMAT([Total Sales]* SELECTEDVALUE(curency_exchange[value]), "$£0,00"))Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-jianboli-msft
3 years agoCommunity Support
Hi analytics-ecoma ,
Please try:
New Sales conversion =
IF(SELECTEDVALUE(curency_exchange[to_currency_code]) = "USD", FORMAT([Total Sales]* SELECTEDVALUE(curency_exchange[value]), "$0,00",
IF(SELECTEDVALUE(curency_exchange[to_currency_code]) = "GBP", FORMAT([Total Sales]* SELECTEDVALUE(curency_exchange[value]), "$£0,00"))
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
analytics-ecoma
3 years agoFrequent Visitor
This is awesome, thanks Li 🙂