Partition by problem

thank you so much, it worked