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

Next 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

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Kudoed Authors