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

This widget could not be displayed.

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
sivarajs
Specialist II
Specialist II

Max and Min in same expression

Hi,

I have a chart which values from low to high.The x axis has around 150 values so we reduced the size of chart. Because of that it showing first few values. Is there a way we can show min and max in same expression in between few values?

Regards,

Sivaraj

This widget could not be displayed.
9 Replies
robert_mika
Master III
Master III

Could you post an example?

This widget could not be displayed.
sivarajs
Specialist II
Specialist II
Author

PFA's

This widget could not be displayed.
robert_mika
Master III
Master III

Try the attached

This widget could not be displayed.
sivarajs
Specialist II
Specialist II
Author

how to achieve in same expression?

This widget could not be displayed.
robert_mika
Master III
Master III

Could you elaborate?

This widget could not be displayed.
sivarajs
Specialist II
Specialist II
Author

The chart size what i have need not be changed. Because am displaying more number of chart in a sheet.

If you add more than a expression the legend will go (second dimension). I need to show those as well.

My question is, how to show max and min in same expression which i have used?

This widget could not be displayed.
gandalfgray
Specialist II
Specialist II

As I understand you, you want to see the chart values only for the min and max DATE in current selection.

If so, use this in the chart expression:

sum({<DATE={'$(=Date(min(DATE),'YYYY-MM-DD'))','$(=Date(max(DATE),'YYYY-MM-DD'))'}>}[Response Time])

(You should probably change the YYYY-MM-DD to fit your date format)

This widget could not be displayed.
tresesco
MVP
MVP

Use calculated dimension, like:

=If(DATE=$(=Max(DATE)) Or DATE=$(=Min(DATE)), DATE)

PFA

This widget could not be displayed.
sivarajs
Specialist II
Specialist II
Author

Max and Min is works fine. Can't we show trend between max and min? means some values in between.

This widget could not be displayed.