# Error is shown in the Data Report when filtering by date

**URL:** <https://community.yeeflow.com/t/error-is-shown-in-the-data-report-when-filtering-by-date/272>\
**Category:** Ask the community\
**Created:** [June 21, 2024, 4:21am UTC](https://community.yeeflow.com/t/error-is-shown-in-the-data-report-when-filtering-by-date/272 "2024-06-21T04:21:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mcyc](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@Mcyc](https://community.yeeflow.com/u/Mcyc)\
**Post date:** [June 21, 2024, 4:21am UTC](https://community.yeeflow.com/t/error-is-shown-in-the-data-report-when-filtering-by-date/272/1 "2024-06-21T04:21:11Z")

</div>

Hi Yeeflow,

I was trying to filter the data in Data Report by comparing two date fields

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/yeeflow/original/1X/569c792b1cdc3d884229f9b998d788a673d42f8a.png)

However, an error showed when I previewed the result  
 ![image](https://canada1.discourse-cdn.com/flex032/uploads/yeeflow/original/1X/4b727be3283c86ec2a1b9f0592a25c6be8242d7f.png)

I had tried to use different date fields, found that this error would show when comparing date field with another date field in the filter control every time.

The date fields setting just like below

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/yeeflow/original/1X/15e893a5e4d0f98ca07aa5a15be2b2bf4585374c.png)

Is it a bug? Any alternative solution if we need a date comparison filter in Data Report at this moment?

Thanks a lot!
