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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Fecha de inicio no estar incluida en la fórmula de días laborables

Tengo una fórmula para calcular el número de días laborables entre una fecha de inicio y una fecha de finalización de los proyectos. Sin embargo, la fórmula no incluye la fecha de inicio del proyecto. Por ejemplo- un proyecto comienza el 18 de mayo de 2020 y la fórmula devuelve 9 días laborables, en lugar de 10. Por favor, vea la fórmula a continuación (tengo una tabla de fechas con días laborables marcados):

wk.png

12 REPLIES 12
v-xuding-msft
Community Support
Community Support

Hola @master_schef ,

Me parece que ha creado un hilo sobre este problema y que todavía no se ha resuelto. ¿Puede compartir algunos datos de muestra y algunas imágenes sobre su situación? Es útil para nosotros entender su requisito y resolverlo rápidamente.

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.
amitchandak
Super User
Super User

@master_schef , la mayoría de las veces en todo este cálculo termina añadiendo +1

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
parry2k
Super User
Super User

@master_schef utilizar la función DATESBETWEEN

Me gustaría elogiossi mi solución me ayudó.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para darle a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!



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.

Anonymous
Not applicable

¿Dónde debo añadir esto?

@master_schef

measure = 
CALCULATE ( COUNTROWS ( Date ),
   DATESBETWEEN ( Date[Date], __startdate>, __endate> ),
   Date[Day Type] = "Working Day"
)

Me gustaría elogiossi mi solución me ayudó.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para darle a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!



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.

Anonymous
Not applicable

El uso de DATESBETWEEN sigue desablando el mismo (es decir, el proyecto a partir del 4/18 devuelve 9 días)

Tengo una columna de mes, por lo que se espera que el cálculo devuelva los días laborables en el transcurso del mes

@master_schef que seguramente nos faltan algunos aquí, puede compartir el archivo pbix, eliminar información confidencial antes de compartir.



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.

Anonymous
Not applicable
Anonymous
Not applicable

Ejemplo adjunto - el área de enfoque es mayo '20

Anonymous
Not applicable

mal trabajo en él - gracias

Cuando usted está regresando

_result+1

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
Anonymous
Not applicable

Tengo una columna de mes en un objeto visual de matriz - agregar +1 agrega un día adicional a cada mes - no sólo el mes de inicio

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors
Top Kudoed Authors