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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
khaycock
Creator
Creator

Displaying different currencies

I have a weird request, I am trying to get two different currency symbols for the answer to the true and false.

If the site is Ransomes, I want the answer to be displayed in £ and if it isnt, i want the answer to be displayed in $.

IF(Site='Ransomes', IF(AdminFee=1, 35/60*disruption_time+30, 35/60*disruption_time), (99/60*disruption_time)*employeeCount)

Is this possible?

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be this:

If(Site='Ransomes',

     Num(If(AdminFee=1, 35/60*disruption_time+30, 35/60*disruption_time), '£#,##0'),      Num((99/60*disruption_time)*employeeCount, '$#,##0'))

View solution in original post

4 Replies
sunny_talwar
MVP
MVP

May be this:

If(Site='Ransomes',

     Num(If(AdminFee=1, 35/60*disruption_time+30, 35/60*disruption_time), '£#,##0'),      Num((99/60*disruption_time)*employeeCount, '$#,##0'))

khaycock
Creator
Creator
Author

Nope still displays the £ stuff as $

sunny_talwar
MVP
MVP

If this is in a straight table or any other chart, make sure that you have selected 'Expression Default' on the numbers tab of chart properties for this specific expression

khaycock
Creator
Creator
Author

Amazing thank you!!!