From 41c1a217945526ad8390b6c93882740bf47dc9e8 Mon Sep 17 00:00:00 2001 From: "paul.marcombes" Date: Mon, 16 Dec 2024 10:57:31 +0000 Subject: [PATCH] minor --- bigfunctions/transform_numeric/nps.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bigfunctions/transform_numeric/nps.yaml b/bigfunctions/transform_numeric/nps.yaml index 4eba1675..4e63d4d6 100644 --- a/bigfunctions/transform_numeric/nps.yaml +++ b/bigfunctions/transform_numeric/nps.yaml @@ -1,7 +1,7 @@ type: aggregate_function_sql author: Paul Marcombes description: | - Returns the NPS (Net Promoter Score) + Returns the NPS (Net Promoter Score) of `rating` (which represents customer satisfaction between 0 and 10): ```sql @@ -9,7 +9,7 @@ description: | ``` where: - + - `"% promoters" = 100 * countif(rating >= 9) / count(*)` - `"% detractors" = 100 * countif(rating <= 6) / count(*)` arguments: