How do the opportunity values roll into the Account Plan KPIs?

This article explains how the opportunity Amount is rolled up to the KPI section on the Account Plan. Optionally, you can roll up custom fields from the opportunity to the Account Plan.