Group By Database
Hi, I'm trying to write a habit tracker.
I want to group all the entries in a table by month and show the count in another table.
Like a monthly report.
How can I do that?
Right now I have created a relation from the habits table to the monthly table on the basis of the month.
Posted Jan 26, 2023, 3:01 PM UTC
13
Wouldn't a Rollup property that uses Count work? Might need more details about how your databases are set up to be more helpful.
Yes. I made it work. But I have to add an extra field for month to create relation using the month field.
Is there a way create a relation on month using the date field?
Sorry, I don't feel like I have the full picture of what you are doing with this.
However, in the table view, under View Options, you can enable a Group. If you select a Date property to use with the Group By (or one of the built in properties like Created Time or Last Edited Time), you can then specify "Date By" as "Month".