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
fedemartin94
Frequent Visitor

Promedio de ventas semanal

Buenas a todos, tengo una consulta. Tengo una tabla de ventas con fechas, codigo de producto, cantidad, sucursal y precio, etc.

Me gustaria obtener un promedio semanal de la cantidad vendida por cada producto. Como podria realizar dicha medida? Cuento con las fechas en la tabla de ventas y en una tabla calendario extra. 

 

Muchas gracias. 

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@Syndicate_Admin , Con la ayuda de una tabla de fechas

AverageX(Valores('Fecha'[Año Semana]), calcular(Suma(Tabla[Cantidad vendida])) )

en caso de que necesite esta semana vs la semana pasada

Power BI — Semana tras semana y DMT
https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3
https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-La...
https://www.youtube.com/watch?v=pnAesWxYgJ8
Inteligencia de tiempo, parte de aprender Power BI https://youtu.be/cN8AO3_vmlY?t=27510

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.