Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Buenas tardes
Tengo la siguiente pregunta: Tengo una columna con las fechas de salida de los huéspedes del hotel y necesito crear una nueva columna que siempre me traiga el día 15 del mes siguiente a la fecha de salida.
Ejemplos: 10/08/24 - devolución 15/09/2024
23/10/2024 - Regreso 15/11/2024
¿Alguien sabría cómo hacerlo?
Bastante fácil,
= EOMONTH([check-out date],0)+15
Columna calculada:
NextMonth15th =
DATE(YEAR([CheckOutDate]), MONTH([CheckOutDate]) + 1, 15)
Power Query
= Date.From(Date.AddMonths([CheckOutDate], 1)) + (15 - Date.Day(Date.From(Date.AddMonths([CheckOutDate], 1))))
Hola
Probar:
Fecha siguiente = DATEADD(STARTOFMONTH( NEXTMONTH('Tabla'[Fecha])),14,DAY)
Mejor opción para crear el campo requerido en Power Query (si tiene problemas de rendimiento).
Saludos
Oktay
Si te ayuda, agradece las felicitaciones y márcalas como solución 🙏🏻 !!
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.