We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75c85a6 commit 2788430Copy full SHA for 2788430
1 file changed
services/libs/tinybird/pipes/project_insights_copy.pipe
@@ -21,7 +21,7 @@ SQL >
21
CASE WHEN organizationId != '' THEN organizationId ELSE NULL END
22
) AS activeOrganizationsLast365Days
23
FROM activityRelations_deduplicated_cleaned_ds
24
- WHERE timestamp >= now() - INTERVAL 365 DAY
+ WHERE timestamp <= now()
25
GROUP BY segmentId
26
27
NODE project_insights_copy_previous_365_days_metrics
@@ -38,7 +38,7 @@ SQL >
38
39
) AS activeOrganizationsPrevious365Days
40
41
- WHERE timestamp >= now() - INTERVAL 730 DAY AND timestamp < now() - INTERVAL 365 DAY
+ WHERE timestamp < now() - INTERVAL 365 DAY
42
43
44
NODE project_insights_copy_results
0 commit comments