Skip to main content
Announcements
WEBINAR April 23, 2025: Iceberg Ahead: The Future of Open Lakehouses - REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Find min/max of 4 different numeric fields

Hi Community,

Does anyone know how to find the min/max of 4 different fields inside the srcript?

For example:

Load *,

          min<- -- number of each sort order comparing these 4 fields 

Load

     SortOrder

     F1,

     F2,

     F3

     F4

from blah

1 Solution

Accepted Solutions
MK_QSL
MVP

RangeMin(F1,F2,F3,F4) as MinValue

View solution in original post

1 Reply
MK_QSL
MVP

RangeMin(F1,F2,F3,F4) as MinValue