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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
nazaninslp
Contributor III
Contributor III

Getting error when displaying numbers in M and K

Dears

I want to show my numbers in Million and K.

I've searched and write following expression but it display wrong for number which is below 1 M.

for example attached file should show 500 K NOT 0M.

would you please help.

I've attached my file

 

Expression: =if(sum(REVENUE)>10000000,num(sum({<Year={"$(=Max(Year))"},Area_Category-={"Test","Free ShortCode","Xtratime","ACS"}>}REVENUE)/10000000, '#,##0M'),
if(sum(REVENUE)<=10000000,num(sum({<Year={"$(=Max(Year))"},Area_Category-={"Test","Free ShortCode","Xtratime","ACS"}>}REVENUE)/10, '#,##0K'),num(Sum(REVENUE),'#,##0')))

Labels (1)
0 Replies