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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
charbaugh
Helper I
Helper I

No estoy seguro de cómo incluso título esto - transformar 3 columnas en 2

Puede que esto no sea posible, pero quería preguntar a los expertos aquí. Tengo una mesa que se parece a esto.

tbl1.PNG

Necesito transformar esto para que mis encabezados de columna sean [Nombre del mes], [Marca] y [Ventas]. La salida tendría 3 filas para cada mes y tendría un aspecto similar al siguiente:

tbl2.PNG

Agradezco cualquier ayuda.

3 REPLIES 3
Greg_Deckler
Super User
Super User

Por supuesto, simplemente haga clic con el botón derecho en Nombre del mes en el Editor de Power Query y elija Unpivot otras columnas.

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Mariusz
Community Champion
Community Champion

Hola @charbaugh

Puede usar la tarea Unpivot del Editor de consultas de Power Query

https://www.youtube.com/watch?v=-IMqkg35adA

Saludos
Mariusz

Si este post ayuda,entonces por favor considere aceptarlo como la solución.

Por favor, siéntase libre de conectarse conmigo.
Linkedin

Eso fue demasiado fácil. ¡Gracias!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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