Open leandrosardi opened 2 years ago
use euler;
go
declare @n int;
set @n=24*60;
select c.id, c.name, c.subscriptions, c.rented_accounts, c.rented_accounts*10 as expected_delivery, count(x.id_result) as real_delivery
-- select count(u.id)
from v_flywheel_clients c
left join drl_minutely_stats x with (nolock) on (c.id=x.id_client and isnull(x.ininvite_end_time, '1900-01-01')>dateadd(dd,-1,getdate()))
group by c.id, c.name, c.subscriptions, c.rented_accounts
order by c.name
Develop dashboard to see:
Report of Clients
Billing information:
Report of Pipelines
Break down such a report by pipelines, assing a column:
Report of sales assistants
Brak down such a report by sales assistants, adding these columns: