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: 
Anuhyak1
Creator
Creator

Change the scale on Y axis dynamically based on min and max expressions for line charts

I have Line chart which reports official values (Y Axis) based on Reporting year on (x Axis).
Below is the expression for eOfficial

Only({<[CRS Version]=, Flg_National={0}>} [Report Year Percent]).

I have two variables tAxis = 1 Traditional and tAxis =2 for varying. The yaxis in the line chart has to be changed dynamically based on the selection made in the variable

How to setup min and max expression for axis and this has to vary based on traditional and varying.

1 Reply
aruneshgupta
Creator
Creator

I think you can use GetCurrentSelections() to pass selected variable or field in the your min/max axis expression. 

Best Regards,

Arunesh