Jump to content
  • 0
Sign in to follow this  
dmchenry

Sorting results by date?

Question

I'm working on a search and result data page and want to sort the results by date. But it only lets me sort alpha. So I get the January results (1/../.., followed by October (10/../..)

Is there a way to have it sort by date?

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hi,

I'm assuming that you're unable to sort your report by date because the data type of your field is Text. If that is the case, you'll need to convert it first to a datetime field. Here's a formula that you may use:

CONVERT(DATETIME, [@field:], 101)

You'll need to add a Formula field first where you can insert the formula provided above. After that, you can now select that Formula field from the Sorting options on your report.

 

~JolliBeng

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...