Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Syndicate_Admin
Administrator
Administrator

Despivote complicado

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 1Fecha 2Fecha 3
XX234XX235XX236XX27921/11/202222/11/202223/11/2022
XY236XZ235YX236XT27922/11/202226/11/202231/11/2022
XB234XB235XX238XV27921/11/202224/11/202225/11/2022
RX244RX235YX236PX27922/11/202223/11/202223/11/2022

Y necesita estar listo así

Fecha 1Fecha 2Fecha 3
XX23421/11/202222/11/202223/11/2022
XY23622/11/202226/11/202231/11/2022
XB23421/11/202224/11/202225/11/2022
RX24422/11/202223/11/202223/11/2022
XX23521/11/202222/11/202223/11/2022
XZ23522/11/202226/11/202231/11/2022
XB23521/11/202224/11/202225/11/2022
RX23522/11/202223/11/202223/11/2022
XX23621/11/202222/11/202223/11/2022
YX23622/11/202226/11/202231/11/2022
XX23821/11/202224/11/202225/11/2022
YX23622/11/202223/11/202223/11/2022
XX27921/11/202222/11/202223/11/2022
XT27922/11/202226/11/202231/11/2022
XV27921/11/202224/11/202225/11/2022
PX27922/11/202223/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.

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

Gracias por la ayuda

Syndicate_Admin
Administrator
Administrator

@PhillipB intente "despivotar solo la columna seleccionada" como se indica a continuación

ddpl_0-1670412194894.png

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors