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
-
- 40
- 0
- 3 days ago
-
- 85
- 0
- Aug 12
-
- 122
- 0
- Aug 7
-
- 219
- 0
- Jul 17
-
- 1278
- 0
- Apr 14
-
- 850
- 0
- Apr 12
-
- 1377
- 0
- Apr 11
-
- 797
- 0
- Apr 10
- see all
Recent Activities
renvik04 asked 3 days ago
How Can I Use Notion to Organize a Busy Work Workf…QMuzikDirektor asked Aug 12
Search Doesn't Seem To Worknotionbackups answered May 22
How to print or export note or page as pdf with fi…
...

