diff --git a/posthog/hogql_queries/apply_dashboard_filters.py b/posthog/hogql_queries/apply_dashboard_filters.py index 580735b6137c1e..709ef4d7835ca3 100644 --- a/posthog/hogql_queries/apply_dashboard_filters.py +++ b/posthog/hogql_queries/apply_dashboard_filters.py @@ -11,7 +11,10 @@ def apply_dashboard_filters(query: dict, filters: dict, team: Team) -> dict: source = apply_dashboard_filters(query["source"], filters, team) return {**query, "source": source} - query_runner = get_query_runner(query, team) + try: + query_runner = get_query_runner(query, team) + except ValueError: + return query try: return query_runner.apply_dashboard_filters(DashboardFilter(**filters)).dict() except NotImplementedError: