Is it possible to call a column name in an ex...

Is it possible to call a column name in an expression? I need to Lookup in another table with the same column name for many columns.

For ex LOOKUP([_THISROW], table, column, [_THISCOLNAME])

0 4 342
4 REPLIES 4

Iโ€™m afraid thatโ€™s not possible.

Might have been great for dynamisim!

The problem with this kind of โ€œlate-boundโ€ expression is that the validity of the expression (eg: type checking) cannot be done until runtime. So it is tougher to be sure the app is correct and will run correctly. Many scripting languages are like this โ€” they are late-bound and so you get more flexibility but you also get fewer errors identified at compile-time.

In AppSheetโ€™s case, we try really hard to check everything upfront (at โ€œcompile-timeโ€) because we do not want the app end-users having to decipher any errors, if they are avoidable. The downside is that we lose the flexibility of having loose column types and late-bound expressions.

@praveen

Sure, I understand the point.

Top Labels in this Space