Skip to content

Commit

Permalink
also count force_upgrade events as personfull
Browse files Browse the repository at this point in the history
  • Loading branch information
raquelmsmith committed Apr 25, 2024
1 parent 5d4ee64 commit c7719d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/tasks/usage_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def get_teams_with_billable_enhanced_persons_event_count_in_period(
f"""
SELECT team_id, count({distinct_expression}) as count
FROM events
WHERE timestamp between %(begin)s AND %(end)s AND event != '$feature_flag_called' AND event NOT IN ('survey sent', 'survey shown', 'survey dismissed') AND person_mode = 'full'
WHERE timestamp between %(begin)s AND %(end)s AND event != '$feature_flag_called' AND event NOT IN ('survey sent', 'survey shown', 'survey dismissed') AND person_mode IN ('full', 'force_upgrade')
GROUP BY team_id
""",
{"begin": begin, "end": end},
Expand Down

0 comments on commit c7719d2

Please sign in to comment.