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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
artfulmunkeey
Helper I
Helper I

Ayuda con la inteligencia del tiempo y los cálculos

Hola a todos

de nuevo para un poco de ayuda muy necesaria! Soy strugglign con el siguiente problema y me pregunto si alguien puede aconsejar?

Tengo las siguientes tablas; Total de horas restantes por mes y horas reales reservadas por mes, vinculadas por columnas de código de proyecto comunes.

MonthYearHoras restantes
Enero-204850
Feb-204650
Mar-204550
Abr-204250
20 de mayo3900
Junio-203500
Jul-203300
20 de agosto3150
Sep-203150
Oct-203150
Nov-203150
Dic-203150

MonthYearHorario actual
Enero-20150
Feb-20200
Mar-20100
Abr-20300
20 de mayo350
Junio-20400
Jul-20200
20 de agosto150
Sep-20
Oct-20
Nov-20
Dic-20

Quiero predecir las horas restantes usando el YTD real y luego el tiempo de las horas restantes por los días/semanas restantes del año. Ya tengo el total de horas planificadas reduciendo por las horas reales mensualmente, pero no puedo conseguir mi cabeza alrededor de cómo fusionar las dos sin duplicar.

Algo similar a la siguiente.

MonthYearReal&Remanso
Enero-20150
Feb-20200
Mar-20100
Abr-20300
20 de mayo350
Junio-20400
Jul-20200
20 de agosto150
Sep-20787.5
Oct-20787.5
Nov-20787.5
Dic-20787.5

Sospecho que necesito una tabla separada que calcula los días/semanas restantes, y alguna forma de filtrar las horas restantes dependiendo de la fecha actual, sin embargo, estoy completamente atascado!

Además, ¿sería posible levantar una bandera si el número de horas reales supera las horas planificadas, si es así, ¿cómo podría hacer esto?

Cualquier ayuda sería muy apreciada!

Gracias de antemano

9 REPLIES 9
Anonymous
Not applicable

Hola @artfulmunkeey

¿Podría decirme si su problema ha sido resuelto? Si es así, acédi es la solución. Más gente se beneficiará de ello. O todavía está confundido al respecto, por favor proporcione más detalles sobre su tabla y su problema o compártame con su archivo pbix de su Onedrive for Business.

Saludos

Rico Zhou

Anonymous
Not applicable

Hola @artfulmunkeey

¿Podría proporcionarme su modelo de datos o su archivo pbix?

Creo que ha eliminado su archivo que se compartió en su enlace.

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.

PaulDBrown
Community Champion
Community Champion

@artfulmunkeey

¿Cuál es el cálculo real para Sep 2020 en adelante? (Tomo la tabla final incluirá horas reales hasta una fecha o mes determinados y el cálculo para las fechas o meses restantes).

Básicamente, ¿cómo se calcula el "787.5" que vemos a partir de Sep 2020?

Además, me doy cuenta de que el límite entre las horas reales y el cálculo es si el mes tiene datos reales en él, ¿verdad? ¿Cuenta el valor? en otras palabras, ¿es relevante la fecha del mes? (es decir, si hay un valor real para Sep2020, pero sólo para hasta el 7 de septiembre, ¿qué número debe mostrarse? el valor real o el "valor calculado"?





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.






Thanks for the fast response!

 

Hmm, you raise some good points and have me thinking.... I want to report actual hours YTD.

 

From the current date onwards I want to use the remaining hours (planned hours - actuals hours). But to timephase those remaining hours by the number of remaining days in the year. (My calculation of 787.5 is now irrelevant - i think i just used total hours divided by remaining months).

 

But, if the actual hours equal or exceed the remaining hours then I want to stop the calculation and flag that the hours have all been consumed.

 

The actual data looks more like the following, but I've applied some measures to sort and simplify it for now whilst I experiment.

 

Actual Hours

 

Trans Date

Project CodeResource CodeActual Hours
01/01/20201234599995
............

 

Planned Hours

Time by DayProject CodeResource CodePlanned Hours
01/011234599998.5
............

 

In answer to your question; I'd ideally like to be able to have the calculation based on current month (use actuals up to last day of previous month and use planned from first day of current month, ignoring any actual hours in current month).

 

Thanks!

@artfulmunkeey

¿Puede proporcionar un conjunto de datos de muestra/ficticio con el que jugar?





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.






Gladly... how do I do so? I have an excel with the two test data sets, would this do? I can't seem to upload it here.

@artfulmunkeey

La mejor opción es subir a un servicio en la nube (Onedrive, Google Drive, iCloud, Dropbox...) y compartir desde allí..





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.






@artfulmunkeey

¿Puedes intentarlo de nuevo? el enlace que proporcionó no conduce a archivos





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.






Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Kudoed Authors