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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Difference between minstring and firstvalue?

Hi everyone,

Can anybody explain the difference between minstring and firstvalue string aggregation functions?

Thanks,

Murali

1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Yep ok.First value can be used only in load script not in the presentation which returns the first value based on the load order.But MinString returns the First sorted string or numeric value.

     Example load order is

     4,5,2,3,5,6

     FirstValue returns 4 whereas MinString returns 2.

Hope it helps

Celambarasan

View solution in original post

3 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Firstsortedvalue returns the first sorted value based on other fields(if given) or within the same field.

     MinString is to return the first value within the field we cann't sort by using another field.

Celambarasan

Not applicable
Author

But my question is about firstvalue and minstring, not firstsortedvalue.

Thanks,

Murali

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Yep ok.First value can be used only in load script not in the presentation which returns the first value based on the load order.But MinString returns the First sorted string or numeric value.

     Example load order is

     4,5,2,3,5,6

     FirstValue returns 4 whereas MinString returns 2.

Hope it helps

Celambarasan