Forum Discussion
Joshua_
4 years agoHelper II
Get days worked between two dates
Hi Guys, I need to add a column that shows me the working day of the month, but starting and ending on a specific date, for example started Jan 10 and ending Jan 25 I tried to create...
- 4 years ago
HI parry2k ,
I created a second table containing the dates of the new table and connected it with my calendar table, then I got the business days (related function) and with the following formula I can do it.CALCULATE(SUM(CALENDARIO_CAMPANA[DIAS_HABILES]),FILTER(CALENDARIO_CAMPANA,CALENDARIO_CAMPANA[Date]<=EARLIER(CALENDARIO_CAMPANA[Date]) && CALENDARIO_CAMPANA[CAMPANA] = EARLIER(CALENDARIO_CAMPANA[CAMPANA])))
Joshua_
4 years agoHelper II
Hi parry2k ,
It happens that I need to import a new table to the project and the dates of that data start and end on the 10th of every month, and I need to display the results based on the business days between those periods.
- Joshua_4 years agoHelper II
HI parry2k ,
I created a second table containing the dates of the new table and connected it with my calendar table, then I got the business days (related function) and with the following formula I can do it.CALCULATE(SUM(CALENDARIO_CAMPANA[DIAS_HABILES]),FILTER(CALENDARIO_CAMPANA,CALENDARIO_CAMPANA[Date]<=EARLIER(CALENDARIO_CAMPANA[Date]) && CALENDARIO_CAMPANA[CAMPANA] = EARLIER(CALENDARIO_CAMPANA[CAMPANA])))