Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Number format as K

Hi,

How can we convert numbers to K and M; (with HIDE AXIS on)

100.000 as 100 K

1.000.000 as 1 M

It happens when HIDE AXIS is off when when we take it off the numbers appear normally.

Thanks.

1 Solution

Accepted Solutions
avinashelite

Try like this

=If(sum(Amount)/1000000000 > 1,Num(sum(Amount)/1000000000,'$#,###B'),

if(sum(Amount)/1000000>1,

Num(sum(Amount)/1000000,'$#,###M')

,

if(sum(Amount)/1000>1,Num(sum(Amount)/1000,'$#,###K')

)

)


View solution in original post

5 Replies
sunny_talwar

How are you formatting them? on Numbers tab of chart properties or within the expression itself?

avinashelite

Try like this

=If(sum(Amount)/1000000000 > 1,Num(sum(Amount)/1000000000,'$#,###B'),

if(sum(Amount)/1000000>1,

Num(sum(Amount)/1000000,'$#,###M')

,

if(sum(Amount)/1000>1,Num(sum(Amount)/1000,'$#,###K')

)

)


Anonymous
Not applicable
Author

I am using CHART expression,

But is there a way to do it with NUMBER tab not with formula.

thnks.

Anonymous
Not applicable
Author

is there a way to do it with NUMBER tab not with formula.

thnks.

sunny_talwar

AFAIK no. I guess the issue is that with number tab it behave the way it is programmed, not much can be configured. But with Expression option you have greater flexibility.