Jul 30, 2024 11:37 AM - edited Jul 30, 2024 11:37 AM
Hi. Thanks in advance for any help.
I'd like to take a table with dated records in them, then group them by month-Year.
How do I take a date format and make a field that will allow me to show the latest records at the top for a particular month? For example:
2024 - 2 (all records follow)
2024 - 1 (all records follow)
2023 - 12 (all records follow)
etcetera
Then of course as we add newer records at the top, they'll continue.
Thanks!
Solved! Go to Solution.
Jul 30, 2024 11:53 AM - edited Jul 30, 2024 11:54 AM
You could create a "Month-Year" formula field using your "Date" field and the formula would be DATETIME_FORMAT({Date}, 'YYYY - M') then sort the table by date in descending order to ensure latest records are at the top, then group the table by the "Month-Year" field. The view would look like this:
I hope this helps. If you have any questions feel free to ask.
Jul 30, 2024 11:53 AM - edited Jul 30, 2024 11:54 AM
You could create a "Month-Year" formula field using your "Date" field and the formula would be DATETIME_FORMAT({Date}, 'YYYY - M') then sort the table by date in descending order to ensure latest records are at the top, then group the table by the "Month-Year" field. The view would look like this:
I hope this helps. If you have any questions feel free to ask.
Jul 30, 2024 11:59 AM
Thanks so much! I'll try and let you know how it goes.
Jul 30, 2024 12:18 PM
Hi Blake,
Seems to be working. Thanks!