Adopt group by/period format