diff --git a/app/components/dashboard/dashboard-home.tsx b/app/components/dashboard/dashboard-home.tsx index 1b30aae..7e367fa 100644 --- a/app/components/dashboard/dashboard-home.tsx +++ b/app/components/dashboard/dashboard-home.tsx @@ -109,6 +109,7 @@ export function DashboardHome() { "sum(pre_project_income)", "sum(increased_income_after_innovation)", ], + Conditions: [["start_date", ">=", startDate || null, "and"],["start_date", "<=", endDate || null]], GroupBy: ["related_company"], };