Query out of the range selected

Hello all,
I have a crontab that inserts a collection in ES once a day. I would like to plot always this information as a constant line even if the time range selected doesn’t include it.

Let’s put an example:
I want to display lines A,B,C but also, the constant line D.

The user selects from 12 am to 8 am.

Thus, the queries for A,B,C should show information from 12am to 8 am. However, the constant line D should show only the last result (maybe it was inserted 2020-10-26th at 6 pm and therefore it is out of the range).

Do you know if this is doable?

Thanks!