Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
manu1512
Creator
Creator

shorting the number

Hi all,

I want to convert the my expression like 30000 into 30k,500000 into 50m in Bar Chart.Please let me know step by step.

Regards

Manu

4 Replies
Anonymous
Not applicable

in expression...

num(sum(dimenson/1000), '###K')

Anonymous
Not applicable

=If(sum(<your measure>)/1000000 > 1 //check if more than million

,Num(sum(<your measure>)/1000000 ,'#,##0M') // in million

, Num(sum(<your measure>)/1000 ,'#,##0K')) // in K

Siva_Sankar
Master II
Master II

Hi Manu,

Try the below expression, replace your YourExpressionHere with your measure

=If(sum(YourExpressionHere)/1000000000 > 1,Num(sum(YourExpressionHere)/1000000000,'$#,###B'), Num(sum(YourExpressionHere)/1000000,'$#,###M'))


-Siva

Anonymous
Not applicable

Hi,

Alternatively, Please see the below image:
Number.png