Make action available on last row

I want an action to be available / not available on the last row.

While this is achievable using MAXROW as one component, Iโ€™m not sure how I can put them all together?

If the rownumber in the table is maximum, then make the action unavailable.

I used the following yes/no expression:

MAXROW(โ€œMyTableโ€, โ€œ_ROWNUMBERโ€) = MAX(MyTable[_ROWNUMBER])

But cant seem to make it work.

Please help

0 2 198
2 REPLIES 2

if I have understood your requirement correctly, please try

[My Table Key Column]<> MAXROW(โ€œMyTableโ€, โ€œ_ROWNUMBERโ€) in the action condition for the action to be unavailable for the last row in the table.

I believe in general the action needs to be of row type action and presume by maximum row number, you mean the last row in the โ€œMy Tableโ€ where data has been entered through AppSheet app and not the empty last row of the back end table.

Steve
Platinum 4
Platinum 4

Try:

([_ROWNUMBER] = MAX(MyTable[_ROWNUMBER]))
Top Labels in this Space