Forum Discussion

LeeGrimshaw1's avatar
LeeGrimshaw1
Frequent Visitor
2 years ago
Solved

How many days open in a given time frame

I am trying to create a measure that calculates how many days a ticket has been open in a given period of time. So if the period I am interested in is between 1st Jan - 4th Jan and the ticket was ope...
  • LeeGrimshaw1's avatar
    LeeGrimshaw1
    2 years ago

    Thank you for your attempt at solving my problem!

     

    In the end I found a solution by using Power Query to achieve the required result. I created a list of dates in a custom collumn which contained the dates between the start and ned dates. Once expanded, this new collumn contains all the dates the ticket was open for. Once at this point I was able to merge another table to add the detail of whether or not the ticket was able to be worked on a given day.

     

    Solving this in Power Query enabled very simple filtering and measures to take place at report level.