How to Use Rollup with Date Property in Notion
In this article
Using a rollup with a date property in Notion lets you pull, calculate, or filter date values from linked pages—like finding the latest deadline, earliest start date, or counting days between events. This is essential for project timelines, task tracking, or event planning. No special tools or paid plans are needed; this works in all Notion accounts. You just need a database with a date property and another database that links to it.
What You'll Need
- A Notion account (free or paid)
- Two databases: one source database with a date property, and one target database that links to it
- A relationship property connecting the two databases
Step-by-Step
- Open your source database—the one containing the date values you want to roll up. For example, this might be a "Tasks" database with a "Due Date" property of type Date.
- In the same source database, ensure the date property is set correctly for each entry. Click on any row and verify the date is entered in the Date field using the calendar picker or typing YYYY-MM-DD. Avoid typing free-form text like "next Friday"—Notion requires actual date values for rollups to work.
- Create or open your target database—the one where you want to display the rollup result. For example, a "Projects" database that links to tasks.
- In the target database, add a new property. Click the
+button next to existing properties, then choose Rollup from the list. - In the Rollup setup dialog, select the relationship property that connects to your source database. If you don’t see any, you need to create a Relationship property first by adding a new property and choosing Relation, then linking it to the source database.
- After selecting the relation, choose the date property from the source database. For example, if your source has a "Due Date" field, select that from the dropdown labeled Property.
- Select the calculation type. For dates, common options include: Latest date (to find the furthest due date), Earliest date (to find the first deadline), Count (to count how many tasks have dates), or Sum (useful only if you’re rolling up durations as numbers).
- Click Save. The rollup will now display the calculated date or count in each row of your target database, based on all linked entries in the source database.
- Test by linking a few entries from the source database to a row in the target database. Add or change dates in the source rows and watch the rollup update automatically.
Common Mistakes
- Using a text field instead of a date field in the source database—rollups only work with actual date properties, not text that looks like dates.
- Missing or broken relationship links—make sure the Relation property in the target database actually points to the correct source database and that entries are linked.
- Choosing the wrong calculation—using Sum on a date field will return 0 or an error; use Latest date or Earliest date instead.
- Not allowing enough time for sync—rollups can take up to 30 seconds to update after changes, especially with many linked rows.
- Linking to a different database than intended—double-check the relation property points to the correct source, not another unrelated database.
Tips
- Use Latest date to find the final deadline across linked tasks, or Earliest date to track when a project must start.
- Combine rollups with formulas for advanced logic—for example, subtract the earliest date from the latest to get the project duration:
format(dateBetween(prop("Latest Due Date"), prop("Earliest Due Date"))). - Use filters in the source database to limit which linked entries affect the rollup. For instance, filter tasks by status = "Active" so only active deadlines are counted.
- Use a date rollup in a template to auto-populate timelines for new projects. Create a template row in your target database with the rollup already configured.
- For time-sensitive workflows, set up a daily view in your target database sorted by the rollup date to see upcoming deadlines.
Troubleshooting
- If the rollup shows "No data," check that the relation property has actual links to the source database. Click the relation field and verify entries appear.
- If the rollup returns "0" or "Invalid date," confirm the source property is a Date type—not a text, number, or select field. Go to the source database, click the property name, and verify its type.
- If the rollup doesn’t update after changing a date, refresh the page. If still stuck, try unlinking and relinking one row to force a sync.
- If you see "Error: Invalid calculation," you picked a calculation incompatible with dates. Switch to "Latest date," "Earliest date," or "Count." Avoid "Sum," "Average," or "Median" for date properties.
- If the rollup works on one row but not others, check that all linked rows in the source database have valid dates. Empty or malformed date fields will cause inconsistent results.
- Rollups don’t work across databases that aren’t connected by a Relation property. You cannot roll up from a database not directly linked.
Frequently Asked Questions
Can I use rollup to calculate the number of days between two dates?
You cannot directly calculate date differences with rollup alone. Instead, use a Formula property in the target database. Reference the rollup’s latest and earliest dates and use dateBetween(prop("Latest Date"), prop("Earliest Date")) to get days between them.
Why is my rollup showing "No date" even though the source has dates?
This happens when the linked entries in the source database don’t have valid dates set, or the relation isn’t properly connected. Check each linked row in the source and ensure the date field is filled with a real date, not blank or text.
Can I roll up multiple date properties at once?
No. Each rollup property can only reference one source property. To combine multiple dates, create separate rollups for each (e.g., one for start date, one for end date), then use a formula to compare them.
Does rollup work with recurring dates or time ranges?
Rollups work only with the exact date values stored in the source field. If you use a date range (e.g., "April 1–5, 2024"), the rollup will only see the start date. Recurring events aren’t supported; each occurrence must be a separate row.
Can I use rollup with time zones?
Yes. Notion stores dates in UTC and displays them according to your account’s time zone. Rollups respect this setting, so dates will appear correctly in your local time zone across all linked databases.
What if I delete a linked row in the source database?
The rollup will automatically recalculate and exclude that row’s date. If all linked rows are deleted, the rollup will show "No data." No manual cleanup is required.