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
JP_Helsinki
Frequent Visitor

Gráfico para mostrar el período basado en una serie específica

Hola

Estoy tratando de averiguar cómo podría limitar el período mostrado basado en una serie específica.

1. Tengo una serie acumulativa ICM acumulativa, que calcula los valores del flujo de caja ICM. Cuando el flujo de caja de ICM no tiene datos para los períodos futuros, la línea acumulativa se dibuja horizontalmente hasta que se agotan las fechas de mi tabla de fechas.

Pregunta: ¿Cómo podría añadir un cheque, que sólo mostrará el valor / período hasta los últimos datos de flujo de efectivo ICM / Fecha y no la "línea plana" del acumulativo?

JP_Helsinki_1-1592997298149.png

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hola @JP_Helsinki ,

Podrías crear una medida como

IF(SELECTEDVALUE('axis'[date])>=MIN('period'[date])&&SELECTEDVALUE('axis'[date])<=MAX('period'[date]),1,0)

Agregue la medida al filtro visual donde measure-1 y filtrará el objeto visual esperado.

Saludos

Jay

Equipo de apoyo a la comunidad _ Jay Wang

Si este post ayuda,entonces considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

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

View solution in original post

2 REPLIES 2
v-jayw-msft
Community Support
Community Support

Hola @JP_Helsinki ,

Podrías crear una medida como

IF(SELECTEDVALUE('axis'[date])>=MIN('period'[date])&&SELECTEDVALUE('axis'[date])<=MAX('period'[date]),1,0)

Agregue la medida al filtro visual donde measure-1 y filtrará el objeto visual esperado.

Saludos

Jay

Equipo de apoyo a la comunidad _ Jay Wang

Si este post ayuda,entonces considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

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

Hola @JP_Helsinki ,

Mira esto.

https://www.sqlbi.com/articles/hiding-future-dates-for-calculations-in-dax/

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


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.