select name,date,offer_name ,channel,
sum(case
when status = '1' then
1
else
0
end) Active
sum(case
when t.status = '2' then
1
else
0
end) InActive
count(offer_name) as count
from table
我想在 kibana 数据表中实现上述查询以显示数据