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.
Hola
Cualquier ayuda que pueda dar en esto sería muy apreciado.
Estoy buscando crear una nueva columna en una tabla que mostrará el valor de Nombre más reciente usando la dirección URL. Aquí está mi conjunto de datos actual:
Id | Timestamp | Nombre | Url |
1 | 29/06/2020 | Página 1 | http://www.web.com/page1 |
2 | 30/06/2020 | Página 1.1 | http://www.web.com/page1 |
3 | 30/06/2020 | Página 2 | http://www.web.com/page2 |
4 | 1/07/2020 | Página 2.1 | http://www.web.com/page2 |
5 | 2/07/2020 | Página 2.2 | http://www.web.com/page2 |
Me gustaría emitir lo siguiente:
Id | Timestamp | Nombre | Url | LatestName |
1 | 29/06/2020 | Página 1 | http://www.web.com/page1 | Página 1.1 |
2 | 30/06/2020 | Página 1.1 | http://www.web.com/page1 | Página 1.1 |
3 | 30/06/2020 | Página 2 | http://www.web.com/page2 | Página 2.2 |
4 | 1/07/2020 | Página 2.1 | http://www.web.com/page2 | Página 2.2 |
5 | 2/07/2020 | Página 2.2 | http://www.web.com/page2 | Página 2.2 |
La columna LatestName debe buscar las direcciones URL que coincidan y buscar el elemento más reciente y usar ese valor Name. ¿Alguna idea?
Por favor, intente
Column =
MAXX(FILTER('table','table'[URL]=EARLIER('table'[URL])&&'table'[ID]=CALCULATE(MAX('table'[ID]),ALLEXCEPT('table','table'[URL]))),'table'[LatestName])
Proud to be a Super User!
@joepcf , Probar como nuevas columnas
Nombre de la última versión ( LatestName)
if(not(containsstring([name],".")) ,[Name]&".1",[Name])
Hola @amitchandak - gracias por su respuesta.
Los nombres de página bien pueden ser valores aleatorios - "MI página de contenido", "Artículo de noticias ABC", etc. etc. - por lo que necesito utilizar la URL como la clave.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |