Skip to content

Data Filter Issue #17471

Description

@suet-yin

Describe the problem/error/question

Data filters are excluding data that should qualify based on filter setting

What is the error message (if any)?

Please share your workflow/screenshots/recording

{
"nodes": [
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "loose",
"version": 2
},
"conditions": [
{
"id": "efc93c15-e9da-4789-8def-a25bdce780cb",
"leftValue": "={{ $json.date }}",
"rightValue": "={{ $('On form submission').item.json['Start Date'] }}",
"operator": {
"type": "dateTime",
"operation": "afterOrEquals"
}
},
{
"id": "4d9129a7-3d5d-4ea0-b62f-b65aa769b159",
"leftValue": "={{ $json.date }}",
"rightValue": "={{ $('On form submission').item.json['End Date'] }}",
"operator": {
"type": "dateTime",
"operation": "beforeOrEquals"
}
}
],
"combinator": "and"
},
"looseTypeValidation": true,
"options": {}
},
"type": "n8n-nodes-base.filter",
"typeVersion": 2.2,
"position": [
592,
0
],
"id": "cdef3d7b-c7dd-4c4b-8d7d-d87f0b81a363",
"name": "Filter by Date Range"
}
],
"connections": {
"Filter by Date Range": {
"main": [
[]
]
}
},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "9c4beffcab657ecdb53935790fbfc63f0a4f1167ccc473bcc1cac1969d3b230d"
}
}

Share the output returned by the last node

This specific section is causing the issue.
{
"id": "efc93c15-e9da-4789-8def-a25bdce780cb",
"leftValue": "={{ $json.date }}",
"rightValue": "={{ $('On form submission').item.json['Start Date'] }}",
"operator": {
"type": "dateTime",
"operation": "afterOrEquals"
}

The Start Date from the form is 2024/04/01 so any entries that are April 1st and beyond should be selected.

Image

Debug info

core

  • n8nVersion: 1.102.4
  • platform: docker (cloud)
  • nodeJsVersion: 22.17.0
  • database: sqlite
  • executionMode: regular
  • concurrency: 5
  • license: community

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 168 hours
  • maxCount: 2500 executions

client

  • userAgent: mozilla/5.0 (macintosh; intel mac os x 10_15_7) applewebkit/537.36 (khtml, like gecko) chrome/138.0.0.0 safari/537.36
  • isTouchDevice: false

Generated at: 2025-07-19T16:58:21.844Z}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions