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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

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