SlideShare a Scribd company logo
1 of 38
使用
王建凱 Jian-Kai Wang
疾病管制署
jkw@cdc.gov.tw
http://jiankaiwang.no-ip.biz/
2017/12/28
資料分析工具於傳染病應用
至微軟下載中心下載 Power BI [連結]
課前準備 下載 Power BI 及註冊帳號(可參考 https://goo.gl/KsKuPr)
1 於 Power BI 網頁進行註冊2
1. 開啟 Power BI 並點擊登入
2. 點選「免費試用」
需填入工作單位電子信箱,不可為通用信箱,
不可用 gmail.com, hotmail.com, yahoo.com
2
課程結束後應該會學到 …
• Power BI 概念與架構
• 使用 Power BI 存取雲端數據
• 使用 Power BI 建置資料模型
• 開發視覺化互動性分析報表
• 使用行動裝置存取 Power BI
3
BI 是 ?
商業智慧,又稱商業智慧或商務智慧,
指用現代資料倉庫技術、線上分析技
術、資料挖掘和資料展現技術進行資
料分析以實現商業價值。
Wikipedia (2016)
Gartner (2017)
前瞻性
執
行
力
領導者
4
思考邏輯 分析三部曲 5
「提出問題」
「問對問題」
要取得哪些資料 ?
要取得哪些欄位 ?
要進行函式處理 ?
要使用哪些圖表 ?
剩下的,交給 Power BI 吧 !
Power BI
1
2
3
Power BI 分析流程 6
Power View
Power Pivot
Power Query
Power Query – 蒐集
蒐集外部資料及內部資料來源
Power Pivot – 分析
建立數據關聯模型及加值處理
Power View – 呈現
互動式智慧視覺效果
無法回答問題 ?
開始使用 Power BI 吧 ! 7
下載了 Power BI 桌面版
已經申請好了 Power BI 帳號
下載好所有必要的資料集
Check list
下載「類流感健保門診及住院就診人次
統計資料 (NHI_Influenza_like_illness.csv)」
下載「縣市代號對照 (city.csv)」
取得資料集
8
使用 資料分析工具
• Power BI 操作介面
• Power Query
• Power Pivot
• Power View
主要功能列
Power BI 流程管控
Power View
報表編輯區
Power Query
取得資料與資料處理
Power Pivot
資料關聯性建立
面板切換頁
Power View
圖表編輯區
Power Query
Power Pivot
建立的資料欄位
圖表製作區域
9
• 輕鬆轉換與合併多個資料來源的資料。
• 透過GUI重塑、篩選、合併及附加各種不同資料來源的資料集。
Power Query
蒐集 整理
建模 分析
呈現
10
Power Query 可能會遇到的問題 資料前處理 11
注意編碼問題
調整頭一列為標題
修改表格名稱
修改欄位名稱
資料型態 : 縣市代碼為文字,
年週、病例數為整數
Check list
需視資料狀況調整檔案原點
微軟 Office, Power BI 中文編碼預設為 Big5
建議點擊「編輯」進入更多資料前處理選項
Power Query 鍵結資料 關鍵步驟提醒 12
1
取得資料來源
(內含多種資料
庫來源)
2
建議選擇「編
輯」進行資料
前處理
注意資料型態。
套用步驟就是
上/下一步。
3
• 主要功能為塑造資料模型,提供 Power View 視覺化資料
• 透過建立關聯、自訂量值、函式處理等,配合 In-memory 技術增加資料量
Power Pivot
蒐集 整理
建模 分析
呈現
13
Power BI 支援微軟 Excel 函式 常用函式列表 14
N
N
'05' 0
0
5 0
0
資料整合 資料清理 資料轉換
IF 檢查條件
COUNTIF 條件計數
DATEDIF 日期差値
LEN 字串長度
MID 中間子字串
LEFT 左取字串
RIGHT 右取字串
CONCATENATE 字串組合
VLOOKUP 搜尋與回傳
LOOPUP 搜尋與回傳
DATE 搜尋與回傳
YEAR 取得年份
MONTH 取得月份
TODAY 今日日期
NOW 今日日期時間
VALUE 轉換數字
INT 轉換整數
FIND 搜尋子字串
TYPE 資料屬性
RAND 0-1 亂數
其他常用
DAX 函式 : https://msdn.microsoft.com/en-us/library/ee634396.aspx
鍵結第二資料來源並建立資料關聯 關鍵步驟提醒 15
1 第二資料來源及前處理 建立資料間關聯 (滑鼠拖曳或管理關聯)2
DAX 函式的運用 舉關聯性資訊為例 16
1 新增資料欄位 2 DAX 函式取得關聯性表中的資料
• 函式原型 : RELATED(‘關聯表名稱[欄位名稱]’)
• 須注意此函式僅在建立關聯後才可使用
• 未建立關聯下取得資料可用 : VLOOKUP, LOOKUP 等函式
• 使用簡單的按鍵動作,建立互動式智慧視覺效果。
• 協助清楚理解資料的整體面向,快速決策。
Power View
蒐集 整理
建模 分析
呈現
17
視覺化圖表 元素圖表指引 18
長度 > 弧度 > 面積
顏
色
形
狀
方
式
視覺化圖表製作 關鍵步驟提醒 19
選擇合適的圖表
(使用圖表對應)
1
注意「欄位,格式,分析」的設置2
20
使用 說個好故事
• 視覺化圖庫
• 選擇合適的視覺化圖表
• 使用視覺化模組
視覺化工具車庫 Microsoft AppSource (連結) 21
加入視覺化工具 舉 Infographic Designer 為例 22
取得視覺化模組1
從市集匯入
從檔案匯入
腸病毒開放資料 健保門診及住院就診人次統計-腸病毒 (json) 23
於國發會平台 data.gov.tw 取得資料來源1 或於疾管署 data.cdc.gov.tw 取得資料來源2
https://od.cdc.gov.tw/eic/NHI_EnteroviralInfection.json
雲端資料串接 舉「健保門診及住院就診人次統計-腸病毒」為例 24
取得雲端資料來源1 取得雲端資料2 轉換成表格(右鍵)3
轉換表格欄位4 資料前處理5
Power BI 視覺化圖庫 說出一個獨特的故事 25
26
使用 整合架構
• 雲端架構下的 Power BI
• 排程自動化更新資料
• 終端使用者操作
• 共享資料
發行至 Web 27
網頁版 Power BI 線上編輯器 28
排程更新 自動化更新報表 29
Power BI Mobile
透過適用於 Windows、iOS
和 Android 的 Power BI
應用程式,隨時隨地與資料
保持連接。
30
Google Play
Apple Store
Power BI Mobile App 手機、平板 31
32
使用 進階分析
• 多樣化資料來源及連接器
• R (Open Source Statistical Programming Language)
Power BI 不只這樣而已 ! 33
Power BI 特色與總結 34
儀表板支援度高互動式報表 輕鬆建置分析模型
適用於應用程式的
內嵌視覺效果
35
使用 的現況
• BI 現況 : Power BI vs. Tableau
• 疾管暑打造資料雲端與各縣市共享防疫巨量資料
明日基礎 BI Power BI vs. Tableau 36
問題驅使
結果驅使
資料驅使
Power BI Tableau
疾管署打造共享化即時疫情資訊 雲端整合分析環境 37
連江縣
金門縣
桃園市
新北市
台北市
1. 法定傳染病統計
2. 健保就診統計資料
3. 登革熱疫情監測
基隆市
宜蘭縣
38
介紹
王建凱 Jian-Kai Wang
疾病管制署
jkw@cdc.gov.tw
http://jiankaiwang.no-ip.biz/
2017/12/28
資料分析工具

More Related Content

Similar to 2017 更新版 : 使用 Power BI 資料分析工具於傳染病應用 (Power BI Platform for Communicable Diseases in 2017)

BusinessObjects BI with HANA
BusinessObjects BI with HANABusinessObjects BI with HANA
BusinessObjects BI with HANAtasmc
 
選擇正確的Solution 來建置現代化的雲端資料倉儲
選擇正確的Solution 來建置現代化的雲端資料倉儲選擇正確的Solution 來建置現代化的雲端資料倉儲
選擇正確的Solution 來建置現代化的雲端資料倉儲Herman Wu
 
Introduction of wikirex
Introduction of wikirexIntroduction of wikirex
Introduction of wikirexRex Lo
 
Observe Changes of Taiwan Big Data Communities with Small Data (Updated)
Observe Changes of Taiwan Big Data Communities with Small Data (Updated)Observe Changes of Taiwan Big Data Communities with Small Data (Updated)
Observe Changes of Taiwan Big Data Communities with Small Data (Updated)Jazz Yao-Tsung Wang
 
基于用户行为的数据分析
基于用户行为的数据分析基于用户行为的数据分析
基于用户行为的数据分析mysqlops
 
Moss 2007 の莱ノざ残
Moss 2007 の莱ノざ残Moss 2007 の莱ノざ残
Moss 2007 の莱ノざ残garylee310
 
Kaolaso chn
Kaolaso chnKaolaso chn
Kaolaso chn36Kr.com
 
Dtcc ibm big data platform 2012-final_cn
Dtcc ibm big data platform 2012-final_cnDtcc ibm big data platform 2012-final_cn
Dtcc ibm big data platform 2012-final_cnyp_fangdong
 
20170108 微軟大數據整合解決方案- cortana intelligence suite
20170108 微軟大數據整合解決方案- cortana intelligence suite20170108 微軟大數據整合解決方案- cortana intelligence suite
20170108 微軟大數據整合解決方案- cortana intelligence suiteMeng-Ru (Raymond) Tsai
 
Silverlight 2.0 完全新手學堂,基礎入門 10 大招
Silverlight 2.0 完全新手學堂,基礎入門 10 大招Silverlight 2.0 完全新手學堂,基礎入門 10 大招
Silverlight 2.0 完全新手學堂,基礎入門 10 大招Chui-Wen Chiu
 
Ragic 数据库设计入门
Ragic 数据库设计入门Ragic 数据库设计入门
Ragic 数据库设计入门Ragic
 
逻辑数据编织 – 构建先进的现代企业数据架构
逻辑数据编织 – 构建先进的现代企业数据架构逻辑数据编织 – 构建先进的现代企业数据架构
逻辑数据编织 – 构建先进的现代企业数据架构Denodo
 
企业系统商务智能设计
企业系统商务智能设计企业系统商务智能设计
企业系统商务智能设计George Ang
 
Top100summit 腾讯-周健-服务化与体系化解决大量定制小项目开发困境
Top100summit 腾讯-周健-服务化与体系化解决大量定制小项目开发困境Top100summit 腾讯-周健-服务化与体系化解决大量定制小项目开发困境
Top100summit 腾讯-周健-服务化与体系化解决大量定制小项目开发困境drewz lin
 
Azure Data Lake 簡介
Azure Data Lake 簡介Azure Data Lake 簡介
Azure Data Lake 簡介Herman Wu
 
Wikidata 新手編輯工具箱
Wikidata 新手編輯工具箱Wikidata 新手編輯工具箱
Wikidata 新手編輯工具箱Planetoid Hsu
 
Se shang hai_04_cloudybi
Se shang hai_04_cloudybiSe shang hai_04_cloudybi
Se shang hai_04_cloudybiTech2IPO
 
李昶翰(Reborn):工作流程自動化 Microsoft Power Platform – 運用 Power BI + Power Automate ...
李昶翰(Reborn):工作流程自動化 Microsoft Power Platform –  運用 Power BI + Power Automate ...李昶翰(Reborn):工作流程自動化 Microsoft Power Platform –  運用 Power BI + Power Automate ...
李昶翰(Reborn):工作流程自動化 Microsoft Power Platform – 運用 Power BI + Power Automate ...開拓文教基金會
 

Similar to 2017 更新版 : 使用 Power BI 資料分析工具於傳染病應用 (Power BI Platform for Communicable Diseases in 2017) (20)

Linked data
Linked dataLinked data
Linked data
 
BusinessObjects BI with HANA
BusinessObjects BI with HANABusinessObjects BI with HANA
BusinessObjects BI with HANA
 
選擇正確的Solution 來建置現代化的雲端資料倉儲
選擇正確的Solution 來建置現代化的雲端資料倉儲選擇正確的Solution 來建置現代化的雲端資料倉儲
選擇正確的Solution 來建置現代化的雲端資料倉儲
 
Introduction of wikirex
Introduction of wikirexIntroduction of wikirex
Introduction of wikirex
 
Observe Changes of Taiwan Big Data Communities with Small Data (Updated)
Observe Changes of Taiwan Big Data Communities with Small Data (Updated)Observe Changes of Taiwan Big Data Communities with Small Data (Updated)
Observe Changes of Taiwan Big Data Communities with Small Data (Updated)
 
基于用户行为的数据分析
基于用户行为的数据分析基于用户行为的数据分析
基于用户行为的数据分析
 
Moss 2007 の莱ノざ残
Moss 2007 の莱ノざ残Moss 2007 の莱ノざ残
Moss 2007 の莱ノざ残
 
Kaolaso chn
Kaolaso chnKaolaso chn
Kaolaso chn
 
Dtcc ibm big data platform 2012-final_cn
Dtcc ibm big data platform 2012-final_cnDtcc ibm big data platform 2012-final_cn
Dtcc ibm big data platform 2012-final_cn
 
20170108 微軟大數據整合解決方案- cortana intelligence suite
20170108 微軟大數據整合解決方案- cortana intelligence suite20170108 微軟大數據整合解決方案- cortana intelligence suite
20170108 微軟大數據整合解決方案- cortana intelligence suite
 
Silverlight 2.0 完全新手學堂,基礎入門 10 大招
Silverlight 2.0 完全新手學堂,基礎入門 10 大招Silverlight 2.0 完全新手學堂,基礎入門 10 大招
Silverlight 2.0 完全新手學堂,基礎入門 10 大招
 
Ragic 数据库设计入门
Ragic 数据库设计入门Ragic 数据库设计入门
Ragic 数据库设计入门
 
逻辑数据编织 – 构建先进的现代企业数据架构
逻辑数据编织 – 构建先进的现代企业数据架构逻辑数据编织 – 构建先进的现代企业数据架构
逻辑数据编织 – 构建先进的现代企业数据架构
 
企业系统商务智能设计
企业系统商务智能设计企业系统商务智能设计
企业系统商务智能设计
 
Top100summit 腾讯-周健-服务化与体系化解决大量定制小项目开发困境
Top100summit 腾讯-周健-服务化与体系化解决大量定制小项目开发困境Top100summit 腾讯-周健-服务化与体系化解决大量定制小项目开发困境
Top100summit 腾讯-周健-服务化与体系化解决大量定制小项目开发困境
 
Azure Data Lake 簡介
Azure Data Lake 簡介Azure Data Lake 簡介
Azure Data Lake 簡介
 
Wikidata 新手編輯工具箱
Wikidata 新手編輯工具箱Wikidata 新手編輯工具箱
Wikidata 新手編輯工具箱
 
Emc keynote 1130 1200
Emc keynote 1130 1200Emc keynote 1130 1200
Emc keynote 1130 1200
 
Se shang hai_04_cloudybi
Se shang hai_04_cloudybiSe shang hai_04_cloudybi
Se shang hai_04_cloudybi
 
李昶翰(Reborn):工作流程自動化 Microsoft Power Platform – 運用 Power BI + Power Automate ...
李昶翰(Reborn):工作流程自動化 Microsoft Power Platform –  運用 Power BI + Power Automate ...李昶翰(Reborn):工作流程自動化 Microsoft Power Platform –  運用 Power BI + Power Automate ...
李昶翰(Reborn):工作流程自動化 Microsoft Power Platform – 運用 Power BI + Power Automate ...
 

More from Jian-Kai Wang

Deep Learning to Text
Deep Learning to TextDeep Learning to Text
Deep Learning to TextJian-Kai Wang
 
Kubernetes Basis: Pods, Deployments, and Services
Kubernetes Basis: Pods, Deployments, and ServicesKubernetes Basis: Pods, Deployments, and Services
Kubernetes Basis: Pods, Deployments, and ServicesJian-Kai Wang
 
Tools for the Reality Technology (實境技術工具介紹)
Tools for the Reality Technology (實境技術工具介紹)Tools for the Reality Technology (實境技術工具介紹)
Tools for the Reality Technology (實境技術工具介紹)Jian-Kai Wang
 
Tensorflow Extended: 端至端機器學習框架: 從概念到實作 (Tensorflow Extended: An end-to-end ML...
Tensorflow Extended: 端至端機器學習框架: 從概念到實作 (Tensorflow Extended: An end-to-end ML...Tensorflow Extended: 端至端機器學習框架: 從概念到實作 (Tensorflow Extended: An end-to-end ML...
Tensorflow Extended: 端至端機器學習框架: 從概念到實作 (Tensorflow Extended: An end-to-end ML...Jian-Kai Wang
 
從圖像辨識到物件偵測,進階的圖影像人工智慧 (From Image Classification to Object Detection, Advance...
從圖像辨識到物件偵測,進階的圖影像人工智慧 (From Image Classification to Object Detection, Advance...從圖像辨識到物件偵測,進階的圖影像人工智慧 (From Image Classification to Object Detection, Advance...
從圖像辨識到物件偵測,進階的圖影像人工智慧 (From Image Classification to Object Detection, Advance...Jian-Kai Wang
 
使用 Keras, Tensorflow 進行分散式訓練初探 (Distributed Training in Keras and Tensorflow)
使用 Keras, Tensorflow 進行分散式訓練初探 (Distributed Training in Keras and Tensorflow)使用 Keras, Tensorflow 進行分散式訓練初探 (Distributed Training in Keras and Tensorflow)
使用 Keras, Tensorflow 進行分散式訓練初探 (Distributed Training in Keras and Tensorflow)Jian-Kai Wang
 
自動化資料準備供分析與視覺化應用 : 理論與實作 (automatic data preparation for data analyzing and v...
自動化資料準備供分析與視覺化應用 : 理論與實作 (automatic data preparation for data analyzing and v...自動化資料準備供分析與視覺化應用 : 理論與實作 (automatic data preparation for data analyzing and v...
自動化資料準備供分析與視覺化應用 : 理論與實作 (automatic data preparation for data analyzing and v...Jian-Kai Wang
 
自動化系統建立 : 理論與實作 (Automatic Manufacturing System in Data Analysis)
自動化系統建立 : 理論與實作 (Automatic Manufacturing System in Data Analysis)自動化系統建立 : 理論與實作 (Automatic Manufacturing System in Data Analysis)
自動化系統建立 : 理論與實作 (Automatic Manufacturing System in Data Analysis)Jian-Kai Wang
 
CKAN : 資料開放平台技術介紹 (CAKN : Technical Introduction to Open Data Portal)
CKAN : 資料開放平台技術介紹 (CAKN : Technical Introduction to Open Data Portal)CKAN : 資料開放平台技術介紹 (CAKN : Technical Introduction to Open Data Portal)
CKAN : 資料開放平台技術介紹 (CAKN : Technical Introduction to Open Data Portal)Jian-Kai Wang
 
疾病管制署資料開放平台介紹 (Introduction to Taiwan Centers for Disease Control Open Data P...
疾病管制署資料開放平台介紹 (Introduction to Taiwan Centers for Disease Control Open Data P...疾病管制署資料開放平台介紹 (Introduction to Taiwan Centers for Disease Control Open Data P...
疾病管制署資料開放平台介紹 (Introduction to Taiwan Centers for Disease Control Open Data P...Jian-Kai Wang
 

More from Jian-Kai Wang (10)

Deep Learning to Text
Deep Learning to TextDeep Learning to Text
Deep Learning to Text
 
Kubernetes Basis: Pods, Deployments, and Services
Kubernetes Basis: Pods, Deployments, and ServicesKubernetes Basis: Pods, Deployments, and Services
Kubernetes Basis: Pods, Deployments, and Services
 
Tools for the Reality Technology (實境技術工具介紹)
Tools for the Reality Technology (實境技術工具介紹)Tools for the Reality Technology (實境技術工具介紹)
Tools for the Reality Technology (實境技術工具介紹)
 
Tensorflow Extended: 端至端機器學習框架: 從概念到實作 (Tensorflow Extended: An end-to-end ML...
Tensorflow Extended: 端至端機器學習框架: 從概念到實作 (Tensorflow Extended: An end-to-end ML...Tensorflow Extended: 端至端機器學習框架: 從概念到實作 (Tensorflow Extended: An end-to-end ML...
Tensorflow Extended: 端至端機器學習框架: 從概念到實作 (Tensorflow Extended: An end-to-end ML...
 
從圖像辨識到物件偵測,進階的圖影像人工智慧 (From Image Classification to Object Detection, Advance...
從圖像辨識到物件偵測,進階的圖影像人工智慧 (From Image Classification to Object Detection, Advance...從圖像辨識到物件偵測,進階的圖影像人工智慧 (From Image Classification to Object Detection, Advance...
從圖像辨識到物件偵測,進階的圖影像人工智慧 (From Image Classification to Object Detection, Advance...
 
使用 Keras, Tensorflow 進行分散式訓練初探 (Distributed Training in Keras and Tensorflow)
使用 Keras, Tensorflow 進行分散式訓練初探 (Distributed Training in Keras and Tensorflow)使用 Keras, Tensorflow 進行分散式訓練初探 (Distributed Training in Keras and Tensorflow)
使用 Keras, Tensorflow 進行分散式訓練初探 (Distributed Training in Keras and Tensorflow)
 
自動化資料準備供分析與視覺化應用 : 理論與實作 (automatic data preparation for data analyzing and v...
自動化資料準備供分析與視覺化應用 : 理論與實作 (automatic data preparation for data analyzing and v...自動化資料準備供分析與視覺化應用 : 理論與實作 (automatic data preparation for data analyzing and v...
自動化資料準備供分析與視覺化應用 : 理論與實作 (automatic data preparation for data analyzing and v...
 
自動化系統建立 : 理論與實作 (Automatic Manufacturing System in Data Analysis)
自動化系統建立 : 理論與實作 (Automatic Manufacturing System in Data Analysis)自動化系統建立 : 理論與實作 (Automatic Manufacturing System in Data Analysis)
自動化系統建立 : 理論與實作 (Automatic Manufacturing System in Data Analysis)
 
CKAN : 資料開放平台技術介紹 (CAKN : Technical Introduction to Open Data Portal)
CKAN : 資料開放平台技術介紹 (CAKN : Technical Introduction to Open Data Portal)CKAN : 資料開放平台技術介紹 (CAKN : Technical Introduction to Open Data Portal)
CKAN : 資料開放平台技術介紹 (CAKN : Technical Introduction to Open Data Portal)
 
疾病管制署資料開放平台介紹 (Introduction to Taiwan Centers for Disease Control Open Data P...
疾病管制署資料開放平台介紹 (Introduction to Taiwan Centers for Disease Control Open Data P...疾病管制署資料開放平台介紹 (Introduction to Taiwan Centers for Disease Control Open Data P...
疾病管制署資料開放平台介紹 (Introduction to Taiwan Centers for Disease Control Open Data P...
 

2017 更新版 : 使用 Power BI 資料分析工具於傳染病應用 (Power BI Platform for Communicable Diseases in 2017)

Editor's Notes

  1. what who when where why how