Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Almantas32
Helper II
Helper II

Promedio móvil mensual

Hola, chicos

Quería calcular el promedio móvil mensual de las tareas completadas, usando la misma fórmula que usé para el promedio semanal. Pero algo está apagado y no funciona para las polillas de la misma manera.

Estoy adjuntando un enlace a archivo como ejemplo:

https://drive.google.com/file/d/1TNMMGjRvBQi9M65z1UkKt2vmCk_dikgI/view?usp=sharing

¿Debo modificar la fórmula o ir con una diferente para las polillas completamente?

1 ACCEPTED SOLUTION

@Almantas32 ,

Inténtalo como

Tasks Monthly Average = CALCULATE(AVERAGEX(VALUES('Calendar Tasks'[Month Name]), [Total Tasks Done]),FILTER(ALLSELECTED('Calendar Tasks'), 'Calendar Tasks'[Month Name] <= MAX('Calendar Tasks'[Month Name])))

Algunos cambios serán necesarios en caso de que obtenga datos adicionales

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Almantas32, revisé el archivo. ¿qué es la salida esperada?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Oye

el problema es que el promedio móvil (línea amarilla) en el gráfico superior debe mostrar un promedio rodante todos los meses + corriente. En su lugar, muestra la suma de tareas de ese mes.

Utilizo la misma fórmula para semanas en la siguiente tabla y funciona.

Almantas32_0-1600344131271.png

@Almantas32 ,

Inténtalo como

Tasks Monthly Average = CALCULATE(AVERAGEX(VALUES('Calendar Tasks'[Month Name]), [Total Tasks Done]),FILTER(ALLSELECTED('Calendar Tasks'), 'Calendar Tasks'[Month Name] <= MAX('Calendar Tasks'[Month Name])))

Algunos cambios serán necesarios en caso de que obtenga datos adicionales

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Kudoed Authors