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: 
Not applicable

Creating a total line from line chart

Hi,

anyone able to assist with the creation of a 'Total line'

<Band> is a dimension - the current line chart that I have is as per below.

I need to have another line that will show the total of these values as the dotted line that I have drawn out

thank you

now.jpg

New.jpg

1 Solution

Accepted Solutions
HirisH_V7
Master
Master

May be like this,

Dimensional limits ->

For Band Dimension -> Show total

HTH,

Hirish

HirisH
“Aspire to Inspire before we Expire!”

View solution in original post

7 Replies
HirisH_V7
Master
Master

Hi,

Check this,


If your Expression is,

  • Sum(Actual_Demand)

Then create a second Expression like this,

  • Sum(Total Actual_Demand)

HTH,

HirisH

HirisH
“Aspire to Inspire before we Expire!”
sunny_talwar

I think creating a second expression would be a problem as it would remove the effect of second dimension. Do you have a sample you can share so that we can help you better?

HirisH_V7
Master
Master

May be like this,

Dimensional limits ->

For Band Dimension -> Show total

HTH,

Hirish

HirisH
“Aspire to Inspire before we Expire!”
Not applicable
Author

Hi Sunny,

You are right, when I add another expression, it messes with the first dimension

when selecting the 'Band Dimension' <Show Total>, it is only represented as 1 figure at the end of the line chart but not a line in itself.

I was thinking the expression should be the values of the selections from the field or something as such

thanks

Untitled.png

Untitled2.png

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Hirish's suggestion of "Show Total" for Band works for me. Can you upload a small sample?

-Rob

http://masterssummit.com

http://qlikviewcookbook.com

Not applicable
Author

Hi,

thank you so much. I had selected the Total at the Month initially. after selecting the total at BAND, the Total line is accurately displayed.

regards,

grace

Untitled3.png

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

The "correct" answer really should go to Hirish

-Rob