Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hola a todos,
Tengo problemas para que mi Running Total for Rolling 12 aparezca correctamente en mi mesa.
Estoy tratando de conseguir el total de las Entradas Abiertas. Muestra el total que se ejecuta hasta el final, aunque no es correcto. Yo esperaría que mayo 2019 hasta octubre de 2019 para estar en blanco, luego noviembre 2019 a enero 2020 - 1, Feb 2020 hasta marzo 2020 3, y abr 2020 a 16
Esta es la fórmula que estoy usando para calcular el total de ejecución:
Solved! Go to Solution.
Hola, @nleuck
Basándome en su descripción, asumo que desea calcular el valor acumulado. Creé datos para reproducir tu escenario. El archivo pbix se adjunta al final.
Puede crear una medida como se muestra a continuación.
Result =
var _lastdate = LASTDATE(Sales[Date])
return
CALCULATE(
SUM(Sales[Total Open Tickets]),
FILTER(
ALL(Sales),
Sales[Date]<=_lastdate
)
)
Resultado:
Saludos
Allan
Si este post ayuda,entonces por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Hola, @nleuck
Basándome en su descripción, asumo que desea calcular el valor acumulado. Creé datos para reproducir tu escenario. El archivo pbix se adjunta al final.
Puede crear una medida como se muestra a continuación.
Result =
var _lastdate = LASTDATE(Sales[Date])
return
CALCULATE(
SUM(Sales[Total Open Tickets]),
FILTER(
ALL(Sales),
Sales[Date]<=_lastdate
)
)
Resultado:
Saludos
Allan
Si este post ayuda,entonces por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
@nleuck , ¿tiene fecha de inicio y fecha de finalización y luego remita este
Si hay una sola fecha, podemos usar la fórmula rodante
Rolling 12 - CALCULATE(sum(Sales[Sales[Sales Amount]),DATESINPERIOD('Date'[Date],ENDOFMONTH(Sales[Sales Date]),-12,MONTH))
Rolling 12 - CALCULATE(sum(Sales[Sales[Sales Amount]),DATESINPERIOD(Table[Date Filer],MAX(Sales[Sales Date]),-12,MONTH))
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/
Vea si mi seminario web sobre Time Intelligence puede ayudar: https://community.powerbi.com/t5/Webinars-and-Video-Gallery/PowerBI-Time-Intelligence-Calendar-WTD-Y...
Aprecia tus Felicitaciones.
Tengo un calendario de fechas y tiene una relación con mis datos. Estos son los resultados que obtengo cuando intento usar esas dos fórmulas:
Rolling 12 - CALCULATE(sum(Sales[Sales[Sales Amount]),DATESINPERIOD('Date'[Date],ENDOFMONTH(Sales[Sales Date]),-12,MONTH))
Rolling 12 - CALCULATE(sum(Sales[Sales[Sales Amount]),DATESINPERIOD(Table[Date Filer],MAX(Sales[Sales Date]),-12,MONTH))
@nleuck comprobar estos mensajes
https://www.sqlbi.com/articles/rolling-12-months-average-in-dax/
https://community.powerbi.com/t5/Desktop/Trailing-12-or-Rolling-12-month-sum/td-p/164419
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.
@nleuck no está seguro de por qué compartir el archivo pbix para echar un vistazo, eliminar cualquier información confidencial antes de compartir.
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.