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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

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
November Carousel

Fabric Community Update - November 2024

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

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.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Top Solution Authors
Top Kudoed Authors