Set dimension & group to chart