Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
bnelson111
Creator
Creator

Currency Formating

Currency Format. I have a straight sum table image below, as you can see the currency is Euro and GBP, I have used if statements to conditional format the values but they don't always correspond is there another way instead of IF? Remember is row changes so standard format wont work?

currency.png

1 Solution

Accepted Solutions
Not applicable

Hi

You can use Number to 'Expression Default' and expression like this with any CurrCode and formats:

num(sum(Value),Pick(Match(CurrCode,'EUR','GBR'),'€ # ##0,00;€ -# ##0,00', '£ # ##0,00;£ -# ##0,00'))

View solution in original post

7 Replies
its_anandrjs

Hi,

Try to load currency mapping table with its value.

Thanks & Regards

MK_QSL
MVP
MVP

IF(CurrencyCode = 'GBP', MONEY(YourExpression, '£#,##0.00', '€#,##0.00')

Hope this helps...

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

If you are controlling the currency format using Num() or Money() statements in the expression, you need to set the format in Properties | Number to 'Expression Default'.

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
PrashantSangle

Hi

You can create inline table and link that table with your table

like

currency:

LOAD * Inline

[

Local,val

AUD,1.0908

CAD,1.0187

EUR,0.7399

GBP,0.6650

USD,1.000

];

and create variable as vCur

assign value =val

and in your expression

=Sum(Sales)*vCur

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Not applicable

Hi

You can use Number to 'Expression Default' and expression like this with any CurrCode and formats:

num(sum(Value),Pick(Match(CurrCode,'EUR','GBR'),'€ # ##0,00;€ -# ##0,00', '£ # ##0,00;£ -# ##0,00'))

sunilkumarqv
Specialist II
Specialist II

You can try like these

suggested By John

bnelson111
Creator
Creator
Author

Thanks, brilliant