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, por favor ayúdame con la columna calculada.
Tengo una columna con el orders_id y las fechas ordenadas por ascendente. Necesito crear otra columna con las fechas pero con la próxima fecha. A continuación, utilizando la función DATEDIFF, quiero calcular la diferencia entre estas fechas.
Ejemplo:
order_id | Created_at | next_date |
27512 | 08.10.2014 17:55:14 | 14.10.2014 0:46:32 |
27984 | 14.10.2014 0:46:32 | 14.10.2014 14:14:07 |
28036 | 14.10.2014 14:14:07 | y así sucesivamente |
... | ... | ... |
Captura:
@SErgey-kuznetso , Crear una nueva columna
Fecha siguiente: minx(filter(table,[created_at]>earlier([created_at])),[created_at])
Pruebe esta columna calculada
next_date = MINX(FILTER(ALL('MyTable'[created_at]),'MyTable'[created_at]>EARLIEST('MyTable'[created_at])),'MyTable'[created_at])
¿Respondí a tu pregunta? ¡Marca mi puesto como solución!
Apreciar con un kudos🙂
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 |
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |