Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Value calculation depending on the exchange rate that changes according to the years

Greetings to all,
I need your help with something. I have two different tables. One shows the costs and the other shows the average exchange rates (EUR, GBP, USD). Costs appear in EUR by default. What I want to do is, after adding a slicer to the panel, when the user chooses a different currency, I want the costs to be calculated according to the years they are in and update the tables. I seem to understand how to do it logically, but I can't put it into practice. For example, you can see the tables below. 

amitchandak tamerj1 Vijay_A_Verma  

 

This is an example of cost table(Euro)

YearCost
2011207761
20121008972
20131625692
20141370241
20151366036
2016507621

 

 

This Example of Currency rate

CurrencyRateYear
EUR12011
EUR12012
EUR12013
GBP0,7624686282011
GBP0,7487623642012
GBP0,859912013
USD1,2037184312011
USD1,1096341092012
USD1,090632013

2 Replies