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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Cbutler
Helper III
Helper III

Cómo devolver el último valor de texto dependiendo de un intervalo de fechas

Hola a todos

No puedo averiguar cómo devolver el valor de texto más reciente en mi tabla dependiendo de un intervalo de fechas. Así que mi tabla está mostrando las preocupaciones del EPI de los proveedores, que no anser esta pregunta cada vez sólo se completan si la respuesta cambia - Quiero mostrar la última entrada de texto

Eg

Nombre del proveedorFechaRespuesta (Sí/No)
A01/05/2020
A02/05/2020
A03/05/2020
A04/05/2020No
A05/05/2020
B01/05/2020

B

02/05/2020No
B03/05/2020
B04/05/2020
B05/05/2020
C01/05/2020No
C02/05/2020
C03/05/2020
C04/05/2020No
C05/05/2020

así que.....
si el intervalo de fechas seleccionado es 01/05/2020 a 05/05/2020, entonces Provder A - Sí, B - Sí, C - No.
Si el intervalo de fechas seleccionado es 01/05/2020 a 03/05/2020, entonces el Proveedor A - Sí, B - No, C - Sí.
Si el intervalo de fechas seleccionado es 01/05/2020 a 01/05/2020, entonces el Proveedor A - Sí, B - "En blanco/No completado", C - No

¿Alguien puede ayudarme por favor......?

6 REPLIES 6
Greg_Deckler
Super User
Super User

Creo que quieres Búsqueda Mín./Máx.: https://community.powerbi.com/t5/Quick-Measures-Gallery/Lookup-Min-Max/m-p/985814#M434

O Rango de LookupValue: https://community.powerbi.com/t5/Quick-Measures-Gallery/LOOKUPVALUE-Range/m-p/974201#M430


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

@Cbutler , intente como

LastNONBLANKVALUE(Table[Date],Max(Table[Answer])

O

maxx(summarize(table,table[Provider name],"_1",LastNONBLANKVALUE(Table[Date],Max(Table[Answer]))),[_1])

@amitchandak puede decirme cómo mostrar la "fecha" del último valor no en blanco de la misma tabla?

@Cbutler Ese es el patrón de búsqueda mínima/ máxima que envié, https://community.powerbi.com/t5/Quick-Measures-Gallery/Lookup-Min-Max/m-p/985814#M434


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Todavía no se puede devolver la fecha del último valor no en blanco 😞

LastNONBLANK(Tabla[Fecha],Máx.(Tabla[Respuesta])

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.