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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors