Forum Discussion

leroy773's avatar
leroy773
Helper II
10 years ago
Solved

Search a specific date range without using date column as a filter

All,   I currently have a query with a date column.  These dates are based on edits.  I can create a duplicate column and tranform the dates to months to search solely by the month.  The issue I am...
  • MattAllington's avatar
    MattAllington
    10 years ago

    That kept me entertained for an hour or so :-)

     

    https://www.dropbox.com/s/b1beaapdjtyp3ay/split%20days%20per%20month.pbix?dl=0

     

    I am not saying this is the best way to do it, but it seems to work.  I created a pattern of 4 steps to extract the days for the current month and find any remainder.  I then copied these 4 steps multiple times (manually) to iterate, creating a new set of columns each time.  I created 1 extra set than needed allowing for growth.  The problem is that you will need to extend it further if a ticket is open for longer than 6 months.

     

    Anyway, see what you think.