Average days to pay and weighted average days to pay include invoices based on date set on site options, 'Exclude Invoices Before'.
NOTE: if no date is set, the default will be set to only include invoices within the last 2 years.
To review or set this option: Admin > Settings and Utilities > Site Options -> Options
Dashboard Options: