Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.