Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
freethinker_
Contributor
Contributor

Currency rate conversion from Dropdown options

Hi ,

I am new to QlikSense and have an urgent requirement to implement .

Requirement :-

 I have below data uploaded from 3 excel files in qliksense data table 

ScenarioYearMonthPeriodDivisionReporting Currency Amount in Currency Amount in €
Budget 20202020Dec12PEUR                                    40 
Budget 20202020Dec12PEUR                                    50 
Budget 20202020Dec12PEUR                                    10 
Budget 20202020Dec12CKRW                          140,462 
Budget 20202020Dec12CKRW                            75,187 
Budget 20202020Dec12CUSD                              2,500 
Budget 20202020Dec12CUSD                                  166 
Budget 20202020Dec12CEUR                                  300 
Budget 20212021Dec12PEUR                                    40 
Budget 20212021Dec12PEUR                                    50 
Budget 20212021Dec12PEUR                                    10 

 

Below is  exchange_rate mapping file which is to be used to calculate  "Amount in €" for the above data set.

Scenario TypeScenario YearScenarioYearMonthPeriodViewReporting Currency  Exchange Rate
Budget2020Budget 20212021Dec12YTDEUR1.00000
Budget2020Budget 20212021Dec12YTDUSD1.15000
Budget2019Budget 20202020Dec12YTDKRW1340.00000
Budget2019Budget 20202020Dec12YTDUSD1.15000
Actual2019Actual 20192019Dec12YTDUSD1.12000
Actual2019Actual 20192019Dec12YTDKRW1304.89900

 

There is a dropdown in Qliksense worksheet with 3 options as below :-

Budget 2020
Budget 2019
Actuals 2019

 

Now the requirement is -> When a user selects Actuals 2019 from dropdown, it should extract exchange rate of  Scenario Type='Actuals 2019 ' and reporting currency mapped from data table and use the extracted exchange rate to calculate Amount in € and display in Data table field 'Amount in €'.

Similarly Amount in € should be calculated for other dropdown options also.

For example : User selects Actuals 2019 from dropdown,  now if we want to calculate Amount in €  for currency 'KRW' then in exchange_rate mapping file it  has 2 records one for 'Budget 2020' and other for 'Actual 2019', so I have to take 'Actual 2019' -KRW- 1304.899 for calculating and displaying 'Amount in €' in data table.

How can this be implemented in qliksense ?

 

0 Replies