i need to drop certain columns dynamically and i've been trying to use dynamic select as an option to do this.

I want to drop all columns that end in "P06". However, sometimes it will be P05 or P04 or anything based on the number of years of data I have. Data is attached. Any suggestions appreciated.
Thanks!