Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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?

1 Solution

Accepted Solutions
sunny_talwar

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

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

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!!!