...
대쉬보드를 생성하고 차트나 그리드등을 추가하기 위해서 대쉬보드 편집화면에서 "Row+"버튼을 이용하여 row를 생성하고, "Row-"버튼을 이용하여 아래쪽부터 row를 삭제할 수 있다. Row에 판넬을 생성했다면 그 판넬을 삭제한 이후에 삭제할 수 있다. Chart+, Grid+, HTML+, URL+ 버튼을 이용하여 row에 판넬을 추가할 수 있다. 판넬의 내용으로 저장해 둔 차트나 그리드를 선택할 수 있다. 단, 사용자로부터 입력을 받는 입력 매개변수를 갖는 차트와 그리드는 판넬에 등록할 수 없다.
...
HTML+ 버튼을 이용하여 HTML 또는 자바스크립트, chart.js를 이용하는 jquery 데이터를 표시할 수 있다. ID 애트리뷰트를 설정했다면, 다른 대쉬보드 구성요소와 동일한 값이 설정될 수 있으므로, ID를 "_ID"로 지정하여 사용하면 된다.
URL을 이용하여 접근할 때에는 'X-Frame-Options'
...
Chart
It can search the results with Graph by using query statements. Users can check the query results in the "Result" and select preferences in the "Setting" tab. The contents of the settings can be checked in the "Chart" tab.
MWA supports "Builder" to create time series chart easily. Users can set time intervals that will be aggregated with columns of X axis and specify a column that will be used for Y axis. If a column of Y axis has numeric values, functions like SUM and AVERAGE can be used. If not, Record Count can be used. For time series graph, line chart is set as default. The default settings can be changed in the "Setting" tab.
If you want to make Grid displayed on the bottom of Chart screen, click "Config" button and then select columns from "Columns" tab. When you add random numbers for Width, it determines width of columns after calculating the ratio from the sum of the width. For example, each column of width is 1, 2, 1 respectively, then, width of each column would be 25%, 50% and 25%.
When you are using Chart and want to use variables of query statements by entering them directly, you must register variables to "Variables" tab first by using "Config" button. Text, number, date, time, datetime, and select can be used for variables. Variable name can be encapsulated with { } in a query statement. Then, it can be replaced with data that the user inserted. It is simply replacing the variable name with the user inserted data, thus, if strings are used, these strings must be quoted. For SELECT statement, users need to separate items by using ',' in the options. In this case, the first item would be the default value.
Code Block |
---|
e.g.: SELECT * FROM TEST_TABLE WHERE C3 = '{V3}' |
If you click "Preview" button, it will display the result before saving the data. In the View screen, if you use "Output" button, the results can be saved in Excel, JSON, CSV and TDE(Tableau data extract). If you store the results in excel file, the chart results will be converted and displayed in a very similar format.
Grid
It allows you to issue queries and retrieve the selected results in table format. You can also retrieve the columns that you want to see excluding columns that you don't need to see from the list.
With "Builder" button, you can easily create WHERE clause of a query statement. However, this button only provides simple features so if a function is required for WHERE clause or complicated query statements are required, it is better to type query statements by yourself.
If you want to select desired columns, click "Config" button and specify a title and width for a column by using "+" button from "Columns" tab. When a random number is inserted for width, it calculates the ratio of width with the inserted number and then determine the width of a column.
If you want to create query statements in the "Variables" tab, users can retrieve data that they want to check by setting variables. Enclose "Variable Name" with { } in a query statement and execute it. Then, it will replace the enclosed variable name with contents that the user inserted. It only transforms {Variable Name} to the user input so that it requires quotation marks for string characters.
ex) SELECT * FROM TEST_TABLE WHERE C3 = '{V3}
"Preview" button enables you to preview the results before saving them.
Click "Output" button from View screen to store the results in Excel, JSON, CSV, or TDE(Tableau data extract) format값에 따라 접근할 수 없는 경우가 있으므로 주의해야 한다. 데쉬보드의 각 패널은 각각 리프래쉬 설정을 할 수 있다.
Chart
SQL질의를 그래프로 표시할 수 있다. Chart의 Result탭에서 질의결과를 확인할 수 있고 Setting tab에서 차트 표시에 관련한 파라메터를 설정할 수 있으며, 결과로 표시되는 차트는 Char 탭에서 확인할 수 있다.
MWA는 시계열 차트를 쉽게 생성할 수 있는 "Builder"를 제공한다. 사용자는 집계할 시간 간격을 설정할 수 있고, X축과 Y축에 해당되는 데이터를 설정할 수 있다. Y축 값이 숫자인 경우, SUM 또는 AVERAGE와 같은 함수를 사용할 수 있다. 숫자가 아닌 경우, 레코드 카운트를 이용하여 표시할 수 있다. 시계열 그래프를 생성하면 기본으로 라인 차트를 생성한다. 기본 설정은 Setting 탭에서 변경할 수 있다. 차트 화면의 아래쪽에 그리드를 표시하려면 Config 버튼을 클릭하고 원하는 칼럼을 Columns탭에서 선택한다. 칼럼 데이터를 그리드에 표시할 때 좌우 폭은 비율에 따라 설정된다. 예를 들어 Width에 1, 2, 1의 값을 주면 화면 표시 비율은 25%, 50%, 25%의 순으로 설정된다.
질의문을 실행할 때, 입력 매개변수를 설정할 수 있다. 입력매개변수는 Variables 탭에서 Config 버튼으로 등록해야 한다. 매개변수의 type은 Text, number, date, time, datetime, 및 select query를 선택할 수 있다.
질의문에서 매개변수의 이름은 {} 문자로 둘러싸서 기술한다. 질의가 실행될 때, 매개변수는 사용자가 입력한 값으로 치환된다. 단순히 치환하므로 문자열을 사용할 경우 따옴표를 이용해야 한다. SELECT문의 경우 옵션에서 ',' 문자를 이용하여 분리해야 한다.
Code Block |
---|
e.g.: SELECT * FROM TEST_TABLE WHERE C3 = '{V3}' |
Preview 버튼으로 차트 설정을 저장하지 않고 차트 데이터를 표시할 수 있다. View 탭에서 Output 버튼으로 결과값을 Excel, JSON, csv, TDE(Tableau data extract) 타입의 파일로 저장할 수 있다.
Grid
질의 결과를 테이블 형태로 표시하기 위해서 Grid를 사용한다. 질의 결과에서 필요하지 않은 칼럼을 제외하고 표시할 수도 있다. Builder버튼을 이용하여 WHERE절을 작성하는데 도움을 받을 수 있다. 단, 이 기능은 단순 조건절만을 지원한다. 결과데이터에서 특정 칼럼만을 선택하려면 Config버튼을 클릭하여 Columns 탭에서 "+"버튼을 클릭한 후, 타이틀과 출력 너버 설정을 하고 사용할 수 있다.
Column width는 chart의 grid설정에서 설명한 것 처럼 백분율 비율로 처리된다. 질의 매개변수 설정 또한 Chart와 같은 기능을 수행한다. Output에서 질의 결과를 다양한 파일로 저장할 수 있는 점도 차트와 동일한 기능이다.
Query
SQL
It can select results from a database. by issuing query statements. Inserted contents will be displayed on the right panel if LIMIT or DURATION is not used.
...