Dynamic filter for transform

I am trying to set a value of 15mins and when I zoom out to last year my value from the transform is still set at 15mins. Is there a way to set a rule for that 15 mins within the hour and not effect within the year?