All articles

Calculating Subitems in Table View

Table 19. Availability - Legacy plans


Availability: Legacy Business, Legacy Enterprise.; Unavailability: Legacy Free, Legacy Professional.;

Table 20. Availability


Availability: Business, Enterprise, Pinnacle. ; Unavailability: Free, Team;

Overview

Automatic calculations is available for Business and higher accounts. Regular users can turn-on or turn-off the automatic calculations for tasks and projects unless their access role restricts it.

Automatic calculations (called roll-ups or aggregations) take specific data from subitems and show the result on the parent item, like a task or project. For example, they can show the total (which means the sum of all numbers) or the average (which means the sum divided by how many items there are). Remember, “total” and “average” are different—“total” is just the sum, while “average” shows the typical value.

There are two ways to automatically calculate the values of subitems:

  1. Roll-up method (or All Values option): This method aggregates data from all subitems, allowing you to display totals, averages, or other calculations on the parent item. It is useful when you need an overview of all underlying subitems without any filtering.

  2. Aggregate method (or Values from items that match filters option): This method calculates values solely from subitems that match criteria defined by filters. It's especially useful when you want to focus on a specific subset, such as tasks with a particular status or items within a certain category.

These options help you customize how parent items reflect data from their subitems, ensuring that calculations are both accurate and relevant to your needs.

When you turn on Automatic calculations (Roll-up or Aggregation) for the fields:

  • Wrike aggregates all values from the child projects, folders, tasks and  subtasks. It automatically calculates their sum or average and enters the result in the project or folder's custom field.

    Note

    This only applies when using the Roll-up method. Aggregated values are not saved anywhere in the database—they are calculated and shown only when you view them.

  • Wrike calculates the rolled-up / aggregate value for the project / task as a sum or average according to the default aggregation set in the custom field’s properties.

  • If you or other users manually entered a value for this field in the project / task previously, it will be cleared and replaced with the rolled-up / aggregate value.

  • The project or task’s field isn’t editable until you turn off calculations.

Note

Automatic calculations can be performed only on custom fields of the following types: Number, Percent, Currency, Formula, and Duration.

Automatic calculations can be performed for several system fields. For SUM aggregation, values such as Duration, Effort, Booked Effort, Time Spent, Allocation Effort, and Allocated Hours can be calculated. Financial fields including Budget, Planned Fees, Actual Fees, Planned Cost, and Actual Cost can also be summed. For AVG aggregation, Progress can be averaged automatically. For date fields, the earliest value (MIN Date aggregation) can be determined for the Start Date, while the latest value (MAX Date aggregation) applies to the Due Date and Last Modified Date.

Important

Automatic calculations are disabled when any changes in the field cell (manual or automated) are made on the parent level item.

Enabling Automatic Calculations

Roll-up method (or All Values option)

You can use the All Values option within the Calculate Subitems feature to automatically sum the values of all subitems and display the total on the parent item, such as a task or project.

From Table view, you can turn this feature on for multiple projects or tasks at the same time:

  1. Navigate to the selected folder, project, or space that contains all the projects and tasks and switch to Table view 1.

  2. Click on the three-dot menu button 2 on the column title with the name of the field you’d like to roll-up.

  3. In the menu that appears, hover over Calculate subitems 3.

  4. Select the type 4, Turn on calculations for:

    1. Tasks and projects

    2. Tasks only

    3. Projects only

  5. To display roll-up data for a selected column or custom field, choose the All Values 5 option from the Show in this table section.

  6. After you choose to enable calculations for the selected type, a confirmation dialog will appear. If you check the Replace current values box and click the Turn on 6 button, the system will erase any values previously entered for that task or project and begin using rollup values from subitems instead. From then on, the system will automatically update the sum of all subitems whenever their values change.

  7. Additionally, a notification will appear to confirm that automatic calculation has been successfully enabled for the selected column 7.

Roll-up_method__or_All_Values_option__1.png
Roll-up_method__or_All_Values_option__2__.png
Roll-up_method__or_All_Values_option__3.png

To turn-off the calculations, repeat the step 2-3 and select Turn off calculations 8.

Alternative way to turn on the calculations is by:

  1. Choosing the project / task where you would like to turn on calculations.

  2. Hovering over the project or task column field data and clicking the icon to turn on the calculations.

    AutomaticCalculations_Table.gif

To turn off, click on the X icon in the task / project column field data.

Aggregate method (or Values from items that match filters option)

To calculate values exclusively from subitems that meet specific filter criteria, use this approach.

Steps to Calculate Values from Filtered subitems:

  1. Open the Column Menu:

    • Click the three-dot 1 menu button located in the title of the column where you want to enable automatic calculations for filtered data.

      Aggregate_method__or_Values_from_items_that_match_filters_option__1.png
  2. Enable Sub-Item Calculations:

    • From the dropdown menu, select Calculate subitems 2.

  3. Choose the Item Type:

    • Select which items to include in the automatic calculation 3:

      • Tasks and Projects

      • Tasks only

      • Projects only

  4. Apply Aggregate Criteria:

    • In the Show in this table section, choose Values from items that match filters 4.

      Aggregate_method__or_Values_from_items_that_match_filters_option__2.png
  5. Alternative Method (Optional):

    • You can also activate automatic calculation by clicking the calculation icon 5 directly on the parent item.

      Aggregate_method__or_Values_from_items_that_match_filters_option__3.png
      Aggregate_method__or_Values_from_items_that_match_filters_option__4.png
  6. Apply confirmation:

    • In the confirmation dialog, click the Turn on 6 button to enable the automatic calculations.

    • Additionally, a notification will appear to confirm that automatic calculation has been successfully enabled for the selected column 7.

  7. Set Up Sub-Item Filters:

    • Specify the criteria to filter subitems (e.g., status is "New").

    • Only subitems that match these filters will be included in the calculation.

      Aggregate_method__or_Values_from_items_that_match_filters_option__5.png
  8. View Results:

    • The parent item will now display the calculated value (such as the sum) based only on the filtered subitems 8.

    Aggregate_method.gif

You can disable automatic calculation using the same steps as you would for the Roll-up method.

Note

  • Aggregation is calculated on a per-view basis. This ensures that calculations consider the specific filtered dataset defined by each view, and all view filters are applied.

  • When you enable aggregation in one view, rollup is activated as well, allowing you to see the aggregated results in other views, including work item views.

  • Aggregations and roll-ups may produce identical results within a view if no filters are set.

  • You can enable rollups for more than 10,000 items, but it will require additional steps, such as first enabling rollups in multiple lower-level folders and then proceeding upward.

How Aggregated Values Are Updated in Table View

How_Aggregated_Values_Are_Updated_in_Table_View.gif
  • If your table contains fewer than 1,000 items, aggregated values (like totals or averages) will update automatically and instantly whenever you change subitem values.

  • If your table has more than 1,000 items, updates to aggregated values may take a bit longer. In this case, the calculations are handled in the background, so you’ll see a small refresh icon while the values are being updated. Aggregated values won’t refresh instantly, and you may need to wait briefly for the new results to appear.

Note

Automatic calculations are available for Project dates, Time spent, Effort and Booked effort columns.

FAQ

How can I roll up the project dates in the New Table View?

You can enable the date roll-up via the 3-dot menu 1 of the field: click Calculate subitems 2 and select to calculate it for projects and/or tasks from the list 3.

FAQ_DateRollup.png

Note

To see Projects in your table view, tick to enable the Parent row option in the 3-dots action menu.

FAQ_ViewProjects.png
Top