# Filter Custom Reports based on a datetime column

**URL:** <https://community.automationedge.com/t/filter-custom-reports-based-on-a-datetime-column/10264>\
**Category:** AutomationEdge UI\
**Tags:** custom-reports\
**Created:** [July 28, 2023, 9:53am UTC](https://community.automationedge.com/t/filter-custom-reports-based-on-a-datetime-column/10264 "2023-07-28T09:53:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jane](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Jane](https://community.automationedge.com/u/Jane)\
**Post date:** [July 28, 2023, 9:53am UTC](https://community.automationedge.com/t/filter-custom-reports-based-on-a-datetime-column/10264/1 "2023-07-28T09:53:24Z")

</div>

Hi!

I am creating a Custom Report based on a table. In the table I have a datetime column only. There is no date column.

I am trying to use the datetime column to filter report data by date/datetime. However, the report fails. Please suggest how to use a datetime column tp filter data in Custom Reports.

---

<div class="post-metadata">

**Author:** ![Jane](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Jane](https://community.automationedge.com/u/Jane)\
**Post date:** [July 28, 2023, 10:32am UTC](https://community.automationedge.com/t/filter-custom-reports-based-on-a-datetime-column/10264/2 "2023-07-28T10:32:46Z")

</div>

Hi! Jane,

Custom Reports allows to filter by date only using Date columns. You can using functions to convert a datetime column to date and use it to filter custom reports.

For e.g. CAST(datetime column name AS date)
