Aggregating by month - to_timestamp not available as filter
Hi,
I am trying to return aggregated result by month from a date field (not timestamp). My understanding is that in order to get the formatting I need to convert the date to a timestamp. However in the aggregation the "to_timestamp" is not available. How do I accomplish this?
Thanks!
Comments
-
Hi, what is the data type of your tansactions.date?
Apart from that, generally in tables I always have my dates in timestamp format as a default, because it's the easiest type to manipulate with if necessary. -
Hello
You will need to add the filter format_timestamp and and add on the format text "F"
Here is an example:
You can find all available formats here:
-
The format of the timestamp is Date. I am early in my project so it seems that it must be best to convert them to a timestamp. Seems a bit strange that the filter is not available in that situation though if it is available with Update Variable.
For now I have a path forward, I will just change all dates to timestamp.
Thank you!
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback