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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Finding Max Value within a Table

Hey, I have an expression in a table that calulate the slope of two points for a line graph. What I would like to do is just show the maxium slope or slopes in the table. This is the code I have:

=
(Count({<Dateentered={'$(EndCompareDate)'} >} Model) - Count({<Dateentered={'$(StartCompareDate)'}>} Model) )
/
(num(Left(EndCompareDate,2)) - num(Left(StartCompareDate, 2)))


I tried using Max() and RangeMax() but neither of these worked. Any ideas?

1 Reply
johnw
Champion III
Champion III

I'd have to see both your table and how you want to view this to say for sure, but I think you want something along these lines:

=max(aggr(your expression,your table dimensions with commas between them))