Keep period value when switching between dataset groups