Sub-Task Progress

Sub-Task Progress

Tags
Productivity
Progress
Projects
Tasks
Analytics
Formulas
Functions
if
floor
toNumber
empty
map
filter
length
sum
Notion Formulas 2.0 offer a new way to track project progress without using rollups using the new map() function. This can be useful for complex projects with nested tasks, or for projects where you need more control over how progress is calculated.
Notion Formulas 2.0 offer a new way to track project progress without using rollups using the new map() function. This can be useful for complex projects with nested tasks, or for projects where you need more control over how progress is calculated.
 
Example
Example
 
Sub-Tasks Example
Name
Date
Done
Progress (1)
Oct 18, 2023
Done
Oct 25, 2023
Done
Oct 18, 2023
Done
Oct 30, 2023
Done
 
 
Copy the code
if(!prop("Sub-item").empty(), floor(100 * prop("Sub-item").map( current.prop("Done").toNumber() ).sum() / prop("Sub-item").length() ) / 100, prop("Done").toNumber() )
Checkboxes
if(!prop("Sub-item").empty(), floor(100* prop("Sub-item").filter( current.prop("Status") == "Completed" ).length() / prop("Sub-item").length() ) / 100, replace( prop("Status"), "Completed", "1" ).toNumber() )
Status

☕ Buy me a coffee