Repository: kylin
Updated Branches:
  refs/heads/document 46da08607 -> 5889e32d1


format update

Signed-off-by: shaofengshi <shaofeng...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/5889e32d
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/5889e32d
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/5889e32d

Branch: refs/heads/document
Commit: 5889e32d1c51da0a731feb2676f6dd5948ce558d
Parents: 46da086
Author: joannahe <hejin...@gmail.com>
Authored: Tue Dec 5 17:13:36 2017 +0800
Committer: shaofengshi <shaofeng...@apache.org>
Committed: Tue Dec 5 17:43:30 2017 +0800

----------------------------------------------------------------------
 website/_docs21/tutorial/Qlik.cn.md             |  49 +++++++++----------
 website/_docs21/tutorial/Qlik.md                |  37 ++++++++------
 website/images/tutorial/2.1/Qlik/measure.png    | Bin 34087 -> 0 bytes
 .../tutorial/2.1/Qlik/odbc_connection.png       | Bin 43145 -> 254828 bytes
 4 files changed, 44 insertions(+), 42 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/5889e32d/website/_docs21/tutorial/Qlik.cn.md
----------------------------------------------------------------------
diff --git a/website/_docs21/tutorial/Qlik.cn.md 
b/website/_docs21/tutorial/Qlik.cn.md
index d4e6536..0423b9d 100644
--- a/website/_docs21/tutorial/Qlik.cn.md
+++ b/website/_docs21/tutorial/Qlik.cn.md
@@ -12,7 +12,7 @@ Qlik Sense 是新一代自助式数据可视化工å…
·ã€‚它是一款完整的商
 
 有关安装信息,参考页面 [Kylin ODBC 
驱动](http://kylin.apache.org/cn/docs21/tutorial/odbc.html).
 
-###安装 Qlik Sense
+### 安装 Qlik Sense
 
 有关 Olik Sense 的安装说明,请访问 [Qlik Sense Desktop 
download](https://www.qlik.com/us/try-or-buy/download-qlik-sense).
 
@@ -20,29 +20,30 @@ Qlik Sense 是新一代自助式数据可视化工å…
·ã€‚它是一款完整的商
 
 配置完本地 DSN 并成功安装 Qlik Sense 
后,可执行以下步骤来用 Qlik Sense 连接 Apache Kylin:
 
-1. 打开 **Qlik Sense Desktop**.
-2. 输入 Qlik 用户名和密ç 
ï¼ŒæŽ¥ç€ç³»ç»Ÿå°†å¼¹å‡ºä»¥ä¸‹å¯¹è¯æ¡†ã€‚单击**创建新应用程序**.
+- 打开 **Qlik Sense Desktop**.
 
-![Create New 
Application](../../images/tutorial/2.1/Qlik/welcome_to_qlik_desktop.png)
 
-3. 为新建的应用程序指定名称. 
+- 输入 Qlik 用户名和密ç 
ï¼ŒæŽ¥ç€ç³»ç»Ÿå°†å¼¹å‡ºä»¥ä¸‹å¯¹è¯æ¡†ã€‚单击**创建新应用程序**.
 
-![Specify a unique 
name](../../images/tutorial/2.1/Qlik/create_new_application.png)
+![](/images/tutorial/2.1/Qlik/welcome_to_qlik_desktop.png)
 
-4. 应用程序视图中有两个选项,选择下方的**脚本编辑器**。
+- 为新建的应用程序指定名称. 
 
-![Select Script Editor](../../images/tutorial/2.1/Qlik/script_editor.png)
+![](/images/tutorial/2.1/Qlik/create_new_application.png)
 
-5. 此时会显示 **数据加
载编辑器**的窗口。单击页面右上方的**创建新连接**并选择**ODBC**。
+- 应用程序视图中有两个选项,选择下方的**脚本编辑器**。
 
-![Create New Data 
Connection](../../images/tutorial/2.1/Qlik/create_data_connection.png)
+![](/images/tutorial/2.1/Qlik/script_editor.png)
 
-6. Select **DSN** you have created, ignore the account information, and then 
click **Create**. 
-7. 选择你创建的**DSN**,忽略账户信息,点击**创建**。
+- 此时会显示 **数据加
载编辑器**的窗口。单击页面右上方的**创建新连接**并选择**ODBC**。
 
-![ODBC Connection](../../images/tutorial/2.1/Qlik/odbc_connection.png)
+![Create New Data 
Connection](/images/tutorial/2.1/Qlik/create_data_connection.png)
 
-###配置Direct Query连接模式
+- 选择你创建的**DSN**,忽略账户信息,点击**创建**。
+
+![ODBC Connection](/images/tutorial/2.1/Qlik/odbc_connection.png)
+
+### 配置Direct Query连接模式
 修改默认的脚本中的"TimeFormat", "DateFormat" and "TimestampFormat" 为
 
 `SET TimeFormat='h:mm:ss';`
@@ -55,7 +56,7 @@ Qlik Sense 是新一代自助式数据可视化工å…
·ã€‚它是一款完整的商
 
 下面的截图展现了一个连接了 *Learn_kylin* 项目中的 
*kylin_sales_cube* 的Direct Query的脚本。
 
-![Script](../../images/tutorial/2.1/Qlik/script_run_result.png) 
+![Script](/images/tutorial/2.1/Qlik/script_run_result.png) 
 
 Qlik sense会基于你
定义的这个脚本在报表中相应的生成SQL查询。
 
@@ -69,7 +70,7 @@ Qlik sense会基于你
定义的这个脚本在报表中相应的生成SQL查询
 
 请确保将脚本中`LIB CONNECT TO 'kylin';` 
部分引用的DSN进行相应的修改。 
 
-```sql
+```SQL
 SET ThousandSep=',';
 SET DecimalSep='.';
 SET MoneyThousandSep=',';
@@ -127,30 +128,26 @@ on (KYLIN_COUNTRY.COUNTRY=KYLIN_ACCOUNT.ACCOUNT_COUNTRY)
 
 点击窗口右上方的**加载数据**,Qlik sense会æ 
¹æ®è„šæœ¬æ¥ç”ŸæˆæŽ¢æµ‹æŸ¥è¯¢ä»¥æ£€æŸ¥è„šæœ¬çš„语法。
 
-![Load Data](../../images/tutorial/2.1/Qlik/load_data.png)
+![Load Data](/images/tutorial/2.1/Qlik/load_data.png)
 
-###创建报表
+### 创建报表
 
 点击左上角的**应用程序视图**。
 
-![Open App Overview](../../images/tutorial/2.1/Qlik/go_to_app_overview.png)
+![Open App Overview](/images/tutorial/2.1/Qlik/go_to_app_overview.png)
 
 点击**创建新工作表**。
 
- Click **Create new sheet** on this page.
-
-![Create new sheet](../../images/tutorial/2.1/Qlik/create_new_report.png)
+![Create new sheet](/images/tutorial/2.1/Qlik/create_new_report.png)
 
 选择一个图标类型,将维度和度量根据需要添加到图表上。
 
-![Select the required charts, dimension and 
measure](../../images/tutorial/2.1/Qlik/add_dimension.png)
+![Select the required charts, dimension and 
measure](/images/tutorial/2.1/Qlik/add_dimension.png)
 
 图表返回了结果,说明连接Apache Kylin成功。
 
 现在你可以使用Qlik sense分析Apache Kylin中的数据了。
 
-![View data in Qlik Sense](../../images/tutorial/2.1/Qlik/report.png)
+![View data in Qlik Sense](/images/tutorial/2.1/Qlik/report.png)
 
 请注意如果你希望你的报表可以击中Cube,你在Qlik 
sense中定义的度量需要和Cube上定义的一致。比如,为了击中Learn_kylin项目的
 *Kylin_sales_cube* 我们在本例中使用`sum(price)`。
-
-![Create Measure that can hit on 
Cube](../../images/tutorial/2.1/Qlik/measure.png)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/kylin/blob/5889e32d/website/_docs21/tutorial/Qlik.md
----------------------------------------------------------------------
diff --git a/website/_docs21/tutorial/Qlik.md b/website/_docs21/tutorial/Qlik.md
index 5b0cf09..ae5041e 100644
--- a/website/_docs21/tutorial/Qlik.md
+++ b/website/_docs21/tutorial/Qlik.md
@@ -1,17 +1,17 @@
 ---
 layout: docs21
-title:  Integration with Qlik Sense
+title: Qlik Sense
 categories: tutorial
 permalink: /docs21/tutorial/Qlik.html
 ---
 
-Qlik Sense delivers intuitive platform solutions for self-service data 
visualization, guided analytics applications, embedded analytics and reporting. 
It is a new player in the Business Intelligence (BI) tools world, with a high 
growth since 2013. It has connectors with Hadoop Database (Hive and Impala). 
Now it can be integrated with Apache Kylin. This article will guide you to 
connect Apache Kylin with Qlik Sense.  
+Qlik Sense delivers intuitive platform solutions for self-service data 
visualization, guided analytics applications, embedded analytics, and 
reporting. It is a new player in the Business Intelligence (BI) tools world, 
with a high growth since 2013. It has connectors with Hadoop Database (Hive and 
Impala). Now it can be integrated with Apache Kylin. This article will guide 
you to connect Apache Kylin with Qlik Sense.  
 
 ### Install Kylin ODBC Driver
 
 For the installation information, please refer to [Kylin ODBC 
Driver](http://kylin.apache.org/docs21/tutorial/odbc.html).
 
-###Install Qlik Sense
+### Install Qlik Sense
 
 For the installation of Qlik Sense, please visit [Qlik Sense Desktop 
download](https://www.qlik.com/us/try-or-buy/download-qlik-sense).
 
@@ -19,28 +19,35 @@ For the installation of Qlik Sense, please visit [Qlik 
Sense Desktop download](h
 
 After configuring your Local DSN and installing Qlik Sense successfully, you 
may go through the following steps to connect Apache Kylin with Qlik Sense.
 
-1. Open **Qlik Sense Desktop**.
-2. Input your Qlik account to login, then the following dialog will pop up. 
Click **Create New Application**.
+- Open **Qlik Sense Desktop**.
+
+
+
+- Input your Qlik account to log in, then the following dialog will pop up. 
Click **Create New Application**.
 
 ![Create New 
Application](../../images/tutorial/2.1/Qlik/welcome_to_qlik_desktop.png)
 
-3. Specify a name for the new app. 
+- Specify a name for the new app. 
+
 
 ![Specify a unique 
name](../../images/tutorial/2.1/Qlik/create_new_application.png)
 
-4. There are two choices in the Application View. Please select the bottom 
**Script Editor**.
+- There are two choices in the Application View. Please select the bottom 
**Script Editor**.
+
 
 ![Select Script Editor](../../images/tutorial/2.1/Qlik/script_editor.png)
 
-5. The Data Load Editor window shows. Click **Create New Connection** and 
choose **ODBC**.
+- The Data Load Editor window shows. Click **Create New Connection** and 
choose **ODBC**.
+
 
 ![Create New Data 
Connection](../../images/tutorial/2.1/Qlik/create_data_connection.png)
 
-6. Select **DSN** you have created, ignore the account information, and then 
click **Create**. 
+- Select **DSN** you have created, ignore the account information and then 
click **Create**. 
+
 
 ![ODBC Connection](../../images/tutorial/2.1/Qlik/odbc_connection.png)
 
-###Configure Direct Query mode
+### Configure Direct Query mode
 Change the default scripts of "TimeFormat", "DateFormat" and "TimestampFormat" 
to:
 
 `SET TimeFormat='h:mm:ss';`
@@ -48,7 +55,7 @@ Change the default scripts of "TimeFormat", "DateFormat" and 
"TimestampFormat" t
 `SET TimestampFormat='YYYY-MM-DD h:mm:ss[.fff]';`
 
 
-Given the Peta-byte scale Cube size in a usual Apache Kylin environment, we 
recommend user to use Direct Query mode in Qlik Sense and avoid importing data 
into Qlik sense.
+Given the Peta-byte scale Cube size in a usual Apache Kylin environment, we 
recommend user to use Direct Query mode in Qlik Sense and avoid importing data 
into Qlik Sense.
 
 You are able to enable Direct Query mode by typing `Direct Query` in front of 
your query script in Script editor.
 
@@ -68,7 +75,7 @@ The whole script has been posted for your reference.
 
 Make sure to update `LIB CONNECT TO 'kylin';` to the DSN you created. 
 
-```sql
+```SQL
 SET ThousandSep=',';
 SET DecimalSep='.';
 SET MoneyThousandSep=',';
@@ -128,7 +135,7 @@ Click **Load Data** on the upper right of the window, Qlik 
sense will send out i
 
 ![Load Data](../../images/tutorial/2.1/Qlik/load_data.png)
 
-###Create a new report
+### Create a new report
 
 On the top left menu open **App Overview**.
 
@@ -146,6 +153,4 @@ You will get your worksheet and the connection is complete. 
Your Apache Kylin da
 
 ![View data in Qlik Sense](../../images/tutorial/2.1/Qlik/report.png)
 
-Please note that if you want the report to hit on Cube, you need to create the 
measure eaxctly as those are defined in the Cube. For the case of 
*Kylin_sales_cube* in Learn_kylin project. We use `sum(price)` as an example. 
-
-![Create Measure that can hit on 
Cube](../../images/tutorial/2.1/Qlik/measure.png)
\ No newline at end of file
+Please note that if you want the report to hit on Cube, you need to create the 
measure exactly as those are defined in the Cube. For the case of 
*Kylin_sales_cube* in Learn_kylin project. We use `sum(price)` as an example. 

http://git-wip-us.apache.org/repos/asf/kylin/blob/5889e32d/website/images/tutorial/2.1/Qlik/measure.png
----------------------------------------------------------------------
diff --git a/website/images/tutorial/2.1/Qlik/measure.png 
b/website/images/tutorial/2.1/Qlik/measure.png
deleted file mode 100644
index 68f5db3..0000000
Binary files a/website/images/tutorial/2.1/Qlik/measure.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/kylin/blob/5889e32d/website/images/tutorial/2.1/Qlik/odbc_connection.png
----------------------------------------------------------------------
diff --git a/website/images/tutorial/2.1/Qlik/odbc_connection.png 
b/website/images/tutorial/2.1/Qlik/odbc_connection.png
index c041190..81ffa60 100644
Binary files a/website/images/tutorial/2.1/Qlik/odbc_connection.png and 
b/website/images/tutorial/2.1/Qlik/odbc_connection.png differ

Reply via email to