I have some applications where the Valid_If condition was written as: IN([_this], SELECT(TableName[ColumnName], condition)). These expressions worked fine but when we try to modify them the error โUnable to find column _thisโ appear. The solution seems to be just to remove the IN formula and write: SELECT(TableName[ColumnName], condition).
Will the first formulation remain valid or do we need to upgrade all formulas written in the first way? Thanks!
With this expression, are you trying to create a dropdown or trying to validate the userโs entry?
Create a dropdown
Then you need to remove the IN expression from your formula
Ooook thank you! Any idea on why this has worked so far?
A single IN(โฆ) expression creates a dropdown but you are trying to create a concatenation of 2 lists. Therefore
IN(โฆ) + SELECT(โฆ) wonโt work where SELECT(โฆ) + SELECT(โฆ) OR LIST(โฆ) + LIST(โฆ) will work
Not tried before but it might work with:
LIST(IN(โฆ)) + SELECT (โฆ)
Thank you for this use case I take note!!! Actually in the formula on the picture is like IN(โฆ, SELECT()+SELECT()). So you cannot concatenate 2 or more list inside the IN statement, am I right?
IN expressionโs 2nd parameter is a LIST. So itโs possible to create an expression like this:
IN([ColumnName], (SELECT(โฆ) + SELECT(โฆ)))
Thank Levent but then I am a bit confusedโฆ why are we getting this error?
You shall specify your columnโs name rather than [_THIS] expression. Therefore youโre receiving that error message.
User | Count |
---|---|
16 | |
9 | |
9 | |
7 | |
3 |