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
brokencornets
Helper III
Helper III

Superficie apilada que muestra ceros

Hola chicos, estoy enloqueciendo tratando de hacer lo que pensé que debería ser una tarea muy simple.

Tengo un gráfico de área que muestra los trabajos pendientes por prioridad durante un período de tiempo:

1.PNG

Pero como se puede ver en la imagen, las líneas por encima de las áreas no bajan a cero cuando no hay trabajos pendientes de ese tipo para ese mes (esto se calcula mediante una medida).

Añadiendo '+0' el final de la medida casi me lleva allí, sin embargo, muestra ceros hasta el final de 2020 (y desde el comienzo de 2018 si empiezo mis datos desde octubre de 2018), a pesar de que mi tabla de fechas sólo va a TODAY():

2.PNG

¿Cómo consigo que el gráfico se detenga en el mes actual sin codificarlo de forma rígida en cada mes?

22 REPLIES 22
v-eachen-msft
Community Support
Community Support

Hola @brokencornets ,

Puede agregar una fórmula IF() en su medida.

IF (
    SELECTEDVALUE ( 'Date'[Date] ) <= TODAY (),
    [Measure]+0
)

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

No pude averiguar cómo construir esto dentro de la medida en sí, pero creé una nueva medida:

O2= IF (
    SELECTEDVALUE ( 'Date'[Date] ) <= TODAY (),
    [Outstanding]+0
)

pero los resultados no cambian por desgracia.

amitchandak
Super User
Super User

@brokencornets, compruebe el tipo de eje, trate de hacer continuo de

Sin añadir 0.

Hola Amit. El eje ya está configurado en continuo, gracias por la sugerencia sin embargo!

@brokencornets sí debe estar en la tabla de fechas y debería funcionar, puede compartir el archivo pbix con datos de ejemplo y eliminar cualquier información confidencial antes de compartir.



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.

Realmente difícil de hacer debido a la naturaleza de los datos, pero si todo lo demás falla podría tener que darle a esto una oportunidad usando algunos datos ficticios.

@brokencornets ayudarnos a conseguir ayuda. Si es difícil para ti, no estoy seguro de cómo podemos ayudar.



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.

De acuerdo, no estoy seguro de si esta es la manera correcta de hacerlo, pero espero que este enlace funcione:

Problema de área apilada

@brokencornets parece que es un informe publicado en su instancia de power bi, ¿por qué no estar seguro de pbix archivo utilizando una unidad de unidad / Google unidad o simplemente enviarlo por correo electrónico, mi correo electrónico está en la firma. Sólo un recordatorio, eliminar cualquier información sensible antes de compartir.



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.

Te envié un e-mail ahora, gracias 🙂

@brokencornets solución ya se le envía por correo electrónico. usted tiene que marcar su tabla de fechas como una tabla de fechas para que funcione que faltaba.

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.

Eres una estrella, gracias - ¿podrías hablarme exactamente a través de lo que necesito cambiar, ya que cuando intento abrir tu solución recibo un error que dice 'Referencia de objeto no establecida en una instancia de un objeto'?

@brokencornets marcar la dimensión de fecha como una tabla de fechas, seleccione tabla de fechas, en las herramientas de la tabla verá la opción Marcar como tabla de fechas.

No estoy seguro de por qué no puede abrir el archivo pbix, es la versión de junio de 2020.

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.

Ahh bien, lo veo ahora. Eso ha solucionado el problema con el eje X, pero no parece ser capaz de mostrar ningún nivel de granularidad que no sea diario ahora - la fecha de herencia desaparece. Lo ideal es que quiera poder trazar mensualmente, con la capacidad de profundizar a diario si es necesario, y esa funcionalidad se ha ido.

¡Perdón por ser un dolor! ¡Realmente aprecio enormemente tu ayuda!

@brokencornets sí, desaparecerá lo que está bien, y puedes crear tu propia jerarquía personalizada y en mi pbix eso es lo que hice. Hay un montón de mensajes sobre cómo crear su propia jerarquía y aquí está el enlace a uno de estos postes

https://stoneridgesoftware.com/creating-hierarchies-in-power-bi/

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.

Hola. Volver a ser un dolor en el trasero otra vez.

He intentado crear mis propias herederas y también he podido acceder a su solución en mi portátil, pero mientras que este enfoque parece solucionar el problema original, crea otros. Cuando filtro hacia abajo a Mes, los meses parecen estar ordenados alfabéticamente, y tampoco es posible cambiar el acceso de categórico a continuo, lo que hace que el eje se vea menos bonito, especialmente en el tamaño del gráfico que estoy mirando (habrá alrededor de 9 de estos a una página).

¿Alguien más tiene alguna otra idea, o tengo que seguir por la laboriosa vía de actualización de la fecha de finalización de los gráficos cada mes?

@brokencornets ver mi entrada de blog sobre cómo ordenar correctamente los meses


https://perytus.com/2020/05/22/create-a-basic-date-table-in-your-data-model-for-time-intelligence-ca...

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.

Parece muy útil, he marcado el sitio web para el futuro. Sin embargo, no resuelve (por lo que puedo decir) el problema de no estar a punto de mostrar el eje X como continuo, lo que (dado el tamaño de mis visualizaciones) significa que si tengo más de 14 meses de datos el usuario tendrá que desplazarse a la izquierda o a la derecha para ver todos los datos, lo que es un poco de un disyuntor.

@brokencornets una vez que desglose hasta el nivel de fecha, podrá cambiar el tipo del eje X a categoría y funcionará. Seamos muy claros aquí, cambiar la tabla como una tabla de fechas no tendría un impacto en la visualización, todavía se puede lograr lo mismo, es cuestión de hacerlo de la manera correcta.

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.

Gracias, muy apreciado!

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.