This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
Tengo una tabla con una fila para cada pedido y la fecha en que se realizó el pedido. Estoy tratando de encontrar el número medio de pedidos realizados por día y por mes. ¿Alguien puede ayudarme con la fórmula correcta?
Hola @KJNelson ,
Según mis pruebas, pruebe los siguientes métodos:
1.Cree la tabla de ejemplo.
2.Cree el archivo Nueva tabla. Cree la nueva medida para calcular la mediana de pedidos por día.
DailyOrders =
SUMMARIZE(
'Table',
[Order Date],
"DailyOrderCount", COUNT('Table'[Order ID])
)
MedianOrdersPerDay =
MEDIANX(
DailyOrders,
DailyOrders[DailyOrderCount]
)
3.Cree la nueva columna.
Month = FORMAT([Order Date], "YYYY-MM")
4.Cree el archivo Nueva tabla y cree la medida para calcular la mediana de pedidos por mes.
OrdersPerMonth =
SUMMARIZE(
'Table',
[Month],
"MonthlyOrderCount", COUNT('Table'[Order ID])
)MedianOrdersPerMonth = MEDIANX(OrdersPerMonth, [MonthlyOrderCount])
5.El resultado se muestra a continuación.
Saludos
Sabiduría Wu
Si esta publicación ayuda, considere Acéptalo como la solución para ayudar a los demás miembros a encontrarlo más rápidamente.
@KJNelson , Basado en lo que tengo intento como
MEDIANX(Valores(Fecha[Fecha]), [Medir])
MEDIANX(Resumir(Tabla,Fecha[Mes], Fecha[Día]), [Medir])
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.