Hi all,
I have a SQL Table that has 2 columns, 'Lookup' and 'Result'.
The app requires 3 Inputs from the user and returns a decimal result.
I'm looking for way to search the SQL table and return the closest 'Result' where Value is <= the result of the calculation.
I have tried the Lookup formula:
LookUp(Ullage,Lookup<=Value(luCalc.Text),Result)
However this returns only the first value on the table.
I also thought about reducing the dataset and taking the last() value but I cant find a way to reduce it based on comparing numbers.
Can anyone offer any advice?