I have a database for members that calculates their attendance via roll up from another events database. How can I filter the rollup to count the number of events a member goes to after a certain date? I've tried using tags and using a formula to restrict the attended members at each event and I'm stuck.
Connect
1 Answer
You can try this formula instead of using rollup.
prop("Events")
.filter(current.prop("Date").formatDate("YYYY") == formatDate(now(), "YYYY"))
.length()
It's currently filtering and counting how many events the member has participated for this year. You can simply change the now() to the year you desire.
Here's the template and the formula inside:
https://thomasyang.notion.site/Notion-Calendar-Filter-11cf60eceaf680c0b765f88badb5ac06?pvs=4
Related questions
- Counting the number of days in a date range based on the year (how to split day between 2023 and 2024)
- Is it possible to return the name of every day within a time range via formula?
- Show every three years date and it is today with Notion formulas
- Database entry creation (based off template) that updates filter of database view based off page property
- How to apply a filter to every view on a database ?
Without Answer
-
- 116
- 0
- Oct 3
-
- 300
- 0
- Aug 12
-
- 348
- 0
- Aug 7
-
- 457
- 0
- Jul 17
-
- 1533
- 0
- Apr 14
-
- 1047
- 0
- Apr 10
-
- 1064
- 0
- Apr 7
-
- 1016
- 0
- Apr 6
- see all
Recent Activities
freelancerops answered 1 hour ago
How Can I Use Notion to Organize a Busy Work Workf…freelancerops answered 1 hour ago
How can I filter rollups to show only the most rec…freelancerops answered 1 hour ago
How do I use rollups to pull in filtered data (e.g…freelancerops answered 4 hours ago
Dashboard Setupfreelancerops answered 4 hours ago
CRM System in Notion
...

