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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
bharatkishore
Creator III
Creator III

Number Format

Hi All,

I have given the expression as

sum(Amount).

I am getting the value as 3768579921.16

Now i need to get value as integer with dollar symbol and i have given expression as

num(Sum([LC2 Amount]),'$ #,##0').

After giving this expression i am getting the value as $3,768,579,921

But now my requirement is in need to get the above value as

$37.16(round with two decimals and numbers in millions).

Hope you got it..

12 Replies
bharatkishore
Creator III
Creator III
Author

Hi Kaushik,

My expression is

=Money(Round(num(Sum({<[Ageing Buckets]={"Current"},[Clrng doc]={"*"}>}[LC2 Amount]),'$ #,##0')/1000000, .01))

Is there any modifications i need to do

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,


It will be as below.


num(Floor(Sum({<[Ageing Buckets]={"Current"},[Clrng doc]={"*"}>}[LC2 Amount])/1000000) +

(Sum({<[Ageing Buckets]={"Current"},[Clrng doc]={"*"}>}[LC2 Amount])

- Floor(Sum({<[Ageing Buckets]={"Current"},[Clrng doc]={"*"}>}[LC2 Amount])) ),'$ #,##.00')


Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
bharatkishore
Creator III
Creator III
Author

Thanks a lot Kaushik