Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Tengo un conjunto de datos que necesita tomar varias columnas, traerlos todos a una columna, pero también copiar los datos de las otras columnas que coinciden y copiarlos.
Los datos inicialmente se leen así:
Fecha 1 | Fecha 2 | Fecha 3 | ||||
XX234 | XX235 | XX236 | XX279 | 21/11/2022 | 22/11/2022 | 23/11/2022 |
XY236 | XZ235 | YX236 | XT279 | 22/11/2022 | 26/11/2022 | 31/11/2022 |
XB234 | XB235 | XX238 | XV279 | 21/11/2022 | 24/11/2022 | 25/11/2022 |
RX244 | RX235 | YX236 | PX279 | 22/11/2022 | 23/11/2022 | 23/11/2022 |
Y necesita estar listo así
Fecha 1 | Fecha 2 | Fecha 3 | |
XX234 | 21/11/2022 | 22/11/2022 | 23/11/2022 |
XY236 | 22/11/2022 | 26/11/2022 | 31/11/2022 |
XB234 | 21/11/2022 | 24/11/2022 | 25/11/2022 |
RX244 | 22/11/2022 | 23/11/2022 | 23/11/2022 |
XX235 | 21/11/2022 | 22/11/2022 | 23/11/2022 |
XZ235 | 22/11/2022 | 26/11/2022 | 31/11/2022 |
XB235 | 21/11/2022 | 24/11/2022 | 25/11/2022 |
RX235 | 22/11/2022 | 23/11/2022 | 23/11/2022 |
XX236 | 21/11/2022 | 22/11/2022 | 23/11/2022 |
YX236 | 22/11/2022 | 26/11/2022 | 31/11/2022 |
XX238 | 21/11/2022 | 24/11/2022 | 25/11/2022 |
YX236 | 22/11/2022 | 23/11/2022 | 23/11/2022 |
XX279 | 21/11/2022 | 22/11/2022 | 23/11/2022 |
XT279 | 22/11/2022 | 26/11/2022 | 31/11/2022 |
XV279 | 21/11/2022 | 24/11/2022 | 25/11/2022 |
PX279 | 22/11/2022 | 23/11/2022 | 23/11/2022 |
La columna 2-4 se mueve hacia abajo secuencialmente con la información de fechas y luego también se copia en las columnas para mantener la relación.
Gracias por la ayuda