Dashboard with library panels of different times

Grafana v9.2.3
I want to create a dashboard that will contain multiple library panels.
However, if these relate to different time periods, they are all set to the last time period set. How can I avoid that?
The set time period of the dashboard determines the time periods of the selected library panels.
If I take a single dashboard and (example) insert times directly:
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> range(start: 2023-01-01T00:00:00Z, stop: 2023-01-02T00:00:00Z)
then the times that I set (“Last 7 days”) in the dashboard still apply.
I created a dashboard again today as a test and added 2 library panels to it.
One should show me the gas consumption of the last 6 months and the other the consumption of the last 7 days.
I can set the dashboard to a specific period of time. However, this has the same effect on BOTH library panels.
I assume there is a solution. Unfortunately, I’m still a beginner in Grafana.

Hi @dgr75,

Try using Relative time: 6mo/m and Relative time: 7d/d under Query options while editing panel. 7d/d means take last 7 days but take whole first day (first day will start from 00:00 and not from e.g. 19:37 h like you would get if you use just 7d ).

Note that dashboard time range is set to Last 15 minutes but graph shows last 7 days.

 

 

Best regards,
ldrascic

That was the solution!
Thanks very much !

I still have a question.
In a dashboard, I have brought the data together for different washing programs of the washing machine to one day (for me it is October 1, 2022 and the time 09:00:00 to 11:30 a.m.)
Can I also insert this library panel into my large dashboard?
I tried to enter “2022-10-01 09:00:00 to 2022-10-01 11:30:00” at “Relative Time”, but without success.