set correct sequence for period/kpi