Can a Ref list be sorted with the most recent first

HCF
New Member

Hi, I have a table that use a Ref to the Contacts table so I can select a contact for the activity. It looks like this:

The EnumList is sorted alfabetically, however I should like that the newest records shows at the top - is the a way to acheive this?
Also, when one or several contacts from the contacts table are selected, I should like an easy way to deselect without having to clear all - is that possible?

Solved Solved
0 5 238
1 ACCEPTED SOLUTION

Aurelien
Google Developer Expert
Google Developer Expert

Hi @HCF

If you have a creation_timeStamp, that can be done using the Valid_If field and expression:

Something like:

ORDERBY(table[Key], 
  [Creation_TimeStamp],
  false
)

About this:

You may want to explicit the “easy way”. If you want for example the selected ones to appear first, I’m afraid that will be tricky.

View solution in original post

5 REPLIES 5

Aurelien
Google Developer Expert
Google Developer Expert

Hi @HCF

If you have a creation_timeStamp, that can be done using the Valid_If field and expression:

Something like:

ORDERBY(table[Key], 
  [Creation_TimeStamp],
  false
)

About this:

You may want to explicit the “easy way”. If you want for example the selected ones to appear first, I’m afraid that will be tricky.

Thanks - don’t figure where to put the OrderBy expression though?

Aurelien
Google Developer Expert
Google Developer Expert

Here

Sorry - got it - “Suggested Values” of course

Aurelien
Google Developer Expert
Google Developer Expert

I would rather pick “valid_If” instead, but it’s up to you.
Valid_If admits either a Yes/No expression, or a List expression.

Top Labels in this Space