Can I use MIN() with decimal type to find the lowest decimal/number in a column?

Can I use MIN() with type - decimal to find the lowest decimal/number in a column?

Solved Solved
0 12 149
1 ACCEPTED SOLUTION

Then just put the MIN expression in a virtual column somewhere.

View solution in original post

12 REPLIES 12

MIN(LIST(0.98,0.66)) gives you 0.66.

You can go ahead and try it yourself to see if it gives you what you desire.

Steve
Platinum 4
Platinum 4

Thanks,

  I am not seeing how to run the expression.  It gives me this error:

Tiger1_0-1675952829074.png

 

 

 

The problem is that the column is not expecting a Decimal value. Check the column type.

Here is that table I am using to get this expression:

Tiger1_0-1675954040826.png

 

 

Steve_0-1675954577800.png

Where did you enter the expression?

As a slice.  Is that not correct?

Tiger1_0-1675954851308.png

 

 

It is not correct. What are you trying to do?

I want to show the lowest DSO (decimal) in the column.  I can show this as a detail view or table

The slice condition needs to be an equality that returns as true if a record's value matches the MIN().

Oh.  I don't want that.  I just want to show the lowest value in that column?

Then just put the MIN expression in a virtual column somewhere.

Top Labels in this Space