Pivot on category/sub added