Influxdb group by from most recent time


I’m using “group by” to bin 5m intervals. The way it works now it will aggregate values from 15min to just under 20min and assign result to a 15 min timestamp.

Is it possible to group from 20 min to just above 15 min and give it a 20 min timestamp.

thank you