페이지 트리

버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.

Easy Heading Macro
navigationTitle목차
selectorh1,h2
navigationExpandOptionexpand-all-by-default
navigationWidth225


목표화면Target Screen

Image RemovedImage Added


참고사항
title경영 현황 Template Report Information

실습 Download Practice Template 다운로드

위 실습 예제를 학습하기 위한 실습 Template은 아래의 보고서를 다른 이름으로 저장하여 사용합니다.

경영 현황 Template 사용 방법
포털에서 보고서를 실행합니다.
템플릿 위치

To study the practice example above, use the following report by saving it with a new name.

  • How to Use the Business Overview Template
    1. Launch the report from the portal.

      Template Path : PPDM > Templates > 1. 조회화면 Reporting > 대시보드 Dashboards > Template_경영 현황Business Overview
      Image Removed
      우측 상단의 Image Removed(다른 이름으로 저장) 버튼을 클릭하여 작업할 폴더에 저장합니다.
      저장한 보고서를 실행합니다.
      우측 상단의 Image Removed(보고서 편집) 버튼을 클릭하여 디자이너 창을 실행합니다Image Added

    2. Click the Save As Image Added button in the top right to save it to your working folder.

    3. Run the saved report.

    4. Click the Edit Report Image Added button in the top right to launch the Designer window.




Step 1.

...

Establish Inquiry Controls

Define the foundational inquiry components to drive dynamic data filtering.


1.1

...

Instantiate Components

  1. Access the [UI Bot] 을 클릭하여 menu to generate ComboBox, Calendar,   Label 컨트롤을 생성
    Image Removedand Label controls on the Designer.
    Image Added

1.2

...

Attribute Configuration

  1. In the Property Editor on the right, configure the Calendar attributes as follows:
    • Name : VS_YM_F
    • Name2 : VS_YM_T
    • InitValue : DATE(0,-12,0);DATE(0,0,0)
    Image Removed
    우측의 컨트롤 속성 편집 영역에서 다음이 ComboBox의 속성을 설정합니다.
    Image Added



  2. In the Property Editor on the right, configure the ComboBox attributes as follows:
    • Name : VS_PRODUCT
    • DataSource : CB_상품대분류ProductCategory
       더보기  More > SQL > "CB_상품대분류ProductCategory"
    • Enable UseAllItems 활성화
    • Enable AutoRefresh 활성화
    Image Removed
    우측의 컨트롤 속성 편집 영역에서 Label의 속성을 설정합니다.

    Image Added

  3. In the Property Editor on the right, configure the Label attributes:

    NameText
    LB_조회년월Period조회년월Period
    LB_제품군ProductCategory제품군Product Category


Step 2.

...

Synchronize Chart and OlapGrid

...

Leverage chart attributes to link data from the OlapGrid.


2.1 OlapGrid

...

Configuration

  1. Navigate to the DATA Form at the bottom of the report.
    Image Added

  2. Create an OlapGrid control.
    Image Added

  3. Connect Data Source to OlapGrid & Enable AutoRefresh.

    OlapGrid를 우 클릭 > 데이터소스
    정보
    titleOlapGrid 데이터소스 연결
    DataSource Connection

    Right-click OlapGrid > DataSource > i-META 메뉴를 선택해 매출분석 META 파일 선택 매출분석 경로 : 공용폴더 > Select Sales Analysis META file

    Sales Analysis Path : Public Folder > PPDM > Sample Samples > 3. i-META > "매출분석"Sales Analysis


    정보
    titleEnable AutoRefresh 활성화

    각 OlapGrid를 선택해서 나타나는 우측 속성 창에서 AutoRefresh를 활성화합니다.

    Image Removed

    Name조회 항목조회 조건연산자변수명

    Select each OlapGrid and activate AutoRefresh in the properties pane on the right.

    Image Added


    NameQuery ItemsQuery ConditionsOperatorVariable Names
    OlapGrid1
    • Column : [년월YearMonth]
    • Row : [상품대분류Product Category]
    • Data : [매출수량Quantity]
    [년월YearMonth]BETWEEN:VS_YM_F ~ :VS_YM_T
    [상품대분류Product Category]=@:VS_PRODUCT
    OlapGrid2
    • Column : [년월YearMonth]
    • Data : [매출금액Revenue Amount, 매출원가Sales Cost]
    [년월YearMonth]BETWEEN:VS_YM_F ~ :VS_YM_T
    [상품대분류Product Category]=@:VS_PRODUCT
    OlapGrid3
    • Column : [매장지역Region]
    • Data : [매출금액Revenue Amount]
    [년월YearMonth]BETWEEN:VS_YM_F ~ :VS_YM_T


  4. OlapGrid 컨트롤을 우 클릭하여 디자인 메뉴를 실행한 후 디자인 속성을 변경합니다.
    Image RemovedRight-click the OlapGrid to launch the Design menu and modify design attributes.
    Image Added

    설정 > 자동 선택 영역
    Name필드Field필드 > 계산 필드 추가Field > Calculated Field

    Option > Auto Selection Area

    OlapGrid1--
    • 자동 선택 영역 활성화
    • 범위 : 오른쪽 12, 아래쪽
    • Enable Auto Selection Area
    • Range : Right 12, Bottom 4
    OlapGrid2
    • Change [Measures] 필드 위치 변경Field Position :
      Column > Row
    • 캡션Caption : 총매출이익Gross Profit
    • 서식 Format : {0:N0}
    • 수식Formula : [매출금액Revenue Amount] - [매출원가Sales Cost]
    • 자동 선택 영역 활성화
    • 범위 : 오른쪽 12, 아래쪽 Enable Auto Selection Area
    • Range : Right 12, Bottom 2
    OlapGrid3
    • Change [매장지역] 필드 속성 변경Region] Field Attribute : 정렬 Image Removed 클릭
      Image Removed
      Click More Image Added at Sort Attribute

      Image Added
    -
    • 자동 선택 영역 활성화
    • 범위Enable Auto Selection Area
    • Range : 오른쪽 Right 4


    Image Removed

    디자인 메뉴 > 필드에서 Image Removed 신규 아이콘을 클릭하여 계산 필드를 생성할 수 있습니다.

    정보
    title계산필드 추가
    Add Calculated Field

    Navigate to Design > Field and click the AddImage Added icon to generate calculated fields.

    Image Added


2.2 Chart

...

Configuration

  1. Navigate to the MAIN Form at the bottom of the report.
    Image Added


  2. Instantiate Chart controls within the MAIN Form.
    Image Added

  3. Select each Chart control to update its Name in the property menu and link it to the OlapGrid created in the DATA form.

    NameData > OlapGrid
    Chart1DATA.OlapGrid1
    Chart2DATA.OlapGrid2
    Chart3DATA.OlapGrid3


    Chart1제품별 판매 수량곡선형
    정보
    titleOlapGrid 바인딩Binding

    Chart를 클릭해서 나타나는 우측 속성 창에서 연결하고자 하는 Grid를 지정할 수 있습니다.

    Image Removed

    디자인 메뉴를 클릭하여 디자인 속성을 변경합니다.

    Name컨트롤 배치 영역기본 > 차트 유형계열범례

    Select each Chart and designate the target Grid in the OlapGrid property field.

    Image Added



  4. Click the Design menu to modify visual attributes.

    스타일 :
    배경색상 > 투명도 위치
    NameControl AreaBasic > Chart TypeSeriesAxisLegend
    Chart1Sales Volume by ProductSpline-
    • 위치 Position : Top, Right
    • 방향 Direction : Horizontal
    Chart2월별 총 매출이익Monthly Gross Profit-
    • 매출원가 : 표시 비활성화
    • 총매출이익 차트 유형 : 곡선형Sales Cost : Deactivate Visible
    • Gross Profit Chart Type : Spline
    -
    • 위치 Position : Top, Right
    Chart3TOP5 지역 매출액곡선 영역형Regions by SalesArea Spline
    • Style :
      Background Color > Transparency > 0.1
      심볼 유형 Symbol Type > Circle
      심볼 색상 Symbol Color > #8fb8f0
    • 기타 Others : 단위 Unit > 1000000(백 만Million)
    • PlotLines :
      선 색상 Line Color > #2a3a47
      선 스타일 Line Style > Dot
      선 두께 Line Width > 1
      표시 기준값 Display Criteria > 70000(칠 만)
      기준값 표시 활성화

    • Enable Criteria Visible
    • Position : Top, Right



보고서가 정상적으로 작동하는지 확인합니다Verify the report is functioning correctly.

         Image RemovedImage Added


Step 3. Create PieChart

...

제품군별 판매현황 정보를 나타낼 도넛 차트를 생성합니다.

...

Develop a Doughnut Chart to visualize the current sales status by product category.


  1. Create a Pie-Chart control.
    Image Added

  2. Modify the control attributes
    • Name : PieChart
    • Enable AutoRefresh 활성화

    매출분석 META 파일을 활용해 데이터 소스를 연결합니다.

    조회 항목조회 조건연산자변수명[상품중분류, 매출금액][년월


  3. Bind the data source using the Sales Analysis META file.

    Query ItemsQuery ConditionsOperatorVariable Names
    [Product Subcategory, Revenue Amount][YearMonth]BETWEEN:VS_YM_F ~ :VS_YM_T
    [상품대분류Product Category]=@:VS_PRODUCT


  4. 차트 유형 변경
    차트 유형Change Chart Type
    • Chart Type : 도넛형Doughnut Chart

    Image RemovedImage Added

  5. Pie-Chart 컨트롤을 우 클릭하여 디자인 창을 실행한 후 디자인 속성을 변경합니다.

    계열범례
  6. 레이블 필드 : [상품중분류]
  7. 값 필드 : [매출금액]
  8. 서식

    Right-click the Pie-Chart to launch the Design window and modify visual attributes.

    SeriesLegend
    • Label Field : [Product Subcategory]
    • Value Field : [Revenue Amount]
    • Format : {0:N0}
    • 위치 Position : Middle, Right
    • 방향 Direction : Vertical



보고서가 정상적으로 작동하는지 확인합니다Verify the report is functioning correctly.

Image RemovedImage Added


Step 4. Configure Process Bot

...

Orchestrate automated dashboard actions and styling using Process Bot을 활용하여 보고서의 동작을 설정합니다.


4.1

...

보고서를 조회할 수 있는 버튼을 설정합니다.

...

Create Inquiry Button

Configure a button to view the report.

  1. Create a Button control
    Image Added

  2. Modify the control attributes.
    • Name : BTN_RE
    • Text : 조 회Refresh
    • Style > BoxStyle : BTN1
    Image Removed
    생성한 버튼을 우 클릭하고, 동작설정 메뉴에서 Refresh를 선택합니다.
    Image Removed
    모듈 파라미터 설정 아이콘(Image Removed)을 클릭하여,Refresh 동작을 설정합니다.
    Refresh 대상 Image Added

  3. Right-click the generated button and select Refresh from the Operation Settings menu.
    Image Added

  4. Click the Module Parameter icon (Image Added) to configure the Refresh action.
    Refresh Target : PieChart, OlapGrid1, OlapGrid2, OlapGrid3
    Image RemovedImage Added

4.2

...

Module을 활용하여 차트의 색상을 설정합니다.

Set Chart Colors

Set the chart colors using a module.

  1. Click the Process Bot 아이콘icon ()을 클릭하여 프로세스 봇 창을 실행하고, Report 더블 클릭합니다.
    Image Removed
     to launch the window and double-click the Report object.
    Image Added

  2. Navigate to Activities > Modules > 컨트롤별 Control Management > Chart > [Chart] 차트 색상 팔레트 지정 하기 모듈을 선택하고 값을 설정합니다.
    차트 선택 Change Chart Palette to select the module and set values.
    • Chart Selection : PieChart, Chart1, Chart2, Chart3색상 값 입력
      파라미터 설정이 완료되면 Report > OnDocumentLoadComplete 이벤트에 '[Chart] 차트 색상 팔레트 지정 하기' 모듈을 연결합니다.
    Image Removed
    • Enter Color Values

      Once the parameter configuration is complete, link the 'Change Chart Palette' module to the OnDocumentLoadComplete event of the Report.

    Image Added

    사용한 색상 코드
    참고사항
    iconfalse
    titleDiscription
    Description

    Used Color Codes

    #8FB8F0, #2C6DC9, #2C3765, #ABC7EE, #8F96A8, #C6CAD5, #C4D9F5, #EEF1F5



      보고서가 정상적으로 작동하는지 확인합니다Verify the report is functioning correctly.

      Image RemovedImage Added