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
Vtomsons
Helper I
Helper I

Ordenar el orden de la columna de texto

Tengo una columna del año fiscal como la que se muestra a continuación. Power BI toma de forma predeterminada estos datos en Texto, independientemente de si uso "/" o "-" para separar los años, por lo que no se puede acceder a la columna de ordenación por característica.

2020-21

2019-20

2018-19

2017-18

Así que cuando hago un gráfico de líneas, por defecto ordena por qué año tiene la mayoría de los datos al menos, pero quiero ordenar cronológicamente.

¿Alguna sugerencia?

Gracias

Val

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@Vtomsons establecer el criterio de ordenación en el objeto visual haciendo clic en (...) 3 puntos en la esquina superior derecha del objeto visual.

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



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

3 REPLIES 3
vanessafvg
Super User
Super User

mi sugerencia es usar un campo de fecha adecuado para que pueda ordenarlo, el texto es lo que dice en la lata, se ordena alfabéticamente, si no se puede utilizar una fecha, dividir el 2020 y 20 y hacer que 2 columnas separadas, se puede crear una jerarquía, pero luego se hace un número y ordenar numéricamente





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Pragati11
Super User
Super User

Hola @Vtomsons ,

¿Cuál es el tipo de datos de la columna YEAR? ¿Es TEXTO, si sí entonces intente darle un formato de fecha y luego el gráfico de forma predeterminada toma el orden cronológico.

Mueva esta columna de fecha a su gráfico, esto se moverá como un hierecahy - Año, Trimestre, Mes, Día.

A continuación, cruce Trimestre y día de la jerarquía, termina con Año y mes.

En el gráfico a la hiearchy más baja y gráfico en el nivel Año-Mes.

Si esto ayuda y resuelve el problema, apreciar un Kudos y marcarlo como una solución! 🙂

Gracias

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

parry2k
Super User
Super User

@Vtomsons establecer el criterio de ordenación en el objeto visual haciendo clic en (...) 3 puntos en la esquina superior derecha del objeto visual.

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



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.

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.