Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
leocattqv
Creator
Creator

Number formatting....

Hi All, I have a set of code that I would like to set the number format after an equation. Does anyone know how to do this?  format would be '(#,#00)'

='CPM: ' &sum({<[Supplier.No_Approved Parts] = {'>=1'},

[NCMR.Type] = {'Vendor'},

NCMR.SITE = {'TJM', 'VST'}>} [NCMR.SUSPECT_QUANTITY]) /

Sum({<NCMR.SITE = {'TJM', 'VST'}>} [Supplier.No_Approved Parts]) *1000000

1 Solution

Accepted Solutions
leocattqv
Creator
Creator
Author

That Worked, thank you

View solution in original post

6 Replies
jerem1234
Specialist II
Specialist II

use the num function:

='CPM: ' & num(sum({<[Supplier.No_Approved Parts] = {'>=1'},

[NCMR.Type] = {'Vendor'},

NCMR.SITE = {'TJM', 'VST'}>} [NCMR.SUSPECT_QUANTITY]) /

Sum({<NCMR.SITE = {'TJM', 'VST'}>} [Supplier.No_Approved Parts]) *1000000, '(#,#00)')

leocattqv
Creator
Creator
Author

That Worked, thank you

Not applicable

Not cool Leo, not cool...

jerem1234
Specialist II
Specialist II

You're welcome! Please mark any answers that were helpful or correct...

leocattqv
Creator
Creator
Author

ummmm, whats not cool?

Not applicable

I believe Jeremiah provided you with the correct answer, my fair man.  In situations like this here in our Qlik Community that would be an appropriate time to provide the person who provided you with the correct answer the points for said correct answer.  It is, as Jacob said "not cool" to give this accolade to yourself when a hard working young man worked his fingers to the bone trying to assist you.