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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Moneyformat in textobject issue

hello guys,

How can i get a result (see image below) in the text object properties like:  €64.992,25 .

my current expression as text:

=Num(Round(Sum({$<StoreCode = {'WSDP'}>} SalesPrice*TransactionQuantity)),'€ #.##0,')
-
Sum({$<StoreCode = {'WSDP'}>}GrossValue-DiscountValue)

which expression should you guys recommend?

Greets,

Rega

Labels (1)
2 Replies
sunny_talwar
MVP
MVP

Try this:

=Num(Round(Sum({$<StoreCode = {'WSDP'}>} SalesPrice*TransactionQuantity)) - Sum({$<StoreCode = {'WSDP'}>}GrossValue-DiscountValue),'€ #.##0,00')

swuehl
Champion III
Champion III

I think you may need to check also the format code, if you want two decimals (and I would probably remove the Round() function, but that's up to your requirements):

=Num(

Round(Sum({$<StoreCode = {'WSDP'}>} SalesPrice*TransactionQuantity)) - Sum({$<StoreCode = {'WSDP'}>}GrossValue-DiscountValue)

,'€ #.##0,00',',','.')