Skip to main content

Suggest an Idea

Vote for your favorite Qlik product ideas and add your own suggestions.

Announcements
This page is no longer in use. To suggest an idea, please visit Browse and Suggest.

Minstring and Maxstring should accept rank as 2nd parameter(like min/max)

simonaubert
Partner - Specialist II
Partner - Specialist II

Minstring and Maxstring should accept rank as 2nd parameter(like min/max)

Hello all,

On Qlik, the Min and Max functions accept a second parameter : the rank.

Min ( expr [, rank])

Return data type: numeric

Arguments:  

Argument Description
exprThe expression or field containing the data to be measured.
rank Expression

The default value of rank is 1, which corresponds to the lowest value. By specifying rank as 2, the second lowest value is returned. If rank is 3, the third lowest value is returned, and so on.

 

 

I thinks this very cool and I use it in some scripts. However, sometimes, I need to do the exact same thing with strings. As you know, we then must use Minstring and Maxstring instead of Min and Max.

But there..... patatra : it just doesn't work

Syntax:  

MinString ( expr )
image.png

So I would like the min/max string functions to work exactly like min /max. It seems easy and add consistence.


Best regards,

Simon

Bi Consultant (Dataviz & Dataprep) @ Business & Decision
Tags (2)
4 Comments
msteedle
Luminary Alumni
Luminary Alumni

You can accomplish something similar with FirstSortedValue, although I think it may perform a little slower.

Patric_Nordstrom
Employee
Employee

Thank you all for your feedback on ways to improve our product. While this is something we understand would be useful, it's not on the short-term roadmap. Please continue to show your support for this idea by commenting and liking.

Thanks, 

Patric

Status changed to: Open - Collecting Feedback
Meghann_MacDonald

From now on, please track this idea from the Ideation portal. 

Link to new idea

Meghann

NOTE: Upon clicking this link 2 tabs may open - please feel free to close the one with a login page. If you only see 1 tab with the login page, please try clicking this link first: Authenticate me! then try the link above again. Ensure pop-up blocker is off.

Ideation
Explorer II
Explorer II
 
Status changed to: Closed - Archived