Please help in Appsheet formula ORDER BY

Errors - Invalid input, Unable to find column

In my case CustomerID is the key column and I have put below formulas as a "valid if" to get a drop down in Customers[Customer Name]. I want to show Customer Name which is in order to Check-In date. all this mentioned columns are in Bookings table and formula is putting in Customers table.

ORDERBY(
Show Bookings[CustomerName],
[CheckInDate],
FALSE
)

--------

SELECT(
ORDERBY(
Bookings[Customer Name],
[Check-In],
FALSE
),
TRUE
)

--------

I have tried following formulas and nonof them worked. Im not a programmer or expert in coding. So I'm humbly looking for help and advice.

Solved Solved
0 4 138
1 ACCEPTED SOLUTION

You can use the ORDERBY() only with the key column like..
ORDERBY(
Show Bookings[CustomerID],
[CheckInDate],
FALSE
)

View solution in original post

4 REPLIES 4

You can use the ORDERBY() only with the key column like..
ORDERBY(
Show Bookings[CustomerID],
[CheckInDate],
FALSE
)

This is showing CustomerID istead of Customer Name in the drop down. Could you please help. Thanks

Got it sorted. Thank you very much

If you are going order the name based on date then use

Select

(Show Bookings[CustomerName],

IN(

[CheckInDate], Sort(Select(Show Bookings[CheckInDate],true),true)

)

)

Top Labels in this Space