Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(revenue-analytics): Fix unknown MRR in person overview (#62830)

Jordan Mryyan1f25e77eb5b4
diff --git a/frontend/src/scenes/notebooks/Nodes/NotebookNodePerson.tsx b/frontend/src/scenes/notebooks/Nodes/NotebookNodePerson.tsx
index b90e1c033878..9baf30fe8aab 100644
--- a/frontend/src/scenes/notebooks/Nodes/NotebookNodePerson.tsx
+++ b/frontend/src/scenes/notebooks/Nodes/NotebookNodePerson.tsx
@@ -226,7 +226,7 @@ function MRR(): JSX.Element | null {
<span className="text-secondary">MRR:</span>{' '}
{revenueDataLoading ? (
<LemonSkeleton className="h-4 w-24" />
- ) : revenueData?.mrr ? (
+ ) : revenueData?.mrr != null ? (
<div className="flex gap-2 items-center">
{formatCurrency(revenueData.mrr, baseCurrency)}
<DataSourceIcon source="revenue-analytics" />
@@ -251,7 +251,7 @@ function LifetimeValue(): JSX.Element | null {
<span className="text-secondary">Lifetime value:</span>{' '}
{revenueDataLoading ? (
<LemonSkeleton className="h-4 w-24" />
- ) : revenueData?.lifetimeValue ? (
+ ) : revenueData?.lifetimeValue != null ? (
<div className="flex gap-2 items-center">
{formatCurrency(revenueData.lifetimeValue, baseCurrency)}
<DataSourceIcon source="revenue-analytics" />