# Gains table

The *Tree Grid* view can be used to create a Gains Table.

To create a Cumulative Gains Table, activate the Cumulative button at the top of the grid.

- This will automatically activate the Leaves Only option and will cumulate the totals with the nodes sorted by descending gain.

## Non-cumulative gains table

To create a Non-Cumulative Gains Table, activate the Leaves Only button with the Cumulative button deactivated.

- This will display just the leaves, but will allow you to sort them by any of the columns.

For more details on the Tree Grid, see the section *[What can I learn from the Tree Grid?](<https://help.apteco.com/en/faststats/modelling/decision-tree/using-the-output/tree-grid/index.md>)*
