Module for calculating dashboard data.