How to get a value from another table (use as a range) based on a field

I need to find an expression that gives me a result depending on the value of a field filled from the user side.

example:

Number of employees = 53

Cost=??? in this example the result mus

employees table

MINMAXCOST
0252500
26503000
512005000
   

I tried to use lookup but it didn't worked

0 1 43
1 REPLY 1

Use something like..
ANY(SELECT(Employees[Cost],AND([_THISROW].[NOE]>=[Min],[_THISROW].[NOE]<=[Max])))
NOE = "number of employees"

Top Labels in this Space