Heyo~ My number is
If you wanna try out climbing I recommend Red Rock Climbing Center
Hey, This is a copy of the sheet we are working on: https://docs.google.com/spreadsheets/d/1mxt76HQN81Z8GsK-CBJmoJDHnjLNu-S_mbWU6RJhDIw/edit?usp=sharing
Running the code now
WITH campaign_case_types AS (
SELECT id
FROM postgres.public.case_type
WHERE name IN (
'Intake Case Type',
'CA Juv Hall Abuse - ACTS - DL Flatirons - Shield Legal',
'CA Juv Hall Abuse - ACTS - FYF - Shield Legal',
'CA Juv Hall Abuse - ACTS - LOSG (TC/D) - Shield Legal',
'CA Juv Hall Abuse - ACTS - SIL - ACTS',
'CA Juvenile Camps Abuse - ACTS Law - Shield Legal',
'CA Juvenile Camps Abuse - ACTS/Ghozland - Shield Legal',
'CA Juvenile Camps Abuse - ACTS/Loghmana - Shield Legal',
'CA Juvenile Camps Abuse - ACTS/VAN - Shield Legal',
'CA Juvenile Camps Abuse 2 - ACTS Law - Shield Legal',
'CA Juvenile Hall Abuse - ACTS - Banafshe Law Firm - Shield Legal',
'CA Juvenile Hall Abuse - ACTS - Laba Forman - Shield Legal',
'CA Juvenile Hall Abuse - ACTS - Levinson (MC) - Shield Legal',
'CA Juvenile Hall Abuse - ACTS - Levinson (SJ) - Shield Legal',
'CA Juvenile Hall Abuse - ACTS - Levinson (TC) - Shield Legal',
'CA Juvenile Hall Abuse - ACTS - VAM Law - Shield Legal',
'Ca Juvenile Hall Abuse - ACTS Law - Shield Legal',
'CA Juvenile Hall Abuse - ACTS/Ghozland - Shield Legal',
'Ca Juvenile Hall Abuse - ACTS/Loghmana - Shield Legal',
'CA Juvenile Hall Abuse - ACTS/VAN - Shield Legal',
'Ca Juvenile Hall Abuse 2 - ACTS Law - Shield Legal',
'Ca Juvenile Hall Abuse 3 - ACTS Law - Shield Legal',
'Ca Juvenile Hall Abuse 4 - ACTS Law - Shield Legal',
'Juv Hall Detention Abuse LA - ACTS - ASK LLP - Shield Legal',
'Juv Hall Detention Abuse LA - Kuzyk - ACTS - Shield Legal',
'Juvenile Hall Abuse - ACTS - Makarem - Shield Legal',
'Juvenile Hall Detention Abuse - ACTS - LOSG - TC - Shield Legal',
'LA County Foster Care Abuse - ACTS - DL/Flatirons - Shield Legal',
'LA County Foster Care Abuse - ACTS - Laba Forman - Shield Legal',
'LA County Foster Care Abuse - ACTS - Levinson (TC) - Shield Legal',
'LA Juvenile Hall Abuse TV - ACTS - DL/Flatirons - Shield Legal',
'Maclaren Hall - ACTS - LOSG(TC) - Shield Legal'
)
),
leads_for_campaigns AS (
SELECT id AS leadid
FROM postgres.public.lead
WHERE casetypeid IN (SELECT id FROM campaign_case_types)
),
latest_esign_status AS (
SELECT
leadid,
MAX(date) AS latest_esign
FROM postgres.public.lead_history_status
WHERE tostatus ILIKE '%Signed e-Sign%'
GROUP BY leadid
)
SELECT
lh.**,
les.latest_esign
FROM
postgres.public.lead_history lh
JOIN leads_for_campaigns lfc ON lh.leadid = lfc.leadid
JOIN latest_esign_status les ON lh.leadid = les.leadid;
Hey there, I believe you should have access now!
Let me know if you have any issues.
TIP Operations Team Board <-- link to all tables here:
I believe Edward just gave you View access so you shouldn't be able to break anything
but if you aren't able to see any of those boards, or find any breaks let me know
Thank you very much James! I'll go ahead and give it a look!
Omg man, thanks again! I'm currently working with the "Information by Case Status" and I can tell this is going to be very helpful!
Super quick question, I may have missed it but would you happen to have any filters for e sign date on the leads?
If a lead is e-signed, and in a billable status it is "billable" (Is currently billable Yes / No") The earliest instance of it being e-signed is the billable date.
Oh gotcha! that is perfect! I saw that I can schedule reports on it so this will be pretty rad!
Cool- Just a reminder on it, make sure you refresh the data every lil bit- it's refreshes about every 15 minutes, but under odd circumstances sometimes the data can be as old as a few hours.
Hey James! Sorry for the bother again lol. Was I also getting access to this one by chance? https://shieldlegal.cloud.looker.com/dashboards/154?Lawruler%20Lead%20Status%20Current=&Lawruler%20Case%20Type%20Name=&Marketing%20Source=&Billable%20Date%20Time=this%20day|https://shieldlegal.cloud.looker.com/dashboards/154?Lawruler%20Lead%20Status%20Current=&Law[…]&Marketing%20Source=&Billable%20Date%20Time=this%20day
Oh no probs! Thank you so much again! This is opening so many doors 🙏:skintone3:
Got pulled into a huddle with Ryan, but I can check after
Funny enough, you both asked related things
Ryan just asked me to start building a RBAC system for all of the dashboards
Oh nice lol! Looks like he might be trying to do the same thing
So since this has no actual financial numbers, I went ahead and copied this dashboard into TIP - Operations Team Board
Cleaning up that now so It's a little easier to use