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

Data / Value label only at start and ending points

How to have data labels / value labels for only the starting and ending points of a line chart?

Labels (3)
1 Reply
SerhanKaraer
Creator III
Creator III

Hello,

There is no easy way, but you can achieve what you want with some workaround method.

SampleData:
LOAD * INLINE [
Dim, Value
1, 10
2, 12
3, 14
4, 16
5, 18
6, 20
];

You have to enable data labels on the line chart.

SerhanKaraer_0-1669924739792.png

Then you have to set measure expression as: Dual(if(Dim=1 or Dim=6,Value,''),Sum(Value))

Finally, number formatting have to be changed to measure expression.

SerhanKaraer_1-1669924797226.png

The result will look like this.

There is no way to remove the data points between starting point and ending point, but you can unset labels for them.

SerhanKaraer_2-1669924913509.png

I hope it solves.