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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
nsaray
Helper II
Helper II

Devolver "Sí" si el último día del mes

Hola

Muy fácil, pero soy nuevo, así que necesito ayuda

Sólo necesito devolver un valor Sí si una columna de fecha específica (Fecha de informe) es el último día del mes

¡Gracias!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

No @nsaray,

Puede crear una columna o medida calculada como se indica a continuación para obtenerla:

1. Crear columna calculada

last day of the month? = IF ( 'Table'[Report Date] = EOMONTH ( 'Table'[Report Date], 0 ), "Yes" )

2. Cree una medida como se muestra a continuación

Measure for last day of the month? = IF ( MAX ( 'Table'[Report Date] ) = EOMONTH ( MAX ( 'Table'[Report Date] ), 0 ), "Yes" )

Last day of the month.JPG

Saludos

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

No @nsaray,

Puede crear una columna o medida calculada como se indica a continuación para obtenerla:

1. Crear columna calculada

last day of the month? = IF ( 'Table'[Report Date] = EOMONTH ( 'Table'[Report Date], 0 ), "Yes" )

2. Cree una medida como se muestra a continuación

Measure for last day of the month? = IF ( MAX ( 'Table'[Report Date] ) = EOMONTH ( MAX ( 'Table'[Report Date] ), 0 ), "Yes" )

Last day of the month.JPG

Saludos

Fowmy
Super User
Super User

@nsaray

Sí, lo hará.

________________________

Si mi respuesta fue útil, haga clic en Aceptarla como la solución para ayudar a otros miembros a encontrarla útil

Haga clic en el icono Thumbs-Up si le gusta esta respuesta 🙂


Sitio web Youtube Linkedin

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Fowmy
Super User
Super User

@nsaray

Hice una medida, puede repacer la variable __Date con su valor

Measure Last Date = 

var __date = DATE(2020,12,30) return
IF(
    EOMONTH(__date,0) = __date ,
    TRUE(),
    FALSE()
)

________________________

Si mi respuesta fue útil, haga clic en Aceptarla como la solución para ayudar a otros miembros a encontrarla útil

Haga clic en el icono Thumbs-Up si le gusta esta respuesta 🙂


Sitio web Youtube Linkedin

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Gracias, ¿qué pasa si el nombre de la columna se llama "Fecha de informe"

¿Funcionará esto para febrero y meses con 31 días?

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Kudoed Authors