Forum Discussion
Apply Exchange Rates to Local Currency button
- Anonymous5 years ago
Hi Fro88er ,
Please update the formula of measure as below:
Temp Revenue (selected currency) = VAR _selcurrency = SELECTEDVALUE ( 'DimCurrency'[Currency] ) VAR _currate = CALCULATE ( MAX ( 'DimCurrency'[Currency Rate] ), 'DimCurrency'[Currency] = _selcurrency ) RETURN IF ( _selcurrency = "CAD" && MAX ( 'Fact1Staff Consolidated GP'[Region] ) = "Toronto", [Temp Revenue (local)] * _currate, [Temp Revenue (local)] )Best Regards
Rena
Fro88er ,Two way
One You can use this like measure slicer and switch the measure
https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slicer-parameter-table-pattern
https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/500115
Second refer these
https://www.youtube.com/watch?v=4dosxfNxR6M
https://www.sqlbi.com/articles/currency-conversion-in-power-bi-reports/
https://radacad.com/currency-converter-power-bi-function-part-1
https://www.youtube.com/watch?v=Q4hF4CwJsFEhttps://radacad.com/currency-exchange-rate-conversion-in-power-bi-with-live-rates-part-2
https://businessintelligist.com/2015/03/17/power-bi-tutorial-how-to-implement-currency-conversion-using-power-query-and-power-pivot/
https://blog.beyondimpactllc.com/blog/building-a-dynamic-currency-converter-with-power-bi