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

Numerical Abbreviation on stacked bar chart

Hi Expert,

I try to create custom Numerical Abbreviation and try to use in stacked bar chart. then 'K' for thousand and 'M' for million are not showing . if use normal expression like Sum(v_DailyRunrate) and use number formatting auto then result showing 2 decimal point and not showing '$' symbol. this is problem only in stacked bar chart .

I want to show if Sum(v_DailyRunrate)>1000 then   $ 34.6 K else $7.4 M rather than simple number

 

see below exp.

if( $(v_DailyRunrate)>1000 and $(v_DailyRunrate)<1000000,
Num($(v_DailyRunrate)/1000,'$#,##0.0 K'),Num($(v_DailyRunrate)/1000000,'$#,##0.0 M'))

NitinK7_1-1630506285500.png

 

thanks in advance.

 

0 Replies