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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

cómo puedo contar filas por tiempo y categoría.

Screenshot 2021-08-23 at 23.33.41.png

Según la imagen, quiero crear una columna que muestre el número de pedidos anteriores. Los pedidos tienen que ser contados por separado por tienda y restablecerse todos los días.

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@Pobthams , Crear una nueva columna como

countx(filter(Table, [Store] = earlier([Store]) && [date] = earlier([Date]) && [time] < earlier([Time])),[Time])+0

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

@Pobthams , Crear una nueva columna como

countx(filter(Table, [Store] = earlier([Store]) && [date] = earlier([Date]) && [time] < earlier([Time])),[Time])+0

@amitchandak ¿Qué pasa si quiero contar los pedidos entre las 3 PM desde el día anterior hasta el último pedido, y restablecer todos los días a las 3 PM?

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors