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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors