Skip to content

Commit

Permalink
Update common.libsonnet
Browse files Browse the repository at this point in the history
  • Loading branch information
emre committed Apr 5, 2021
1 parent 83c23f9 commit 4c1d9a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ local predefined = import 'predefined.jsonnet';
ltv_revenue: {
label: 'LTV',
category: 'Revenue',
sql: 'IEEE_DIVIDE({{measure.total_revenue}}, {{measure.all_users}})',
sql: 'coalesce(IEEE_DIVIDE({{measure.total_revenue}}, {{measure.all_users}}), 0)',
reportOptions: { formatNumbers: '$0,0[.]00000000' },
},
ltv_revenue_d1: {
Expand Down

0 comments on commit 4c1d9a8

Please sign in to comment.