kylin-BI工具-tableau9

简介: Tableau 9 Tableau 9.x has been released a while, there are many users are asking about support this version with Apache Kylin.

Tableau 9

Tableau 9.x has been released a while, there are many users are asking about support this version with Apache Kylin. With updated Kylin ODBC Driver, now user could interactive with Kylin service through Tableau 9.x.

Apache Kylin currently doesn’t support query on raw data yet, some queries might fail and cause some exceptions in application. Patch KYLIN-1075 is recommended to get better look of query result.

For Tableau 8.x User

Please refer to Kylin and Tableau Tutorial for detail guide.

Install Kylin ODBC Driver

Refer to this guide: Kylin ODBC Driver Tutorial.
Please make sure to download and install Kylin ODBC Driver v1.2. If you already installed ODBC Driver in your system, please uninstall it first.

Connect to Kylin Server

Connect Using Driver: Start Tableau 9.1 desktop, click Other Database(ODBC) in the left panel and choose KylinODBCDriver in the pop-up window.

Provide your Sever location, credentials and project. Clicking Connect button, you can get the list of projects that you have permission to access, see details at Kylin Cube Permission Grant Tutorial.

Mapping Data Model

In left panel, select defaultCatalog as Database, click Search button in Table search box, and all tables get listed. With drag and drop to the right region, tables will become data source. Make sure JOINs are configured correctly.

Connect Live

There are two types of Connection, choose the Live option to make sure using Connect Live mode.

Custom SQL

To use customized SQL, click New Custom SQL in left panel and type SQL statement in pop-up dialog.

Visualization

Now you can start to enjou analyzing with Tableau 9.1.

Publish to Tableau Server

If you want to publish local dashboard to a Tableau Server, just expand Server menu and select Publish Workbook.



There are some limitations of Kylin ODBC driver with Tableau, please read carefully this instruction before you try it.

  • Only support “managed” analysis path, Kylin engine will raise exception for unexpected dimension or metric
  • Please always select Fact Table first, then add lookup tables with correct join condition (defined join type in cube)
  • Do not try to join between fact tables or lookup tables;
  • You can try to use high cardinality dimensions like seller id as Tableau Filter, but the engine will only return limited seller id in Tableau’s filter now.

For Tableau 9.x User

Please refer to Tableau 9.x Tutorial for detail guide.

Step 1. Install Kylin ODBC Driver

Refer to this guide: Kylin ODBC Driver Tutorial.

Step 2. Connect to Kylin Server

We recommended to use Connect Using Driver instead of Using DSN.

Connect Using Driver: Select “Other Database(ODBC)” in the left panel and choose KylinODBCDriver in the pop-up window.

Enter your Sever location and credentials: server host, port, username and password.

Click “Connect” to get the list of projects that you have permission to access. See details about permission in Kylin Cube Permission Grant Tutorial. Then choose the project you want to connect in the drop down list.

Click “Done” to complete the connection.

Step 3. Using Single Table or Multiple Tables

Limitation

  • Must select FACT table first
  • Do not support select from lookup table only
  • The join condition must match within cube definition

Select Fact Table

Select Multiple Tables.

Then click Add Table... to add a fact table.

Select Look-up Table

Click Add Table... to add a look-up table.

Set up the join clause carefully.

Keep add tables through click Add Table... until all the look-up tables have been added properly. Give the connection a name for use in Tableau.

Using Connect Live

There are three types of Data Connection. Choose the Connect Live option.

Then you can enjoy analyzing with Tableau.

Add additional look-up Tables

Click Data in the top menu bar, select Edit Tables... to update the look-up table information.

Step 4. Using Customized SQL

To use customized SQL resembles using Single Table/Multiple Tables, except that you just need to paste your SQL in Custom SQL tab and take the same instruction as above.

Step 5. Publish to Tableau Server

Suppose you have finished making a dashboard with Tableau, you can publish it to Tableau Server.
Click Server in the top menu bar, select Publish Workbook....

Then sign in your Tableau Server and prepare to publish.

If you’re Using Driver Connect instead of DSN connect, you’ll need to additionally embed your password in. Click the Authentication button at left bottom and select Embedded Password. Click Publish and you will see the result.

Tips

  • Hide Table name in Tableau

    • Tableau will display columns be grouped by source table name, but user may want to organize columns with different structure. Using “Group by Folder” in Tableau and Create Folders to group different columns.


目录
相关文章
|
4月前
|
SQL 搜索推荐 数据挖掘
一文详解报表工具和BI工具的区别
一文详解报表工具和BI工具的区别
|
7月前
|
存储 数据可视化 数据挖掘
【数据可视化和BI技术】数据可视化和BI技术的原理、方法和工具,如Tableau、Power BI
【数据可视化和BI技术】数据可视化和BI技术的原理、方法和工具,如Tableau、Power BI
110 0
|
28天前
|
数据可视化 Linux Apache
CentOS部署Apache Superset大数据可视化BI分析工具并实现无公网IP远程访问
CentOS部署Apache Superset大数据可视化BI分析工具并实现无公网IP远程访问
|
1月前
|
自然语言处理 数据可视化 数据挖掘
首批!瓴羊Quick BI完成中国信通院大模型驱动的智能数据分析工具专项测试
首批!瓴羊Quick BI完成中国信通院大模型驱动的智能数据分析工具专项测试
34 1
|
5月前
|
数据可视化 BI Apache
大数据可视化BI分析工具Apache Superset实现公网远程访问
大数据可视化BI分析工具Apache Superset实现公网远程访问
|
11月前
|
SQL 存储 JSON
BI_01_一个BI工具的痛点
BI_01_一个BI工具的痛点
102 0
自助式商业智能 (BI) 工具
本文研究全球及中国市场自助式商业智能 (BI) 工具现状及未来发展趋势,侧重分析全球及中国市场的主要企业,同时对比北美、欧洲、中国、日本、东南亚和印度等地区的现状及未来发展趋势
云商业智能 (BI) 工具
本文研究全球及中国市场云商业智能 (BI) 工具现状及未来发展趋势,侧重分析全球及中国市场的主要企业,同时对比北美、欧洲、中国、日本、东南亚和印度等地区的现状及未来发展趋势
|
SQL 搜索推荐 数据可视化
运营也用的起来的数据分析工具:Quick BI即席分析详解
数据部门是一个容易被投诉的“高危”部门,需求响应慢、数据准确性不高会影响业务的发展。 然而数据分析师每周动辄就有几十个需求在手,无限的加班也无法解决所有问题,到底怎样才能改变BI分析师的需求响应问题呢?
448 0
|
数据挖掘 BI
【视频特辑】全链路开放集成!Gartner魔力象限上榜的BI工具你也可以拥有
Quick BI作为唯一一个连续两年入选Gartner魔力象限的中国BI产品,具备强大的全链路开放集成能力,可以轻松的与企业原有系统匹配融合
166 0
【视频特辑】全链路开放集成!Gartner魔力象限上榜的BI工具你也可以拥有

热门文章

最新文章