worried-planet-2191
03/19/2025, 8:32 AMsteep-dog-1694
03/19/2025, 10:29 PM1 as the value column? This is ideal for counting rows (please see attached screenshot from the Metric page on GrowthBook's UI).
Thanks,
Lukejolly-oil-48997
03/19/2025, 11:33 PMjolly-oil-48997
03/20/2025, 12:10 AMValue Column in the metric page? I couldnot find itsteep-dog-1694
03/20/2025, 12:13 AMEdit button next to Query Settingsjolly-oil-48997
03/20/2025, 12:16 AMsteep-dog-1694
03/20/2025, 12:17 AMsteep-dog-1694
03/20/2025, 12:18 AMjolly-oil-48997
03/20/2025, 12:21 AMsteep-dog-1694
03/20/2025, 12:31 AMuser_id values, rather than their counts? In your query, ,can you please check that when you sum value = 1?jolly-oil-48997
03/20/2025, 5:02 AMsteep-dog-1694
03/20/2025, 5:12 AMjolly-oil-48997
03/20/2025, 5:13 AMjolly-oil-48997
03/20/2025, 5:15 AMjolly-oil-48997
03/20/2025, 5:15 AMsteep-dog-1694
03/20/2025, 5:16 AMjolly-oil-48997
03/20/2025, 5:48 AMsteep-dog-1694
03/20/2025, 3:25 PMid , rather than counting the number of ids. I would try changing your sql:
value_param.value.int_value as value
to
1 as valuejolly-oil-48997
03/25/2025, 7:35 AMmain_sum and main_sum_squares in the dashboard.
SELECT
m.variation AS variation,
m.dimension AS dimension,
COUNT(*) AS users,
SUM(COALESCE(m.value, 0)) AS main_sum,
SUM(POWER(COALESCE(m.value, 0), 2)) AS main_sum_squares
how can this query be updated to get only COUNT(*) AS users and not others.
As shown the highlighted values in the below screenshot. i need only COUNT of users but the combined query gives everything.steep-dog-1694
03/25/2025, 3:52 PMmain_sum and main_sum_squares results aren't in the dashboard?
If the former, please run this:
SELECT
m.variation AS variation,
m.dimension AS dimension,
COUNT(*) AS users
If the latter, we cannot suppress results from showing in the dashboard.
Hope this helps,
Lukejolly-oil-48997
03/25/2025, 3:55 PMsteep-dog-1694
03/25/2025, 3:58 PMjolly-oil-48997
03/25/2025, 4:07 PMsteep-dog-1694
03/25/2025, 4:08 PMjolly-oil-48997
03/25/2025, 4:09 PMmain_sum and main_sum_squares as part of the result, and it cannot not be modified as it is required to generate the variants' dashboard, right?steep-dog-1694
03/25/2025, 4:10 PMjolly-oil-48997
03/25/2025, 4:11 PMsteep-dog-1694
03/25/2025, 4:11 PMjolly-oil-48997
03/25/2025, 4:11 PMhelpful-application-7107
03/25/2025, 4:11 PM