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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

X Axis min point start from 20%

Hi All

I try to changeX Axis min by enter 20% , it does not work. any idea ?

1 Solution

Accepted Solutions
sivarajs
Specialist II
Specialist II

You might have checked forced 0 option in axes tab of properties.Uncheck and set the changes

View solution in original post

6 Replies
sivarajs
Specialist II
Specialist II

You might have checked forced 0 option in axes tab of properties.Uncheck and set the changes

Not applicable

This can be possible by set the Static min, max and set values for the expression "Scale" area under Axes tab. Also, uncheck the option "Forced 0".

paulyeo11
Master
Master
Author

Hi Ven

How can i make use of Argg function to make it dynamic ? my expression as below :-

(

sum({$<year=, month=, date = {">=$(=MonthStart(vSelectedDate, -48))<=$(=vSelectedDate)"}>} sales)/1

-

sum({$<year=, month=, date = {">=$(=MonthStart(vSelectedDate, -48))<=$(=vSelectedDate)"}>} cost)/1

)

/

sum({$<year=, month=, date = {">=$(=MonthStart(vSelectedDate, -48))<=$(=vSelectedDate)"}>} sales)/1

Paul

Siva_Sankar
Master II
Master II

Under Axes tab, uncheck forced 0 option and try. Regards. siva

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     For min value try this.

Min(Aggr((

sum({$<year=, month=, date = {">=$(=MonthStart(vSelectedDate, -48))<=$(=vSelectedDate)"}>} sales)/1

  -

sum({$<year=, month=, date = {">=$(=MonthStart(vSelectedDate, -48))<=$(=vSelectedDate)"}>} cost)/1  )

/

sum({$<year=, month=, date = {">=$(=MonthStart(vSelectedDate, -48))<=$(=vSelectedDate)"}>} sales)/1),Dimensions)

For maximum value

Max(Aggr((

sum({$<year=, month=, date = {">=$(=MonthStart(vSelectedDate, -48))<=$(=vSelectedDate)"}>} sales)/1

  -

sum({$<year=, month=, date = {">=$(=MonthStart(vSelectedDate, -48))<=$(=vSelectedDate)"}>} cost)/1  )

/

sum({$<year=, month=, date = {">=$(=MonthStart(vSelectedDate, -48))<=$(=vSelectedDate)"}>} sales)/1),Dimensions)

Regards,

Kaushik Solanki

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

Hi Kau

Many thank , it work fine.

Paul