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
VViskaz
Regular Visitor

Contar un percentil basado en una columna condicional

Hola

Tengo una tabla con una lista de estados y la entidad de tiempo pasado en estos estados.

Necesito calcular un percentil para cada estado de esta tabla.

¿Hay alguna manera de hacer algo como esto:

Vamos a ponerlo duro

"si el estado "Nuevo"; percentile.exe([TimeInState];075)"

O tal vez necesite transformar esta mesa de alguna manera.

La tabla tiene este aspecto:

VViskaz_0-1600768930305.png

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@VViskaz ,

No muy seguro, pero tratar como

nuevo TimeInState - if (Estado " "Nuevo";[ TimeInState]; blank()) //new column o utilice este cal en el siguiente paso
percentile.exe([new TimeInState];075)

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@VViskaz ,

No muy seguro, pero tratar como

nuevo TimeInState - if (Estado " "Nuevo";[ TimeInState]; blank()) //new column o utilice este cal en el siguiente paso
percentile.exe([new TimeInState];075)

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.