Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
matancha
Creator
Creator

Line Chart Offset


Hello all.

Is there a way to start a line graph not from 0 (line offset), something like Bar offset but with line?

I'm trying to make a graph for show movements in warehouse (in - out).

My dimention is the time (Yeaar | Month | Date), and the user choose a warehouse.

I'm hold the initial balance in variable called: (vInitBalance), and I want to start the line (Y axis) from (vInitBalance) value, and not from zero.

My problem is that my expression need to be define with "full Accumulation", so i can't define expression like (  $(vInitBalance) + In - Out).

So I looking for a way to doing "line offset".

Thanks in advance for any help -

Matan.

1 Solution

Accepted Solutions
whiteline
Master II
Master II

Hi.

You could just add $(vInitBalance) only for the first dimension value where rowno()=1.

View solution in original post

8 Replies
Not applicable

Hi,

Uncheck "Forced 0" under Axes tab from chart properties. And use, Scale to setup your own Static Minimum and Static Maximum with Static Step values for your line offset's.

matancha
Creator
Creator
Author

HI,

What I need is to showing the right values.

I could not understand how set Min and Max of the Y axis -  helps me.

I'm need to move the line (In your proposal the values stay the same).

Tnx -

Matan.

MayilVahanan

Hi

PFA - Line chart

Hope that helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable

Hi

Could you attach your sample application if possible (Or) at leat data from your table?

matancha
Creator
Creator
Author

I could not understand how your example is supposed to help me. Could you try to explain me?

Matan.

lironbaram
Partner - Master III
Partner - Master III

hi attach is an example

whiteline
Master II
Master II

Hi.

You could just add $(vInitBalance) only for the first dimension value where rowno()=1.

matancha
Creator
Creator
Author

Thanks you all.

Liron, just because that my dimention is ciclyc dimention the solution of whiteline is better for me. Yours approach is the same.

Tnx again -

Matan.