Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to show values in line chart?

Hi Team,

How to show values in Million(m) foramt and thousand(k) foramts in line chart

if(sum(Amount)>=1000000

,num(sum(Amount)/1000000,'#,##0.0 M')

,num(sum(Amount)/1000,'#,##0 K'))

I applied above formula ,but the trend line shows bleow

Millions shows down trend and Thousand shows up trend

Thanks

LINECHART1.JPG

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Have a look at the attached example.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

11 Replies
Not applicable
Author

Hi Team,

How to show values in Million(m) foramt and thousand(k) foramts in line chart

if(sum(Amount)>=1000000

,num(sum(Amount)/1000000,'#,##0.0 M')

,num(sum(Amount)/1000,'#,##0 K'))

I applied above formula ,but the trend line shows bleow

Millions shows down trend and Thousand shows up trend

Thanks

LINECHART1.JPG

Not applicable
Author

That is because of Y axis. You need to fix the Y axis points.

Not applicable
Author

Go to the Number tab and set the below properties for each of the expression.  Hope this helps

Number Format Setting = Integer.

In the Thousand Symbol input field enter x Thousand.

In the Million Symbol box enter x Million.

In the Billion Symbol box enter, you guessed it, x Billion.

Not applicable
Author

Hi Streak

,

Its not working

Not applicable
Author

Can you post sample qvw ?

Not applicable
Author

Hi ,

Please find the qvd file

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Have a look at the attached example.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Thanks, Kaushik

Problem Solved

nizamsha
Specialist II
Specialist II

write  2 expression

first one

sum(access)

second one

if(sum(Access)>=1000000,

num(sum(Access)/1000000,'#,##0.0 M'),

num(sum(Access)/1000,'#,##0 K'))

for first one enable line and symbol check box

for the second one enable values on data poin it will give the output what u want