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

formato de visualización para la espera < 60secs

hiii

Quiero cal esperando tym < 60sec estaba usando esta fórmula, pero la salida que estoy recibiendo es 00:00:00 para todas las columnas que debe ser convertido a secs

esperar < 60 seg á if([waiting tym] <time(0,1,0),1,0)
He utilizado previamente esta fórmula para mostrar el cálculo del tym en espera en los segundos
esperando tym - MOD( ('Datos de llamada telefónica'[Tiempo de desconexión]-'Datos de llamada telefónica'[Tiempo de conexión]-'Datos de llamada telefónica'[Tiempo de espera]-'Datos de llamada telefónica'[Duración de la charla]),60)
puede algunos mostrarme cómo puedo mostrar esperando tym < 60 segundos en formato sec
1 ACCEPTED SOLUTION
v-rzhou-msft
Community Support
Community Support

Hola @greeshma

pranit828 y Pragati11 te muestran el camino (tiempo-tiempo - tiempo)*86400 para calcular el segundo, es una buena manera.

Usted puede probar mi manera que utilizan la función Datediff para lograr su objetivo, así.

1.png

Columna calculada:

C_waiting tym = DATEDIFF(0,('Phone Call Data'[Disconnect Time]-'Phone Call Data'[Connect Time]-'Phone Call Data'[Hold Time]-'Phone Call Data'[Talk Duration]),SECOND)

Medida:

M_waiting tym = DATEDIFF(0,(MAX('Phone Call Data'[Disconnect Time])-MAX('Phone Call Data'[Connect Time])-MAX('Phone Call Data'[Hold Time])-MAX('Phone Call Data'[Talk Duration])),SECOND)

Resultado:

2.png

Puede descargar el archivo pbix desde este enlace: formato de visualización para la espera < 60 segundos

Saludos

Rico Zhou

Si este post ayuda,entonces considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

View solution in original post

3 REPLIES 3
v-rzhou-msft
Community Support
Community Support

Hola @greeshma

pranit828 y Pragati11 te muestran el camino (tiempo-tiempo - tiempo)*86400 para calcular el segundo, es una buena manera.

Usted puede probar mi manera que utilizan la función Datediff para lograr su objetivo, así.

1.png

Columna calculada:

C_waiting tym = DATEDIFF(0,('Phone Call Data'[Disconnect Time]-'Phone Call Data'[Connect Time]-'Phone Call Data'[Hold Time]-'Phone Call Data'[Talk Duration]),SECOND)

Medida:

M_waiting tym = DATEDIFF(0,(MAX('Phone Call Data'[Disconnect Time])-MAX('Phone Call Data'[Connect Time])-MAX('Phone Call Data'[Hold Time])-MAX('Phone Call Data'[Talk Duration])),SECOND)

Resultado:

2.png

Puede descargar el archivo pbix desde este enlace: formato de visualización para la espera < 60 segundos

Saludos

Rico Zhou

Si este post ayuda,entonces considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

pranit828
Community Champion
Community Champion

Hola @greeshma

waiting tym = ('Phone Call Data'[Disconnect Time]-'Phone Call Data'[Connect Time]-'Phone Call Data'[Hold Time]-'Phone Call Data'[Talk Duration]) * 86400

¿He respondido a tu pregunta? ¡Marca mi puesto como una solución! Apreciamos su Kudos!!

saludos
Pranit





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile
Pragati11
Super User
Super User

Hola @greeshma ,

Existe un subproceso existente sobre cómo convertir el tiempo en segundos en Power BI:

https://community.powerbi.com/t5/Desktop/Convert-time-to-seconds/td-p/472258

Hay otro hilo en el mismo problema que usted ha descrito:

https://community.powerbi.com/t5/Desktop/calculate-waiting-tym-lt-30sec-and-lt-60-sec/m-p/1288623

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

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.