LIST has elements of mismatched types - REALLY??

[Rank] is a decimal column.  As a formula to update the value of [Rank], this works:

Max(Select(Food Orders[Rank], ([Rank] < [_THISROW].[Rank]), False)) - 0.001

But, if I want to compare that numeric value to another, this returns an error:

Min(List(Max(Select(Food Orders[Rank], ([Rank] < [_THISROW].[Rank]), False)) - 0.001, 1))

I don't understand why if the first formula is okay, why adding it to a list that includes a number doesn't work.  They both seem like numbers to me.  

Solved Solved
0 2 316
1 ACCEPTED SOLUTION

Steve
Platinum 4
Platinum 4

So change 1 to 1.0.

View solution in original post

2 REPLIES 2

Steve
Platinum 4
Platinum 4

So change 1 to 1.0.

Ah!  Thanks!

Top Labels in this Space