Notion Answers

Help between Notion users


Register & Ask

It's free & easy

Get answers

Answers, votes & comments

Vote and select answers

Receive points, vote and give the solution

Question

1vote

Filter & calculate attendance every year

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.

1 Answer

1vote

thomas_yang Points3300

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

Please log in or register to answer this question.

...

Welcome to Notion Answers, where you can ask questions and receive answers from other members of the community.

Please share to grow the Notion Community!

Connect