Query editor
selectCONCAT(CAST(SPLIT_PART(year_month, '_', 1) AS VARCHAR),'/',LPAD(CAST(SPLIT_PART(year_month, '_', 2) AS VARCHAR), 2, '0'))AS year_month_formatted,case when dao='karpatkey' then 'kpk' else dao end as dao,sum(case when CAST(SPLIT_PART(year_month, '_', 1) AS VARCHAR) = '2021' and dao = 'ENS DAO' then 0else value end ) as valuefromdune.kpk.vw_our_dao_tr_detailgroup by 1,2order by year_month_formatted desc, Value desc