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
Anonymous
Not applicable

Mostrar año y mes en el eje X del gráfico visual

Quiero mostrar tanto el año como el mes en el eje X de un visual. Puedo obtener el año para aparecer o el mes, pero no el año y el mes. ¿Qué podría estar haciendo mal?

year and month.png

5 REPLIES 5
MariGra1009
New Member

Hola, estoy configurando el gráfico usando este procedimiento, pero quisiera saber como quito o filtro aquellas barras que no tienen datos registrados aún:

 

MariGra1009_0-1673516769472.png

 

me podeís indicar como las puedo filtrar?? ya que solo necesito lo que tienen datos registrados.

 

Gracias

alcaesc80
New Member

Lo primero que debes hacer es seleccionar el Año - mes en la jerarquía de fechas

alcaesc80_1-1642118008835.png

Luego vas al gráfico que construiste y en la parte superior derecha das clic en "Expandir todo un nivel en la jerarquía" y listo!

alcaesc80_2-1642118118935.png

 

Si tu gráfico se ve así..

alcaesc80_3-1642118268407.png

Puedes ir a las opciones de formato y en la categoría "Eje x" desactivar la opción de "Concatener etiquetas"

alcaesc80_4-1642118365483.png

Con esta opción, tu gráfico se verá así:

alcaesc80_5-1642118416841.png

 

 

 

 

 

parry2k
Super User
Super User

@jcueland crear una nueva columna con año y mes

Year Month = FORMAT( Table[Date], "YYYY-MM" )

y el uso anterior en el eje X



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.

Pragati11
Super User
Super User

HI @jcueland ,

Siga el siguiente hilo para las soluciones:

https://community.powerbi.com/t5/Desktop/Month-and-Year-on-the-X-Axis/m-p/869674

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!!

jthomson
Solution Sage
Solution Sage

Profundice en un nivel de la jerarquía en el objeto visual

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.