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
Anonymous
Not applicable

10 por ciento superior e inferior basado en el tiempo (hh:ss)

Hola

Tengo a continuación datos que la hora de inicio para el personal, necesito ser capaz de excluir el 10% inferior del personal que ha comenzado temprano, y el 10% superior del personal que terminó tarde para el período seleccionado.

¿cómo puedo hacer eso como medida. Estoy usando el modelo tabluar así que no puedo compartir el archivo pbxi.

Agradezco su ayuda.

Capture.PNG

1 ACCEPTED SOLUTION
v-xuding-msft
Community Support
Community Support

Hola @sabd

¿O así?

v-xuding-msft_0-1606287257942.png

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-xuding-msft
Community Support
Community Support

Hola @sabd

¿O así?

v-xuding-msft_0-1606287257942.png

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Fowmy
Super User
Super User

@sabd

Cree la siguiente medida y asígnela al filtro visual y establézcala en 1. Esto excluirá el 10% superior e inferior de los registros.


Exclude = 
var __Rows = CALCULATE( COUNTROWS(Table9) , ALLSELECTED(table9))
var __RowsTop = __Rows * .1
var __RowsBottom = __Rows  - __RowsTop
var __Rank = RANKX(ALLSELECTED(Table9) , CALCULATE(max(Table9[Signed In DateTime])),,ASC)
return

 IF( __Rank > __RowsTop &&  __Rank < __RowsBottom , 1 , 0)

Fowmy_0-1606128153520.png

________________________

Si mi respuesta fue útil, considere Aceptarla como la solución para ayudar a los otros miembros a encontrarla

Haga clic en el icono Thumbs-Up si le gusta esta respuesta 🙂

Youtube Linkedin

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

Además, ¿cómo puedo contar filas basadas en esa clasificación, es decir, contar filas excluyendo el 10% superior e inferior?

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.