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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Cuenta filas por separado para cada mes

Hola juntos,

Tengo dos columnas (Fecha,Volumen).

En volumen me gustaría tener el recuento de filas para cada mes específico.

Así, por ejemplo, cuando tengo 200 filas para noviembre y 300 filas para diciembre

El volumen debe estar en cada fila para noviembre: 200 y en cada fila para diciembre: 300.

Sería genial si alguien tuviera una idea. Muchas gracias. Tobi

Unbenannt.JPG

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@tobs2707 ,

Crear una nueva columna
mes año - formato([datum], "AAAAMM")

a continuación, crear una nueva columna

Volumen: countx(filter(Table, [month year] á earlier([month year])),[datum])

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hola @amitchandak ,
Tengo una pregunta más. Si selecciono meses individuales funciona perfectamente,

sin embargo, si me gustaría seleccionar dos meses, no funciona. Espero que tengas una idea. Muchas gracias.

amitchandak
Super User
Super User

@tobs2707 ,

Crear una nueva columna
mes año - formato([datum], "AAAAMM")

a continuación, crear una nueva columna

Volumen: countx(filter(Table, [month year] á earlier([month year])),[datum])

Anonymous
Not applicable

Perfecto. Muchas gracias @amitchandak

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.