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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Currency Conversion

Hi All,

I have the dashboard with amount showing in GBP. I want to convert into USD, INR or any other currencies based on the conversion rate.

I will be getting the conversion rate from the database on a day to day basis.

Please  help me with this how to change the currency.

I have attached the QVW. Please have look into it.

Thanks in Regards,

Keerthi

Labels (1)
22 Replies
Not applicable
Author

Hi arun,

I want only one currency and the latest date.

By default without selection it should display the amount in GBP based on the latest date.

When i select any currency it should get multiplied with the conversion for the latest dates

tresB
Champion III
Champion III

May be like this?

PFA

Not applicable
Author

Hi,

Please find the attached solution.

Let me know if not correct.

Not applicable
Author

Thanks a lot Arun. This is what i wanted.

Could you please explain this

Thanks & Regards,

keerthi

Not applicable
Author

Thanks a lot Tresesco Thanks for your valuable time

Not applicable
Author

Hi,

In dimension i have used this as calculated dimension.

Aggr(MaxString(DateConversion),Currency1)

For every currency, it will give you maximum date value.


In you data example , datas are in form of string as it was inline data.

In real dates, you should use max() instead of maxstring().

Like this:

Aggr(Max(DateConversion),Currency1)


Not applicable
Author

Hey Arun Goel,  Could you please explain how it works. I didnt understand why the FIrstSortedValue() is used in the expression.

Not applicable
Author

hi,

FirstSortedValue(Conversion,-Date#(DateConversion,'DD-MM-YYYY'))


It will sort the Conversion value according to DateConversion and will return first value.

By default, it returns value with lowest weight,

But id we get get value with max sort weight by reversing the sign.

Not applicable
Author

By the way, the Arun Goel you mensioned, was not real me...;)..this is my account...

Not applicable
Author

Thanks Arun.