Мне задана задача объединить запросы, чтобы сделать ее панелью в таблице .. что-то вроде этого.Объединяя запросы, чтобы сделать его приборной панелью в таблице
Total_count total_active total_inactive Active% inactive%
100 20 80 0.5 0.8
Приведенные выше результаты получены путем выполнения отдельных queries..with фильтров применяется
как я могу объединить их в приборную панель ..
Ex:
select count(id) from table -- gives me 100(Total_count)
select count(id) from table where status like '%Active%' --gives me 20(total_active)
(Total_count)-(total_active) gives me inactive..
Active%=total_active/Total_count
Inactive%=total_inactive/Total_count
Но я не могут быть размещены dashboard..(or make reports)
how do i get Total_count and Total_active in one sheet
, когда я создаю фильтр в столбце состояния (активен) .. он также применяется к Total_count?
is it possible to create calculations across sheets?
say in sheet i got count(total_customers) in another sheet i got count(Active_customers)
now i need to substract values from these 2 sheets how do i do it?