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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
labuser1235
Helper IV
Helper IV

Recuento constante a través de la línea de tiempo

Hola a todos

Me gustaría tener una medida DAX donde muestra el recuento de filas enteras en una tabla y que siendo constante a través de la línea de tiempo.

Por ejemplo, en la imagen table1 dada hay 8 filas y quiero que 8 sea constante en la línea de tiempo, es decir, de min(datetable[date) a max(table1[date sold]). Así que cuando ponemos eso en una línea visual es más como una línea recta.

Puedo lograrlo usando una columna calculada, sin embargo, sólo necesitaría una medida DAX que pueda llenar esto.

Screenshot 2020-07-16 at 5.42.52 PM.png

4 REPLIES 4
amitchandak
Super User
Super User

@amitchandak Muchas gracias. Funcionó como el encanto 🙂

az38
Community Champion
Community Champion

Hola @labuser1235

tratar de una medida como

CALCULATE(COUNTROWS(table1), ALL(table1[date sold]) )

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

@az38 Muchas gracias por su rápida respuesta.

All(table1[dates old]) me está dando sólo 1 como línea constante en ese día en particular. Sin embargo, cuando se trató todoseleccionado que funcionó perfectamente bien.

Screenshot 2020-07-17 at 10.39.02 PM.png

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.