Suggested values

I have a From Warehouse and a To Warehouse on a form.

The two fields of type Enum with a Ref base type Warehouse.

I wish to filter the To Warehouse Suggested values so that if SGN is selected in From, only SGN is available in To field.

Select(Warehouses[Row ID], [Row ID] <> [_THISROW].[From], true)

The above is not working. Any suggestions, please?

Is [ROW ID] the key of the Warehouses table? If not, try

SELECT(
 Warehouses[key col],
 [Key Col] <> [_THISROW].[FROM],
 TRUE
)

.

@TeeSee1

Yes, Row ID is the key.

Hmmm, then the expressions should work..

What are you getting exactly, the whole list, errors?

I’m getting the whole list.

I should only be getting Master warehouse if I have SGN selected.

I have exactly the same and it works for me..

Animation.gif

TeeSee1_0-1697063052195.png

See any differences?

1 Like

@TeeSee1

Thanks for taking the time to debug this. I really appreciate.

I had Other values allowed on and had some validation going on.

As soon as I removed both of them, it worked as expected.

Thank you so much for your time.