Autodesk Revit: Calculate Totals in a Schedule

Demonstrates how to sort and group like elements in a schedule, and calculate a total for all elements in a schedule.

source