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
theliliw
New Member

Datos de serie temporal y género

Hola a todos,

Estoy tratando de graficar algunos datos demográficos de 2016-2019. Mi objetivo es tener un gráfico de columnas apiladas con cinco (5) columnas, y dentro de esas columnas hay una separación (las pilas serán género, las columnas se reetil). Cada vez que intento hacer esto, sólo soy capaz de graficar una (1) columna, en lugar de 5. Lo más cerca que he conseguido son 4 columnas, una por año, con todo apilado uno encima del otro. La opción para agrupar mis valores está atenuada o no funciona de la manera que lo necesito. Empiezo a preocuparme de que esto sea algo que Power BI no puede hacer, pero dudo mucho que este sea el caso. Esta es mi primera vez realmente usando la plataforma, así que estoy seguro de que hay sólo una opción que aún no he explorado.

Gracias de antemano por su ayuda! Haré todo lo posible para aclarar cualquier cosa si es necesario.

1 ACCEPTED SOLUTION

@theliliw oh esto es fácil:

se apilan el gráfico de barras, poner la columna de carrera en el eje X, el género en la leyenda y los números en el valor y le daría lo que está buscando.

Me gustaría elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!

Visítenos enhttps://perytus.com, su ventanilla única para proyectos/formación/consulta relacionados con Power BI.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

10 REPLIES 10
parry2k
Super User
Super User

@theliliw compartir datos de muestra y lo que está tratando de lograr, tengo la sensación de que tiene algo que ver con el modelado/trasformación de datos.

Me gustaría elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!

Visítenos enhttps://perytus.com, su ventanilla única para proyectos/formación/consulta relacionados con Power BI.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

seguro, gracias por la ayuda! Espero que esto esté bien, dibujé el gráfico que estoy buscando y acortado el enlace, y se puede encontrar aquí.

(no fue capaz de insertarlo directamente - "html no válido")

los datos de muestra son los siguientes:

hembra negra: 46

negro masculino: 78

asiática femenina: 8

hombre asiático: 10

mujer blanca: 288

hombre blanco: 702

mujer hispana: 5

hombre hispano: 24

otra hembra: 0
otro macho: 6

muchas gracias! Realmente te agradezco que trates de ayudar. También creo que tiene algo que ver con la transformación de datos, pero no puedo averiguar cómo transformarlo correctamente.

@theliliw oh esto es fácil:

se apilan el gráfico de barras, poner la columna de carrera en el eje X, el género en la leyenda y los números en el valor y le daría lo que está buscando.

Me gustaría elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!

Visítenos enhttps://perytus.com, su ventanilla única para proyectos/formación/consulta relacionados con Power BI.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

¿debería hacer una mesa dividiendo todo así? la forma en que di los datos de la muestra es la forma en que están en mi tabla. una columna es AAF, la segunda es AAM, etc., etc.

@theliliw Pensé que compartía datos de muestra a medida que tenía los datos sin procesar. es que no es el caso, lo siento un poco confundido.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

así es como se ve la muestra como una tabla:Capture1.PNG

así que no estoy seguro de que sería capaz de separar todo en leyenda / eje / valor. Tengo datos como este para 2016, 2017, 2018, y 2019, así que estos son sólo los datos de 2017. ¿Eso aclara alguna confusión? ¡Lo siento!

@theliliw hacer un favor, poner datos de muestra en el archivo de Excel (como datos sin procesar) y resaltar las columnas que son importantes para este post y compartirlo a través de una unidad de unidad / Google de lo contrario seguiremos en círculos.

Me gustaría elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!

Visítenos enhttps://perytus.com, su ventanilla única para proyectos/formación/consulta relacionados con Power BI.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

envió una pm

@theliliw lo siento por el retraso, la solución está adjunta, puede ajustarla según su requisito.

Me gustaría elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!

Visítenos enhttps://perytus.com, su ventanilla única para proyectos/formación/consulta relacionados con Power BI.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

😮 Muchas 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.