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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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

Labels (1)
9 Replies
robert_mika
MVP
MVP

Could you post an example?

sivarajs
Specialist II
Specialist II
Author

PFA's

robert_mika
MVP
MVP

Try the attached

sivarajs
Specialist II
Specialist II
Author

how to achieve in same expression?

robert_mika
MVP
MVP

Could you elaborate?

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?

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)

tresB
Champion III
Champion III

Use calculated dimension, like:

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

PFA

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.