Unable to find column '_THIS' (Action Button)

Hi! I have a column named โ€œCurrent Balanceโ€ which has a type Price and another column named โ€œNet Amount Sinceโ€ which is a computed value, also with a type Price.

I am trying to add the value of Net Amount Since to Current Balance using an action button. I chose โ€œData: set the values of some columns in this rowโ€ for the โ€˜Do thisโ€™ option. I chose Current Price and the formula as [_THIS]+[Net Amount Since].

The formula is valid based on the expression assistant. However, after saving the change, I receive an error Data action โ€˜Update Current Accountโ€™ uses an invalid new column value expression โ€˜=[_THIS]+[Net Amount Since]โ€™. Unable to find column โ€˜_THISโ€™, did you meanโ€ฆ?

Hoping for some assistance. Thanks!

Solved Solved
0 1 1,186
1 ACCEPTED SOLUTION

Hi @dennis316chan! Welcome to AppSheet!!!

The keyword [_THIS] will only have meaning within the column definition expressions. Actions are row-based (mostly) and have no specific column context. [_THIS] is not available within the scope of an action.

Simply replace [_THIS] with the column name you intended for that calculation and youโ€™ll be good.

View solution in original post

1 REPLY 1

Hi @dennis316chan! Welcome to AppSheet!!!

The keyword [_THIS] will only have meaning within the column definition expressions. Actions are row-based (mostly) and have no specific column context. [_THIS] is not available within the scope of an action.

Simply replace [_THIS] with the column name you intended for that calculation and youโ€™ll be good.

Top Labels in this Space