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数据表中实现上面的查询来显示数据