JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Share
Explore
KA Dashboard
KA Dashboard
Overview
Tổng quan toàn bộ quy trình
1 - Push data
Sử dụng Google Apps Script đẩy data từ database sang Google Sheet với 5 Source tương ứng với 5 Sheet chính:
Volume - Ops - Ops cost detail - GHN - Transit
Link Google Sheet
Những thuộc tính cần sử dụng trong mỗi Source:
Volume - tính cho những partner dành cho 5 kênh GHN
Sector, day, week, month, partner, services, city_id, fulfill, stoppoint, partner_fee, driver_fee, revenue, diff_2pricing, discount.
Ops - tính incentive cost HUB, ECOM, TRUCK và có thêm volume của TRUCK
period, city_id, services, refferal_cost, cross_services, non_cross_services, total_cost_supplier, stoppoint, cps, gsv, revenue, bd_cost, gp1, total_cost_gsv, cost_gsv_pct.
Ops cost detail
period, city_id, category, services, cost.
Transit - cost của TRUCK
period, city_id, sector, pickup, transit_cost.
GHN - volume theo nhánh BIKE, HUB theo GHN
period, city, cate, requested, fulfill, completed, gsv, revenue
Tạo sheet Target được import từ sheet khác
day, city, service, stoppoints, ops_cost, bd_cost, gsv, cost_gsv, internal_target_gsv.
2 - Extracting & transforming data
Google Sheet
Từ 5 sheet chính, tạo thành những sheet khác có data phù hợp cho từng report.
Note
Outsourcing
outsourcing_cost
=
stoppoint
* 4600
2. Summary
intencive_cost
= Vlookup từ sheet
Ops
transit_cost
= lấy sum(transit_cost) từ sheet
Transit
theo ngày tháng cần lấy và theo khu vực SGN, HAN
outsourcing_cost
= Vlookup từ sheet
OutSourcing
3. WH_stp
transit_cost
=Query từ sheet
Summary
tính tổng theo tháng và cả 2 khu vực
outsourcing_cost
=Query từ sheet
Summary
tính tổng theo tháng và cả 2 khu vực
Data Studio
Link DataStudio
Thêm tất cả data đã xử lý từ Google Sheet vào DataStudio
Setup metrics cho từng Data source
Công thức tính cho từng metrics được thêm vào
Blend data
Từ bộ data đã được xử lý tạo thành những Data source có data cần cho report
3 - Uploading data & completing report
Tổng quan về nội dung report
Note
Data màu xanh dương như
GHN target vs actual, Ecom actual vs target, ....
là những data đã được blend từ data source
Data xanh lá như
Volume, Summary,...
là những data source đã được xử lý và thêm metrics.
4 - Trigger
Set up trigger chạy tự động các Function trên Google Apps Script
Chọn function đã add
Chọn event source: Time-driven
Thời gian trigger: theo ngày, mỗi ngày từ 4am đến 5am, thông báo qua mail mỗi ngày.
Nếu có function nào auto trigger không thành công:
Chọn function và run
Overview
1 - Push data
Những thuộc tính cần sử dụng trong mỗi Source:
2 - Extracting & transforming data
Google Sheet
Note
Data Studio
Thêm tất cả data đã xử lý từ Google Sheet vào DataStudio
Setup metrics cho từng Data source
Công thức tính cho từng metrics được thêm vào
Blend data
3 - Uploading data & completing report
Tổng quan về nội dung report
Note
4 - Trigger
Set up trigger chạy tự động các Function trên Google Apps Script
Nếu có function nào auto trigger không thành công:
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.