Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

Order values within a custom data field

Avatar

Level 3

Hi,
I am looking for a (text mode) option to sort a field that includes dates and times, but is a text field:

 

June 1 - 8:00

June 1 - 9:00

June 2 - 8:00

June 2 - 9:00

 

Is there a way?

 

Thanks in advance

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 4

You could use the DATE() function to convert the text field to a date. If this does not work directly at the report level, you could create a calculated date field using the function on the same form. 

View solution in original post

6 Replies

Avatar

Level 7

This might help you to sort your column on a report. Let us know if your need is something else.

 

querysort=DE:field_name

sortOrder=1

sortType=asc

 

 

Please mark my response as "Correct reply" if this helped you and to help others.

Thanks in advance!

Avatar

Level 3

No, that is the problem as I mentioned i think due to it being a TEXT field this text mode is not working. I receive the following error message: customdata.text.cantsort

Avatar

Correct answer by
Level 4

You could use the DATE() function to convert the text field to a date. If this does not work directly at the report level, you could create a calculated date field using the function on the same form. 

Avatar

Administrator

@TraKill Just checking in — were you able to resolve your issue?
We’d love to hear how things worked out. If the suggestions above helped, marking a response as correct can guide others with similar questions. And if you found another solution, feel free to share it — your insights could really benefit the community. Thanks again for being part of the conversation!



Kautuk Sahni

Avatar

Level 3

Yes, I was, thank you!

Avatar

Administrator

@TraKill Great, that it’s working now! Would you mind sharing how you fixed it? It might be helpful for others down the line.



Kautuk Sahni