# How to display earliest/latest date/time in a QuickSight visual

**URL:** <https://community.amazonquick.com/t/how-to-display-earliest-latest-date-time-in-a-quicksight-visual/51811>\
**Category:** Q&A\
**Tags:** analysis, Business-Intelligence-Engineer\
**Created:** [March 11, 2026, 10:24pm UTC](https://community.amazonquick.com/t/how-to-display-earliest-latest-date-time-in-a-quicksight-visual/51811 "2026-03-11T22:24:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benjamin\_Blackswan](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/benjamin_blackswan/32/36190_2.png) [@Benjamin\_Blackswan](https://community.amazonquick.com/u/Benjamin_Blackswan)\
**Post date:** [March 11, 2026, 10:24pm UTC](https://community.amazonquick.com/t/how-to-display-earliest-latest-date-time-in-a-quicksight-visual/51811/1 "2026-03-11T22:24:11Z")

</div>

hello Quick Community,

I am having trouble doing a simple KPI visual in Quick Sight that display the latest refresh time from a calculated column.

I have a table in redshift called **sales** , which contains 4 rows of data and three columns, employee\_id, employee\_name and sales.

1. I loaded **sales** into QuickSight dataset

2. I added a Calculated Column called LatestRefreshTime using the **now()** function. the new column has been created with UTC time, the data type is Date.

3. In a new Analysis, using the KPI visual, I dragged the LatestRefreshTime field into the VALUE field of the KPI visual, however there is only Count and Count (distinct) aggregation available, which means I can not get the time displayed since there is no max/min or earliest/latest aggregation for date data type

4. As a workaround to this problem, I created a calculated field named **LatestRefreshTime\_Agg** inside the Analysis, using max(LatestRefreshTime) to force a max aggregation, but when I add this calculated field, it gives me an error stating unsupported aggregation.

Please let me know what the correct way is of displaying the date field in a visual in QS

cheers.

 ![image](https://d1wl4jav5dp96l.cloudfront.net/original/3X/4/b/4b72a64c568c0349045a6832b6183b0d196dd598.png)

---

<div class="post-metadata">

**Author:** ![DylanMorozowski](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/dylanmorozowski/32/33997_2.png) [@DylanMorozowski](https://community.amazonquick.com/u/DylanMorozowski)\
**Post date:** [March 11, 2026, 10:41pm UTC](https://community.amazonquick.com/t/how-to-display-earliest-latest-date-time-in-a-quicksight-visual/51811/2 "2026-03-11T22:41:18Z")

</div>

Hello @Benjamin_Blackswan, welcome to the Quick Community!

I would recommend using the calculated field in a simple insight narrative rather than a KPI. That will allow you to bypass the aggregation requirements for the field.

If you use it as a category field, then whatever random field as the value field, you can create a top 3 calculation in the insight (set it to only display 1 rather than 3), then you can import it into the narrative. You can write out the expression in the little box like this: `Top.items[0].categoryValue.formattedValue`

That should work in the normal expression editor! If you need any help, just let me know! The insights can be pretty fickle to edit.

---

<div class="post-metadata">

**Author:** ![Benjamin\_Blackswan](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/benjamin_blackswan/32/36190_2.png) [@Benjamin\_Blackswan](https://community.amazonquick.com/u/Benjamin_Blackswan)\
**Post date:** [March 12, 2026, 12:27am UTC](https://community.amazonquick.com/t/how-to-display-earliest-latest-date-time-in-a-quicksight-visual/51811/3 "2026-03-12T00:27:20Z")

</div>

no I want to avoid natural language summary.

I just want to create a simple visual that display the time in the column.

---

<div class="post-metadata">

**Author:** ![DylanMorozowski](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/dylanmorozowski/32/33997_2.png) [@DylanMorozowski](https://community.amazonquick.com/u/DylanMorozowski)\
**Post date:** [March 12, 2026, 3:01pm UTC](https://community.amazonquick.com/t/how-to-display-earliest-latest-date-time-in-a-quicksight-visual/51811/4 "2026-03-12T15:01:06Z")

</div>

Hi @Benjamin_Blackswan, you don’t have to use natural language summary in an insight visual. You can just display the field and have it look like a KPI.

---

<div class="post-metadata">

**Author:** ![DylanMorozowski](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/dylanmorozowski/32/33997_2.png) [@DylanMorozowski](https://community.amazonquick.com/u/DylanMorozowski)\
**Post date:** [March 12, 2026, 3:07pm UTC](https://community.amazonquick.com/t/how-to-display-earliest-latest-date-time-in-a-quicksight-visual/51811/5 "2026-03-12T15:07:04Z")

</div>

@Benjamin_Blackswan, here is an example: [KPI Replaced by Insight Narrative](https://community.amazonquick.com#Arena-dashboardId=52903845-b5b7-4e5a-827e-260557e4ce5b&authorId=CU-28875)

There are a ton of different calculations inside of the Insight visuals.

---

<div class="post-metadata">

**Author:** ![sergiu.rotaru.tk](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@sergiu.rotaru.tk](https://community.amazonquick.com/u/sergiu.rotaru.tk)\
**Post date:** [March 13, 2026, 7:14am UTC](https://community.amazonquick.com/t/how-to-display-earliest-latest-date-time-in-a-quicksight-visual/51811/6 "2026-03-13T07:14:54Z")

</div>

hello Benjamin,

My approach for this one was to create a table, hide the header, increase the cell height and it looked like a KPI visual.

---

<div class="post-metadata">

**Author:** ![Benjamin\_Blackswan](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/benjamin_blackswan/32/36190_2.png) [@Benjamin\_Blackswan](https://community.amazonquick.com/u/Benjamin_Blackswan)\
**Post date:** [March 15, 2026, 11:00pm UTC](https://community.amazonquick.com/t/how-to-display-earliest-latest-date-time-in-a-quicksight-visual/51811/7 "2026-03-15T23:00:22Z")

</div>

hi Sergiu.Rotaru

Interesting workaround.

How can I display only one row in a Table Visual? Right now it is displaying all 4 rows.

 ![image](https://d1wl4jav5dp96l.cloudfront.net/original/3X/b/1/b1da862a6e5ceab0386f9aa83339cfd4c9b70280.png)

---

<div class="post-metadata">

**Author:** ![sergiu.rotaru.tk](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@sergiu.rotaru.tk](https://community.amazonquick.com/u/sergiu.rotaru.tk)\
**Post date:** [March 16, 2026, 8:36am UTC](https://community.amazonquick.com/t/how-to-display-earliest-latest-date-time-in-a-quicksight-visual/51811/9 "2026-03-16T08:36:01Z")

</div>

hi @Benjamin_Blackswan ,

Probably you’ve added the column in the Value field well. Just add it in the Group By. Group By groups by unique values.

---

<div class="post-metadata">

**Author:** ![Vaidy](https://avatars.discourse-cdn.com/v4/letter/v/c89c15/32.png) [@Vaidy](https://community.amazonquick.com/u/Vaidy)\
**Post date:** [March 20, 2026, 4:49pm UTC](https://community.amazonquick.com/t/how-to-display-earliest-latest-date-time-in-a-quicksight-visual/51811/10 "2026-03-20T16:49:58Z")

</div>

Hi, @Benjamin_Blackswan Did this solution work for you? I am marking this reply as, “Solution,” but let us know if this is not resolved. Thanks for posting your questions on the Quick Suite Community Q&A Forum!

---

<div class="post-metadata">

**Author:** ![Benjamin\_Blackswan](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/benjamin_blackswan/32/36190_2.png) [@Benjamin\_Blackswan](https://community.amazonquick.com/u/Benjamin_Blackswan)\
**Post date:** [June 8, 2026, 11:55pm UTC](https://community.amazonquick.com/t/how-to-display-earliest-latest-date-time-in-a-quicksight-visual/51811/11 "2026-06-08T23:55:06Z")

</div>

@sergiu.rotaru.tk

I wasn’t able to follow your instruction, but however I was able to resolve it by

created a calculated field using max(), create a table visual and added the calculated field to the value column.
