diff --git a/frontend/src/scenes/web-analytics/tiles/WebAnalyticsTile.tsx b/frontend/src/scenes/web-analytics/tiles/WebAnalyticsTile.tsx index 940c7a47a4d8d..38ce8be4ef977 100644 --- a/frontend/src/scenes/web-analytics/tiles/WebAnalyticsTile.tsx +++ b/frontend/src/scenes/web-analytics/tiles/WebAnalyticsTile.tsx @@ -45,7 +45,7 @@ const VariationCell = ( { isPercentage, reverseColors }: VariationCellProps = { isPercentage: false, reverseColors: false } ): QueryContextColumnComponent => { const formatNumber = (value: number): string => - isPercentage ? `${(value * 100).toFixed(1)}%` : value.toLocaleString() + isPercentage ? `${(value * 100).toFixed(1)}%` : value?.toLocaleString() ?? '(empty)' return function Cell({ value }) { const { compareFilter } = useValues(webAnalyticsLogic)