Skip to content

Commit

Permalink
fix(retention): fix showing mean (#29374)
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhpillai authored Feb 28, 2025
1 parent 79bc54b commit cbf88b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/scenes/retention/RetentionTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ export function RetentionTable({ inSharedMode = false }: { inSharedMode?: boolea
percentage={
mean(
tableRows.map((row) => {
if (columnIndex >= row.length) {
return null
}

// Stop before the last item in a row, which is an incomplete time period
if (
(columnIndex >= row.length - 1 &&
Expand Down

0 comments on commit cbf88b2

Please sign in to comment.