![SharePoint tutorials in the kalmstrom.com Tips section. SharePoint icon](https://www.kalmstrom.com/images/Microsoft/SharePoint120x120.png)
The built-in Totals view
The SharePoint ‘Totals’ feature can be used to summarize the values in a column. It can also calculate other values for number columns, like average, maximum and minimum. The result of the calculation is shown on top of the column that is calculated.
The Totals value is however only displayed in the standard mode of the classic interface, not in the Quick Edit mode or in the modern interface. I hope Microsoft will soon add Totals to the modern interface too, because it is a really useful feature.
No totals for calculated columns
If you want to use totals, you cannot use a calculated column, because it is not possible to use the Totals view on a column with calculated values. This means that you cannot get the total for the 'Total Cost' column in the image below, as that is a calculated column that gets its values from calculations of the values in the two other columns.
![A Flow for calculation makes it possible to show Totals for the calculated column. SharePoint calculated column without Totals](https://www.kalmstrom.com/Tips/SharePoint-Flows/images/No-Totals-Calculation.png)
Instead, you can use a currency or number column and let a flow or workflow do the calculation. Then it is possible to use the Totals view, and you will have totals both vertically and horizontally.
![kalmstrom.com tutorial on how to create a Microsoft Flow that calculates sums in a SharePoint list. Microsoft flow to calculate values in SharePoint lists](https://www.kalmstrom.com/Tips/SharePoint-Flows/images/Totals-Calculation.png)
Microsoft Flow
![Create a Microsoft Flow Microsoft Flow icon](https://kalmstrom.com/images/Microsoft/flow-icon.png)
SharePoint workflow
![Use SharePoint Designer to create workflows. SharePoint Designer icon](https://www.kalmstrom.com/images/Microsoft/SharePointDesigner64x64.png)
I have created the articles and the demos above for my books on SharePoint automation. SharePoint Flows from Scratch has already been published on Amazon, and I hope to release SharePoint Workflows from Scratch this month.
By Peter Kalmström
CEO and Systems Designer
kalmstrom.com Business Solutions
No comments:
Post a Comment