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
-
- 457
- 0
- Apr 14
-
- 368
- 0
- Apr 12
-
- 503
- 0
- Apr 11
-
- 309
- 0
- Apr 10
-
- 309
- 0
- Apr 7
-
- 307
- 0
- Apr 6
-
- 302
- 0
- Apr 4
-
- 293
- 0
- Apr 3
- see all
Recent Activities
notionbackups answered May 22
How to print or export note or page as pdf with fi…notionbackups answered May 22
How to fix messed up decimal numbers after import …pjbdr026 asked Apr 14
How do teams use Notion for collaboration?pjbdr026 asked Apr 12
CRM System in Notionpjbdr026 asked Apr 11
Dashboard Setup
...

