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
Estoy tratando de crear una columna en una tabla de fechas para la fecha de ayer. Tengo una columna en mi tabla de citas que dice la fecha de hoy. La fórmula para esa columna es Hoy - HOY(). Estoy tratando de calcular una columna para ayer usando esta fórmula: DATEADD(Dates[Today], -1, DAY). No hay ningún error en esta columna. Sin embargo, la columna está en blanco.
También he probado PREVIOUSDAY(Dates[Today]) y se produce el mismo problema.
Gracias de antemano por su ayuda.
Solved! Go to Solution.
@lbamburoski añadir esto
Yesterday = TODAY()-1
Me gustaría❤ elogiossi mi solución me ayudó.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para darle a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hoy debe utilizarse como se sugiere @parry2k .
Si usted está buscando el día anterior, puede tratar de
Last Day Non Continous ? CALCULATE(sum('order'[Qty]),filter(all(Table),Table[Date] ?MAXX(FILTER(all(Table),Table[Date]<max(Table[Date])),Table[Date])))
Día detrás de las Ventas: CALCULATE(SUM(Sales[Sales Amount]),dateadd(Table[Date],-1,Day))
Para obtener lo mejor de la función de inteligencia de tiempo. Asegúrese de que tiene un calendario de fechas y se ha marcado como la fecha en la vista de modelo. Además, únase a él con la columna de fecha de su hecho/s. Consulte:
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/
Hoy debe utilizarse como se sugiere @parry2k .
Si usted está buscando el día anterior, puede tratar de
Last Day Non Continous ? CALCULATE(sum('order'[Qty]),filter(all(Table),Table[Date] ?MAXX(FILTER(all(Table),Table[Date]<max(Table[Date])),Table[Date])))
Día detrás de las Ventas: CALCULATE(SUM(Sales[Sales Amount]),dateadd(Table[Date],-1,Day))
Para obtener lo mejor de la función de inteligencia de tiempo. Asegúrese de que tiene un calendario de fechas y se ha marcado como la fecha en la vista de modelo. Además, únase a él con la columna de fecha de su hecho/s. Consulte:
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/
@lbamburoski añadir esto
Yesterday = TODAY()-1
Me gustaría❤ elogiossi mi solución me ayudó.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para darle a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
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 |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |