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
Anonymous
Not applicable

Si mi fecha de notificación es menor que las fechas seleccionadas en la tabla de fechas, dame el recuento de filas

Hola

Estoy probando esta medida desde hace mucho tiempo y no soy capaz de averiguar cómo hacerlo,

CALCULATE(COUNTROWS(FILTER(NOTIF_PRI_TD,NOTIF_PRI__TD[PCD_Flag]""Pendiente" && NOTIF_PRI__TD[Fecha de notificación]<-SELECTEDVALUE('Fecha de selección'[Fecha].[ Fecha])))
Estoy tratando de obtener el recuento de notificaciones si mi fecha de notificación es menor que la fecha seleccionada en el campo de tabla de fechas.
He conectado mi fecha de notificación a la tabla de fechas.
Por favor, ayuda, ¿hay alguna otra función para usar en lugar de selectedvalue?
Gracias
Nimisha
1 REPLY 1
amitchandak
Super User
Super User

@kumarin ,

Trate como

measure =
var _min = minx('Date for selection', 'Date for selection'[Date])
return
CALCULATE(COUNTROWS(FILTER(NOTIF_PRI_TD,NOTIF_PRI__TD[PCD_Flag]="Pending" && NOTIF_PRI__TD[Notification Date]<=_min)))

Tampoco utilice . Fecha a menos que la fecha tenga marca de tiempo

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.