Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe'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
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!
Solved! Go to Solution.
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" )
Saludos
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" )
Saludos
@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 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
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 🙂
⭕ 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?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.