LogoFLO.W
  • Pricing
  • Blog
  • Docs
  • Thinking
  • About
Get Started
  • Problem Background
  • Step 1: Create a Default Template
  • Step 2: Process with a Formula Property
  • Final Result
Notion 问答·
2024/09/07

How to Show Only the Latest Entry in a Notion Database

Use Relation + Formula to display only the last updated record in a Notion database, ideal for project status tracking, client management, and more.

avatar for 二一
二一
How to Show Only the Latest Entry in a Notion Database

This question comes from a reader of the Notion course. It has been organized and shared here. If you encounter similar issues while using Notion, feel free to leave a comment.

Problem Background

Although Notion databases have a page load limit, the minimum is still 10 entries, so there is no direct way to display only the last entry:

Database page load limit

To achieve this, we need the help of another database and some formulas.

Here is the basic approach:

  1. Relate all pages (A1, A2, A3, A4, etc.) from Database 01 to a page B in Database 02 (named "Last Updated Entry")
  2. Create a Formula property in Database 02
  3. Use a formula to find the most recently updated page

Step 1: Create a Default Template

Since all pages in Database 01 need to be related to the "Last Updated Entry" page in Database 02, we can use a default template to automatically create this relation when a new page is added:

Create default template

The relation between the two databases looks like this:

Relation result

Step 2: Process with a Formula Property

Create a Formula property in Database 02 and use the following formula:

Database 01.map(current.Last edited time).sort().reverse().slice(0,1).map(lets( lastTime,current, lastPage,Database 01.find(current.Last edited time==lastTime),lastPage ))

Here is a detailed breakdown of the formula:

  1. prop("Database 01") — Retrieves all pages from the database named "Database 01", returning a list of all pages.
  2. .map(current.prop("Last edited time")) — Iterates through each element in the list and extracts the "Last edited time" property from each page, resulting in a new list of all edit times.
  3. .sort() — Sorts the time list in chronological order (oldest to newest).
  4. .reverse() — Reverses the list order so it goes from newest to oldest.
  5. .slice(0,1) — Keeps only the first element in the list, which is the most recent edit time.
  6. .map(lets(…)) — Uses the map function again, combined with the lets function to define and use temporary variables:
    • lastTime, current: Assigns the most recent edit time to the lastTime variable.
    • lastPage, prop("Database 01").find(current.prop("Last edited time")==lastTime): Finds the page in "Database 01" whose last edited time matches lastTime, and assigns it to the lastPage variable.
    • lastPage: Finally returns this most recently edited page.

Final Result

Here is the formula in action — when you edit a page, Database 02 automatically displays the most recently edited page:

Formula demo

If you switch to gallery view, you can embed it in a column layout for a cleaner look:

Gallery view display


📘 FLO.W — Notion Personal Management System

FLO.W is a Notion-based personal management template that integrates tasks, notes, projects, habits, and more, complete with comprehensive tutorials.

Ready-to-use Notion template system
Complete tutorials included, beginner-friendly
Continuously updated and maintained
Learn About FLO.W Template✨ 1237+ users chose FLO.W
2024/09/07
Share this post
All Posts

More Posts

How to Auto-Advance Dates Based on Multiple Checkbox States in Notion
#Notion 问答

How to Auto-Advance Dates Based on Multiple Checkbox States in Notion

Use Notion Formula lets and empty functions to automatically calculate and advance dates based on multiple Checkbox column states.

2025/01/26
How to Calculate Select Field Option Percentages in Notion
#Notion 问答

How to Calculate Select Field Option Percentages in Notion

Learn how to use Formula functions in Notion to calculate the percentage of each Select field option, bypassing the limitations of Rollup count per group.

2025/01/05
How to Auto-Expand Database Sub-Items in Notion
#Notion 问答

How to Auto-Expand Database Sub-Items in Notion

Solve the issue where Notion database sub-items automatically collapse after every page refresh, by adding a Parent item filter condition to keep sub-items expanded.

2024/04/30

Newsletter

Join the community

Subscribe to our newsletter for the latest news and updates

LogoFLO.W
TwitterX (Twitter)YouTubeYouTubeBilibiliXiaoHongShuEmail
Product
  • Features
  • Pricing
  • FAQ
Resources
  • Blog
  • Documentation
  • Notion Custom Agent
Company
  • About
  • Contact
Legal
  • Cookie Policy
  • Privacy Policy
  • Terms of Service

Subscribe for more Notion tips and updates

© 2026 FLO.W, All rights reservedNotion is a trademark of Notion Labs, Inc. This is an independent third-party site, not affiliated with or endorsed by Notion.
Featured on Uneed