I find your example insufficient (for me at least) to give any sort of answer.
Can there be multiple entries for "XY1" and / or multiple entries for "ZX1"? If so, what is supposed to happen?
Are you always going to have exactly three indicators (XY1 / ZX1 / YZ1) and are they guaranteed to always be present and have those exact names?
First of all, you have to consider the number of distinct occurrences in CT_YS column.
If this number is variable or unlimited, you want an output with variable or unlimited columns, which is not possible in a vertical pivot stage.
You can only use vertical pivot stage if the number of occurrence is defined. In that case, you will set in the Array size in Pivot Definitions with this number.