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

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.

Reply
Syndicate_Admin
Administrator
Administrator

Promedio mensual sin acumulado

Me gustaría calcular el promedio de los datos mensuales obtenidos de algunos datos diarios. No quiero que se muestren los datos acumulados diariamente, sino obtener el promedio mensual de todos los datos.


Cuando aplico el filtro diario, tengo el valor correcto pero cuando aplico el filtro mensual me muestra la acumulación de todos los días.

Gracias de antemano por su ayuda

2 ACCEPTED SOLUTIONS
Syndicate_Admin
Administrator
Administrator

@claud2022 , Prueba como

Ventas medias = CALCULATE(Averagex(Values('Date'[Date]) , calculate(SUM(Sales[Sales Amount]))) ,DATESMTD('Date'[Date]))

View solution in original post

Lo he solucionado cambiando las fechas del mes que me estaba dando problemas.

View solution in original post

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

Gracias @amitchandak .

Recibí el siguiente error cuando usé esta medida. Eso está sucediendo solo durante el mes de septiembre.

claud2022_0-1643389121566.png

¿Sabes por qué tengo este error?

Lo he solucionado cambiando las fechas del mes que me estaba dando problemas.

Syndicate_Admin
Administrator
Administrator

@claud2022 , Prueba como

Ventas medias = CALCULATE(Averagex(Values('Date'[Date]) , calculate(SUM(Sales[Sales Amount]))) ,DATESMTD('Date'[Date]))

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.