# Export PDF on 7.4.0 showing dashboard selected time range

**URL:** <https://discuss.elastic.co/t/export-pdf-on-7-4-0-showing-dashboard-selected-time-range/203737>\
**Category:** Kibana\
**Created:** [October 16, 2019, 3:50am UTC](https://discuss.elastic.co/t/export-pdf-on-7-4-0-showing-dashboard-selected-time-range/203737 "2019-10-16T03:50:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jall](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@jall](https://discuss.elastic.co/u/jall)\
**Post date:** [October 16, 2019, 3:50am UTC](https://discuss.elastic.co/t/export-pdf-on-7-4-0-showing-dashboard-selected-time-range/203737/1 "2019-10-16T03:50:28Z")

</div>

Hi,  
On a shared pdf, I need to show the time range of th dashboard at the time the pdf was generated. I was thinking on a markdown but haven't found the proper expression to include it.

Hope you can help me out!

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [October 17, 2019, 8:39pm UTC](https://discuss.elastic.co/t/export-pdf-on-7-4-0-showing-dashboard-selected-time-range/203737/2 "2019-10-17T20:39:33Z")

</div>

Would it be helpful if you could display the date of the least recent doc and the most recent doc in the date range (rather than the actual date range itself)? Because then you could do something like this:

![image](https://us1.discourse-cdn.com/elastic/original/3X/e/4/e44c4f0943431e75c058a44eb3305df9b889fa52.png)

These are calculated using the top hits metric.

---

<div class="post-metadata">

**Author:** ![jall](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@jall](https://discuss.elastic.co/u/jall)\
**Post date:** [October 22, 2019, 2:37pm UTC](https://discuss.elastic.co/t/export-pdf-on-7-4-0-showing-dashboard-selected-time-range/203737/3 "2019-10-22T14:37:24Z")

</div>

Hi Lukas, thanks for your suggestion it worked like charm!!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 19, 2019, 2:37pm UTC](https://discuss.elastic.co/t/export-pdf-on-7-4-0-showing-dashboard-selected-time-range/203737/4 "2019-11-19T14:37:27Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
