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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors