Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Syndicate_Admin
Administrator
Administrator

Contar fechas de vencimiento para una tarjeta visual

Hola

Tengo una columna llamada SLA que enumera las fechas de vencimiento de los artículos:

Me gustaría agregar algunas imágenes de tarjetas para lo siguiente:

Artículos vencidos = cualquier cosa pasada la fecha de hoy

Artículos que vencen pronto = Fecha entre hoy y 30 días

Artículos con vencimiento más largo = fecha de vencimiento 31 días o más

¿Hay una manera fácil de lograr esto?

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

Escribí estos en un teléfono, por lo que no están probados, aunque las medidas deben seguir las categorías de vencido, pronto y debido más tiempo.

Items Past Due Measure =
CALCULATE ( COUNTROWS ( 'YourTable' ), 'YourTable'[Due Date] < TODAY () )


Items Due Soon Measure =
CALCULATE (
    COUNTROWS ( 'YourTable' ),
    'YourTable'[Due Date] >= TODAY ()
        && 'YourTable'[Due Date]
            <= TODAY () + 30
)



Items Due Longer Measure =
CALCULATE ( COUNTROWS ( 'YourTable' ), 'YourTable'[Due Date] > TODAY () + 30 )

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.