LogoFLO.W
  • Pricing
  • Blog
  • Docs
  • Thinking
  • About
Get Started
  • Reader's Question
  • My Answer
Notion 问答·
2024/11/25

How to Use Sum Values in Notion Database Calculations?

Learn how to indirectly use Sum aggregate values in Notion Database Formula calculations through Relation, Rollup, and the map function to calculate proportions.

avatar for 二一
二一
How to Use Sum Values in Notion Database Calculations?

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.

Reader's Question

Is there a way to calculate the formula field on the right (usage frequency proportion) based on the data on the left?

For example: for the row with 6, the formula field (usage frequency proportion) = 6/15

Reader's question screenshot

My Answer

Notion currently doesn't support directly using Sum values in Formula calculations. You can only achieve this indirectly.

This involves several Notion features, including:

  1. Basic usage of Relation and Rollup
  2. Using the map function
  3. Using the format() function to convert numbers into text that can be concatenated

The general principle and process are as follows:

  1. Create a database called "Count Total"
  2. In the "Frequency Statistics" database, create a template. The template's purpose is to automatically create a Relation to the "Count Total" statistics page whenever a new page is created
  3. In the "Count Total" database, use a Rollup field to calculate the sum of all related pages' numbers
  4. In the "Frequency Statistics" database, use the map function to retrieve the Rollup value from "Count Total", which can then be used in calculations

The specific formula is as follows:

prop("Number").format()+"/"+prop("Count Total").map(current.prop("Summary")).format()

Final result:

Notion using sum data for calculations

Method 2: Skip the Rollup field and use the map function directly

prop("Number").format()+"/"+prop("Count Total").map(current.prop("Frequency Statistics").map(current.prop("Number")).sum()).format()

📘 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/11/25
Share this post
All Posts

More Posts

How to Record and Manage Daily Work Reports with Notion
#Notion 问答

How to Record and Manage Daily Work Reports with Notion

Three methods for recording daily work reports in Notion and summarizing by project: say goodbye to manual organizing.

2025/01/24
How to Use Mind Maps in Notion
#Notion 问答

How to Use Mind Maps in Notion

Three ways to create mind maps in Notion: Draw.io, Whimsical, and Coggle.

2024/10/08
How to Create a Random Quotes Display with Notion Database
#Notion 问答

How to Create a Random Quotes Display with Notion Database

Use a Notion database combined with Formula functions to display random quotes, showing a different quote each time you refresh the page.

2024/09/15

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