Query editor
with lp_data as (select distinct pool, lp, size, size_sortfrom query_2023391 where pool = {{pool}})select 'Size' as label_type, size, size_sort, count(lp) as freqfrom lp_data group by 1, 2, 3
Query editor
1with lp_data as (2select distinct pool, lp, size, size_sort3from query_2023391 where pool = {{pool}}4)56select 'Size' as label_type, size, size_sort, count(lp) as freq7from lp_data group by 1, 2, 3