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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Asignación de un tiempo a un período de tiempo

Oye

Como ejemplo. Si tengo algunos datos sobre cuándo la gente se ha registrado en el trabajo.

Nombre del empleadoHora de entradaPeríodo de tiempo
Pato Lucas06:22:17?
Goofy12:56:24?
Wayne Rooney21:22:39?

Quiero agregar una columna calculada que trabaje el período de tiempo en el que cae el check-in.

Los límites Inicio y Fin del Período de tiempo se basarán en una tabla independiente a continuación.

Período de tiempoInicio de la horaTime End
106:00:0010:00:00
210:00:0016:00:00
316:00:0019:00:00
419:00:0000:00:00

Quiero que se configure de una manera que cuando actualizo el inicio de la hora y el fin del tiempo en esta tabla mi período de tiempo en la primera tabla se actualizaría.

Muchas gracias,

@amitchandak @parry2k

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@cmcdowall ,

Puede obtener una nueva columna como esta en la tabla 2. Y usted puede unirse a ambos tabla en el id de tiempo

Id. de tiempo: maxx(filter(Table2, table1[Check In Time]>-table2[Time Start] && table1[Check In Time]<table2[Time End]),Table2[Time Period])

Además, puede obtener una columna como , Pero mejor unir dos tabla

hora de inicio: maxx(filter(Table2, table1[Time id]-table2[Time Period]),Table2[Time Start])

Aprecia tus Felicitaciones.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@cmcdowall ,

Puede obtener una nueva columna como esta en la tabla 2. Y usted puede unirse a ambos tabla en el id de tiempo

Id. de tiempo: maxx(filter(Table2, table1[Check In Time]>-table2[Time Start] && table1[Check In Time]<table2[Time End]),Table2[Time Period])

Además, puede obtener una columna como , Pero mejor unir dos tabla

hora de inicio: maxx(filter(Table2, table1[Time id]-table2[Time Period]),Table2[Time Start])

Aprecia tus Felicitaciones.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
amitchandak
Super User
Super User

No lo entendí completamente. Por favor, explique con un ejemplo

Pero usted puede obtener una tabla de tiempo como :https://kohera.be/blog/power-bi/how-to-create-a-time-table-in-power-bi-in-a-few-simple-steps/

Trabajo entre período :https://kohera.be/blog/power-bi/how-to-create-a-time-table-in-power-bi-in-a-few-simple-steps/

Aprecia tus Felicitaciones.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Gracias por tender la mano.

Como ejemplo. Si tengo algunos datos sobre cuándo la gente se ha registrado en el trabajo.

Nombre del empleadoHora de entradaPeríodo de tiempo
Pato Lucas06:22:17?
Goofy12:56:24?
Wayne Rooney21:22:39?

Los límites Inicio y Fin del Período de tiempo se basarán en una tabla independiente a continuación.

Período de tiempoInicio de la horaTime End
106:00:0010:00:00
210:00:0016:00:00
316:00:0019:00:00
419:00:0000:00:00

Quiero que se configure de una manera que cuando actualizo el inicio de la hora y el fin del tiempo en esta tabla mi período de tiempo en la primera tabla se actualizaría.

parry2k
Super User
Super User

@cmcdowall no sé si entendí tu pregunta. Tiene una tabla de datos y desea traer estas columnas de inicio y fin de tiempo en la tabla de datos, ¿correcto? si ese es el caso, ¿puede compartir cómo se ve la tabla de datos?

Lea este post para obtener su respuesta rápidamente.

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



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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