-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsample_both.yaml
More file actions
23 lines (19 loc) · 1.22 KB
/
Copy pathsample_both.yaml
File metadata and controls
23 lines (19 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 드릴다운(┌, 일명 ㄱ자) 표 데이터 — orient: both (행·열 모두 드릴다운, 2D 교차표)
# 계(소계)와 총계는 data 최소단위에서 자동 합산됨 — 직접 적지 않는다.
title: "사업부 × 연도 매출"
unit: "단위: 억원"
corner_label: "사업부 \ 연도"
row_groups: # 행 그룹: 항목 → 세부
- { label: A사업부, details: [국내, 해외] }
- { label: B사업부, details: [국내, 해외] }
col_groups: # 열 그룹: 항목 → 세부
- { label: "2023", details: [상반기, 하반기] } # 연도는 문자열로(따옴표)
- { label: "2024", details: [상반기, 하반기] }
# data[행그룹][행세부][열그룹][열세부] = 최소단위 값 (계/총계는 자동 합산)
data:
A사업부:
국내: { "2023": { 상반기: 700, 하반기: 750 }, "2024": { 상반기: 780, 하반기: 820 } }
해외: { "2023": { 상반기: 450, 하반기: 500 }, "2024": { 상반기: 470, 하반기: 530 } }
B사업부:
국내: { "2023": { 상반기: 300, 하반기: 320 }, "2024": { 상반기: 310, 하반기: 330 } }
해외: { "2023": { 상반기: 250, 하반기: 260 }, "2024": { 상반기: 270, 하반기: 280 } }