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
Sub-Tasks Example
Name
Date
Done
Progress (1)
Copy the codeif(!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