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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
daniel_1986
Frequent Visitor

Promedio entre fechas

hola me pueden ayudar, 

tengo que calcular el total de registros cargados entre 2 fechas,

 

ejemplo 

en mi tabla tengo 

 
 

tabla1.png

 

lo que nesecito mostrar en PB es el promedio entre 1 fecha y el dia anterior.

tabla2.png

en resumen en el dia 24/9 ingresaron 2 registros y el 23/9 ingresaron 3 registros, como resultado, el promedio para el dia 24 es 2,5 registros.

 

2 REPLIES 2
amitchandak
Super User
Super User

@daniel_1986 , Try a new column like

countx(filter(Table, ([fecha] = earlier([fecha])-1) || ([fecha] = earlier([fecha]))),[registro])/2

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

funiona pero no cuando se le selecciona un filtro adicional, nesecito que sea dinamica y no fija por dia 😞

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.