Thanks a lot. it said in the docs
“Group columns
Select one or more columns according to which the group rows are created.” So I thought i had put in ColumnValues here which will then be assigned to each pivoted column , that’s where i made that mistake. thnks again