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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
EdgarEstrella
Frequent Visitor

Medida que siempre muestre el total

Hola tengo un problema que no logro encontrar solución. 

 

Estoy trabajando en una tabla (elemento visual), las columnas son 

 

Equipo |  Fallas  | Tiempo entre fallas

 

*Fallas: es una medida que cuenta los eventos 

*Equipo: son las categorias 

*tiempo entre fallas(mtbf): calculo del tiempo productivo / fallas

 

El tiempo productivo ya esta calculado con otra medida, pero para la operacion "tiempo entre fallas" requiero que se muestre el total y no lo correspondiente a los "equipos"

 

agrego imagen... se que es bastante cutre mi explicación pero espero sea suficente para darme un poco de luz..

 

agradezco de antemano su apoyoCaptura.PNG

Como pueden ver en la imagen el calculo de MTBF lo hace con el tiempo productivo asociado al equipo y yo requiero que sea sobre el total (177452)

*El dato de tiempo productivo varia en el tiempo así que si utilizo un filtro de fecha deberia filtrar solo el tiempo productivo del periodo seleccionado

slds

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

@EdgarEstrella 

 

Tienes que crear una medida que devuelva el total de "Tiempo productivo" ignorando el filtro de contexto de "Equipo". Esto lo haces usando la función ALL

 

Sería aldo parecido a:

Tiempo Productivo Total = CALCULATE ([Tiempo Productivo]; ALL ('table'[EQUIPMENT_LOCTION])

 

para después dividir "count of DURATION_IN_MINUTES" entre esta nueva medida, tipo:

MTBF sobre total tiempo productivo = DIVIDE ([count of DURATION_IN_MINUTES]; [Tiempo Productivo Total])

 

Prueba a ver si te lo soluciona.

 

Saludos!





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

3 REPLIES 3
PaulDBrown
Community Champion
Community Champion

@EdgarEstrella 

 

Tienes que crear una medida que devuelva el total de "Tiempo productivo" ignorando el filtro de contexto de "Equipo". Esto lo haces usando la función ALL

 

Sería aldo parecido a:

Tiempo Productivo Total = CALCULATE ([Tiempo Productivo]; ALL ('table'[EQUIPMENT_LOCTION])

 

para después dividir "count of DURATION_IN_MINUTES" entre esta nueva medida, tipo:

MTBF sobre total tiempo productivo = DIVIDE ([count of DURATION_IN_MINUTES]; [Tiempo Productivo Total])

 

Prueba a ver si te lo soluciona.

 

Saludos!





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Muchas gracias, exactamente es lo que buscaba. funciono sin problemas

 

mil gracias por el apoyo

v-diye-msft
Community Support
Community Support

Hi @EdgarEstrella ,

 

Sorry I can barely get your point, please kindly describe your issue in English, Read this post to get your answer quickly.

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.