Forum Discussion

AmberJane's avatar
AmberJane
Icon for Helper III rankHelper III
2 years ago
Solved

Business Days Since a Date

Hello, 

 

I have a table with an incident date. I need to create a column that calculates the business days between that date and todays date so that I can filter a report to only show me incidents older than 2 business days. I do have a date table that has a is weekday true/false column. 

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi AmberJane ,

     

    According to your description, here are my steps you can follow as a solution.

    (1) This is my test data. 

    Date table:

    Table:

    (2) We can create a calculated column.

    Column = COUNTROWS(FILTER('Date Table',[date]>=EARLIER('Table'[incident date]) && [date] <=TODAY() && [weekday]=TRUE()))

    (3) Then the result is as follows.

    Best Regards,

    Neeko Tang

    If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi AmberJane ,

     

    According to your description, here are my steps you can follow as a solution.

    (1) This is my test data. 

    Date table:

    Table:

    (2) We can create a calculated column.

    Column = COUNTROWS(FILTER('Date Table',[date]>=EARLIER('Table'[incident date]) && [date] <=TODAY() && [weekday]=TRUE()))

    (3) Then the result is as follows.

    Best Regards,

    Neeko Tang

    If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

    • AmberJane's avatar
      AmberJane
      Icon for Helper III rankHelper III

      Worked!! super easy to follow. Appreciate you 🙂 

  • Does your date table also have a business day flag column?