Practice Example |Creating i-META File using i-META Designer |
---|
Step 1. Connect to DB
1.1 Connecting to the Database
- Launch i-META Designer and select [DEMO_T] in the [DB Connect] window.
1.2 Selecting Tables
Click the [Schema] to open the Schema Window.
Note : Adding Schemas and Tables
To use tables in i-META Designer, they must be registered in the Schema Manager.
Refer to Adding Schemas and Tables for instructions on registering schemas and tables.
In the Schema window, double-click the tables required for META creation and place them in the workspace.
Step 2. Set Table Join Relationships
Connect key fields between tables using Drag & Drop to establish join relaitonships.
Drag & Drop the fields to connect. The default join type is set to inner join.
Note : Changing Join Properties
After the connection, right-click to modify the connection properies from the created [Link].
Step 3. Define Meta Fields
3.1 Adding Fields
Select data fields from the table to add to the meta items.
Check all data fields from the table to add to the meta items.
- Rename the created folder.
- Folder Name : Date, Customer Info, Store Info, Product Info, Sales Performance, Sales Target
Note : Changing Folder/Field Names
To rename a folder or field in i-META items, double-click the item or press F2 key to modify.
Alternatively, right-click the item and select [Properties] - [Description] to modify.
Note : Manual Folder Creation Option
If [Table Automatic Generation] is activated in i-META Designer window [Settings], folders are created automatically.
Disable this option, when it is created manually.
Note : How to Add Folders
Right-click in the Items window to add a folder.
3.2 Defining Field Properties
Modify properties of Date and YearMonth fields, and Measure field.
- Right-click the [Date] field and select [Property]. In the Properties window, modify the settings.
Category : Period
DefaultFormat : yyyyMMdd Modify the properties of the [YearMonth] field.
Category : Period
DefaultFormat : yyyyMMModify the properties of the Measure item.
DefaultFormat : #,###0
참고 : 메타 필드 속성
명칭 | 설명 |
---|---|
Dimension | DATA 분석에 있어서 차원 또는 관점이 되는 항목 Ex) 지역구분, 고객구분 |
Measure | 분석에 사용되는 수치 데이터 Ex) 실적금액, 달성율 |
Period | 기간에 해당하는 항목 |
Atribute | Dimension 중 상세 분석에 사용될 차원 OLAP 기능 중 Detail 기능에 사용됨 |
Hierarchy Group | Field Group 생성 시 자동 지정됨 사용자 지정 불가(제품 내부 사용 속성) |
Step 4. 계층 구조 항목 추가하기
필드를 계층 구조로 생성이 가능하며, 계층 구조로 추가한 항목의 데이터는 Drill Up/Down 분석이 가능합니다.
- i-META 항목 창의 빈 공간에서 마우스 오른쪽을 클릭한 후 [계층 구조 항목 추가] 메뉴를 선택합니다.
[Field Group] 필드가 생성되었습니다. 계층 구조 항목을 'Product Group'으로 변경합니다. - 기존 필드를 복사하여 계층 구조로 표현하기 위해 필드를 복사합니다.
복사한 필드를 생성한 계층 구조 항목 그룹으로 Drag & Drog하여 이동합니다.
복사할 필드 : 상품대분류, 상품중분류
Step 5. 메타 파일 공유/배포하기
생성한 메타를 서버에 저장합니다.
- [저장] 또는 [다른 이름으로 저장] 버튼을 클릭합니다.
- 권한이 부여된 폴더에 파일명을 설정하고 [확인] 버튼을 클릭하여 저장합니다.