添加链接
注册
登录
link管理
链接快照平台
输入网页链接,自动生成快照
标签化管理网页链接
相关文章推荐
鬼畜的钢笔
·
佳能:产品说明书:Digital ...
·
1 月前
·
淡定的大脸猫
·
MySQL ...
·
1 月前
·
会开车的滑板
·
《亲子倾偈师 - ...
·
3 月前
·
低调的数据线
·
关于公布2024年各类高中集中统一招生第二批 ...
·
4 月前
·
自信的花卷
·
少夫人她又美又飒百度云章节目录_冷肆爵林傲雪 ...
·
8 月前
·
link管理
›
5 個常見的 POWER BI 資料處理功能介紹(下篇) – Sharon's Lab|雪倫實驗室
https://aderlab.com/data-analytics/power-bi-data-procedure-2/
腼腆的水龙头
6 月前
}
</noscript><div id="page" class="site"><header id="masthead" class="site-header navbar-fixed-top" role="banner"><div class="container"><div class="row"><div class="col-sm-12"><nav id="site-navigation" class="main-navigation" role="navigation"><div class="menu-%e9%81%b8%e5%96%ae-container"><ul id="primary-menu" class="menu"><li id="menu-item-12" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-12"><a href="https://aderlab.com///aboutsharon">關於Sharon</a></li><li id="menu-item-2311" class="menu-item menu-item-type-taxonomy menu-item-object-category current-post-ancestor current-menu-parent current-post-parent menu-item-has-children menu-item-2311"><a href="https://aderlab.com/data-analytics/">數據分析</a><ul class="sub-menu"><li id="menu-item-3995" class="menu-item menu-item-type-taxonomy menu-item-object-category current-post-ancestor current-menu-parent current-post-parent menu-item-3995"><a href="https://aderlab.com/data-analytics/microsoft-power-bi/">Microsoft Power BI</a></li><li id="menu-item-4678" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-4678"><a href="https://aderlab.com/data-analytics/tableau/">Tableau</a></li><li id="menu-item-3121" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3121"><a href="https://aderlab.com/data-analytics/data-studio/">Looker Studio</a></li><li id="menu-item-3122" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3122"><a href="https://aderlab.com/data-analytics/ga/">Google Analytics</a></li></ul></li><li id="menu-item-3372" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3372"><a href="https://aderlab.com/job/">職涯點滴</a></li><li id="menu-item-498" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-498"><a href="https://aderlab.com/life-note/">生活點評</a><ul class="sub-menu"><li id="menu-item-499" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-499"><a href="https://aderlab.com/life-note/lecture-note/">活動筆記</a></li><li id="menu-item-1029" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1029"><a href="https://aderlab.com/life-note/book-note/">閱讀過後</a></li><li id="menu-item-4077" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-4077"><a href="https://aderlab.com/life-note/jot/">隨手寫</a></li></ul></li><li id="menu-item-392" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-392"><a href="https://aderlab.com/facebook-ads/">數位廣告</a><ul class="sub-menu"><li id="menu-item-1574" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1574"><a href="https://aderlab.com/facebook-ads/basic-facebook-ads/">基礎Facebook廣告</a></li><li id="menu-item-1575" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1575"><a href="https://aderlab.com/facebook-ads/advanced-facebook-ads/">進階臉書廣告</a></li><li id="menu-item-315" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-315"><a href="https://aderlab.com/facebook-trend/">Facebook趨勢</a></li></ul></li><li id="menu-item-4115" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-4115"><a href="https://www.buymeacoffee.com/aderlabsharon">贊助雪倫</a></li><li id="menu-item-5389" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5389"><a target="_blank" rel="noopener" href="https://aderlab.com/free-consulting/">學生諮詢</a></li></ul></div></nav></div></div></div></header><div class="main-banner banner-enabled overlay-enabled" style="background-image: url(https://aderlab.com/wp-content/uploads/2019/10/cropped-lab-11.png);"><div class="container"><div class="row"><div class="site-branding"><h2 class="site-title"><a href="https://aderlab.com/" rel="home">Sharon Lab∣雪倫實驗室</a></h2><h3 class="site-description">數據分析師的工作日常與職場點滴</h3></div></div></div></div><div id="content" class="site-content"><div class="container"><div class="row"><div class="col-md-8 col-sm-12 layout-right-sidebar main-content-area"><div id="primary" class="content-area"><main id="main" class="site-main" role="main"><article id="post-4365" class="post-4365 post type-post status-publish format-standard has-post-thumbnail hentry category-microsoft-power-bi category-data-analytics"><div class="detail-wrap"><header class="entry-header"> <span class="cat-links"><a href="https://aderlab.com/data-analytics/microsoft-power-bi/" rel="category tag">Microsoft Power BI</a>, <a href="https://aderlab.com/data-analytics/" rel="category tag">數據分析</a></span><h1 class="entry-title">5 個常見的 POWER BI 資料處理功能介紹(下篇)</h1><div class="author-date"> <span class="author vcard"><a class="url fn n" href="https://aderlab.com/author/sharonin2160/">Sharon</a></span> <span class="separator"> / </span> <span class="posted-on">5 11 月, 2022</span></div></header><div class="entry-img"> <img width="1600" height="1080" src="https://i0.wp.com/aderlab.com/wp-content/uploads/data-processing-2.png?fit=1600%2C1080&ssl=1" class="attachment-full size-full wp-post-image" alt="" decoding="async" fetchpriority="high" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/data-processing-2.png?w=1600&ssl=1 1600w, https://i0.wp.com/aderlab.com/wp-content/uploads/data-processing-2.png?resize=300%2C203&ssl=1 300w, https://i0.wp.com/aderlab.com/wp-content/uploads/data-processing-2.png?resize=1024%2C691&ssl=1 1024w, https://i0.wp.com/aderlab.com/wp-content/uploads/data-processing-2.png?resize=768%2C518&ssl=1 768w, https://i0.wp.com/aderlab.com/wp-content/uploads/data-processing-2.png?resize=1536%2C1037&ssl=1 1536w, https://i0.wp.com/aderlab.com/wp-content/uploads/data-processing-2.png?w=1416&ssl=1 1416w" sizes="(max-width: 1600px) 100vw, 1600px"/></div><div class="entry-content"><div class="at-above-post addthis_tool" data-url="https://aderlab.com/data-analytics/power-bi-data-procedure-2/"/><p>延伸上一篇 <a href="https://aderlab.com/data-analytics/power-bi-data-procedure-1/">5 個常見的 POWER BI 資料處理功能介紹(上篇)</a>的資料處理功能介紹,這篇持續來介紹POWER BI 的資料處理功能,除了基本的資料空值處理外,這篇也會多分享資料合併、附加查詢以及檢查資料分佈情況的作法,那就開始囉!</p> <!--noindex--><div class="lwptoc lwptoc-autoWidth lwptoc-light lwptoc-notInherit" data-smooth-scroll="1" data-smooth-scroll-offset="100"><div class="lwptoc_i"><div class="lwptoc_header"> <b class="lwptoc_title">目錄</b> <span class="lwptoc_toggle"> <a href="#" class="lwptoc_toggle_label" data-label="顯示">隱藏</a> </span></div><div class="lwptoc_items lwptoc_items-visible" style="font-size:100%;"><div class="lwptoc_itemWrap"><div class="lwptoc_item"> <a href="#資料處理類型_1:附加查詢"> <span class="lwptoc_item_number">1.</span> <span class="lwptoc_item_label">資料處理類型 1:附加查詢</span> </a></div><div class="lwptoc_item"> <a href="#資料處理類型_2:空值處理"> <span class="lwptoc_item_number">2.</span> <span class="lwptoc_item_label">資料處理類型 2:空值處理</span> </a></div><div class="lwptoc_item"> <a href="#資料處理類型_3:資料分群"> <span class="lwptoc_item_number">3.</span> <span class="lwptoc_item_label">資料處理類型 3:資料分群</span> </a></div><div class="lwptoc_item"> <a href="#資料處理類型_4:合併查詢"> <span class="lwptoc_item_number">4.</span> <span class="lwptoc_item_label">資料處理類型 4:合併查詢</span> </a></div><div class="lwptoc_item"> <a href="#資料處理類型5_:資料連結"> <span class="lwptoc_item_number">5.</span> <span class="lwptoc_item_label">資料處理類型5 :資料連結</span> </a></div></div></div></div></div><!--/noindex--><h2 class="wp-block-heading"><span id="資料處理類型_1:附加查詢">資料處理類型 1:附加查詢</span></h2><p>附加查詢最常用在合併兩份資料格式一樣,且欄位一樣的資料,什麼樣的資料會需要合併呢?當我們有兩份同樣的資料,但時間軸不一樣時,附加查詢的功能就能派上用場,例如以這份信用卡的資料為例,附加查詢就可以用來合併2020年與2021年的信用卡消費資料。</p><figure class="wp-block-image size-large"><a href="https://i0.wp.com/aderlab.com/wp-content/uploads/merge-sample-1.png?ssl=1"><img decoding="async" width="708" height="425" src="https://i0.wp.com/aderlab.com/wp-content/uploads/merge-sample-1.png?resize=708%2C425&ssl=1" alt="" class="wp-image-4406" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/merge-sample-1.png?resize=1024%2C615&ssl=1 1024w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-sample-1.png?resize=300%2C180&ssl=1 300w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-sample-1.png?resize=768%2C461&ssl=1 768w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-sample-1.png?resize=1536%2C922&ssl=1 1536w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-sample-1.png?resize=2048%2C1229&ssl=1 2048w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-sample-1.png?w=1416&ssl=1 1416w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-sample-1.png?w=2124&ssl=1 2124w" sizes="(max-width: 708px) 100vw, 708px" data-recalc-dims="1"/></a></figure><p>遇到這種需要合併兩份資料的狀況,有人可能會納悶,那我在匯入資料之前把A檔案的內容複製到B檔案不就好了嗎?沒錯,不過資料檔案少的時候當然可以使用複製貼上來合併資料,但是當資料檔案高達5份、10份的時候,附加查詢的功能就會幫助我們省下非常多的合併資料處理時間。</p><p>先把兩份我們想要合併在一起的資料匯入之後,選擇其中一份檔案,以信用卡資料為例,我先選擇了「信用卡消費資料_2020」,接著就可以按下「常用」選單裡面在右側的「附加查詢」。</p><p>附加查詢可以有兩種建立的方式,一種是直接「附加查詢」,意思是會在現在的資料把另外一份資料合併進來,所以原本的資料會受到影響。另外一種是「將查詢附加為新查詢」,則是會另外建立一個新的資料集,把現在畫面的資料,跟我們預期要合併的另外一份資料都獨立出來,變成一個新的資料集,自然也不影響原始的兩份資料。</p><p>沒有一定要使用哪一種方式,如果你需要保留兩份原始的資料後續使用,就可以選擇用「將查詢附加為新查詢」,如果有沒有原始的兩份資料對你來說沒差,那直接使用「附加查詢」也沒問題。</p><figure class="wp-block-image size-large"><a href="https://i0.wp.com/aderlab.com/wp-content/uploads/merge-button.png?ssl=1"><img decoding="async" width="708" height="395" src="https://i0.wp.com/aderlab.com/wp-content/uploads/merge-button.png?resize=708%2C395&ssl=1" alt="" class="wp-image-4407" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/merge-button.png?resize=1024%2C572&ssl=1 1024w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-button.png?resize=300%2C168&ssl=1 300w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-button.png?resize=768%2C429&ssl=1 768w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-button.png?resize=1536%2C858&ssl=1 1536w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-button.png?resize=2048%2C1144&ssl=1 2048w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-button.png?w=1416&ssl=1 1416w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-button.png?w=2124&ssl=1 2124w" sizes="(max-width: 708px) 100vw, 708px" data-recalc-dims="1"/></a></figure><p>接著選擇想要合併的資料,這個功能很貼心的會告訴你目前的資料是哪一份,所以在合併的時候就不會不小心選到原本的資料。最後按下右下角的「確定」就大功告成了。</p><figure class="wp-block-image size-large"><a href="https://i0.wp.com/aderlab.com/wp-content/uploads/merge-choose.png?ssl=1"><img loading="lazy" decoding="async" width="708" height="404" src="https://i0.wp.com/aderlab.com/wp-content/uploads/merge-choose.png?resize=708%2C404&ssl=1" alt="" class="wp-image-4408" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/merge-choose.png?resize=1024%2C585&ssl=1 1024w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-choose.png?resize=300%2C171&ssl=1 300w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-choose.png?resize=768%2C439&ssl=1 768w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-choose.png?resize=1536%2C878&ssl=1 1536w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-choose.png?resize=2048%2C1170&ssl=1 2048w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-choose.png?w=1416&ssl=1 1416w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-choose.png?w=2124&ssl=1 2124w" sizes="(max-width: 708px) 100vw, 708px" data-recalc-dims="1"/></a></figure><figure class="wp-block-video"><video autoplay="" controls="" muted="" src="https://aderlab.com/wp-content/uploads/add-together.mov"/></figure><p>關於不同時間軸的檔案合併方式,除了這邊操作的附加查詢外,我之前也有分享過如何用匯入整個資料夾的方式合併不同時間軸的檔案,可以參考這篇文章:<a href="https://aderlab.com/data-analytics/power-bi-auto-updating/" target="_blank" rel="noreferrer noopener">用 POWER BI 自動更新數據,解決重複性資料整理</a>。</p><p/><h2 class="wp-block-heading"><span id="資料處理類型_2:空值處理">資料處理類型 2:空值處理</span></h2><p>將資料匯入 POWER BI 的第一步,就是先看看資料有沒有太多的空值,以及判斷空值不需要做什麼處理。比較常見的補空值的方式包括:直接補0、補平均值、補最大值、補最小值,又或是看前後欄位決定是參考上一列或是下一列的資料前後填充。</p><figure class="wp-block-image size-large"><a href="https://i0.wp.com/aderlab.com/wp-content/uploads/raw-data.png?ssl=1"><img loading="lazy" decoding="async" width="708" height="319" src="https://i0.wp.com/aderlab.com/wp-content/uploads/raw-data.png?resize=708%2C319&ssl=1" alt="" class="wp-image-4390" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/raw-data.png?resize=1024%2C462&ssl=1 1024w, https://i0.wp.com/aderlab.com/wp-content/uploads/raw-data.png?resize=300%2C135&ssl=1 300w, https://i0.wp.com/aderlab.com/wp-content/uploads/raw-data.png?resize=768%2C346&ssl=1 768w, https://i0.wp.com/aderlab.com/wp-content/uploads/raw-data.png?resize=1536%2C693&ssl=1 1536w, https://i0.wp.com/aderlab.com/wp-content/uploads/raw-data.png?resize=2048%2C924&ssl=1 2048w, https://i0.wp.com/aderlab.com/wp-content/uploads/raw-data.png?w=1416&ssl=1 1416w, https://i0.wp.com/aderlab.com/wp-content/uploads/raw-data.png?w=2124&ssl=1 2124w" sizes="(max-width: 708px) 100vw, 708px" data-recalc-dims="1"/></a></figure><p>在處理空值之前,我們需要先檢查有哪些欄位有空值狀況,雖然說這份資料很輕易的可以看到有null值,但實務上還是不建議直接用肉眼去判斷,一來是耗時耗力,二來是當資料量太大的時候,通常不太能正確檢查出來。比較建議的作法是使用 POWER BI 內建的「資料行品質」功能來檢查。</p><figure class="wp-block-image size-large"><a href="https://i0.wp.com/aderlab.com/wp-content/uploads/data-quality.png?ssl=1"><img loading="lazy" decoding="async" width="708" height="353" src="https://i0.wp.com/aderlab.com/wp-content/uploads/data-quality.png?resize=708%2C353&ssl=1" alt="" class="wp-image-4389" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/data-quality.png?resize=1024%2C511&ssl=1 1024w, https://i0.wp.com/aderlab.com/wp-content/uploads/data-quality.png?resize=300%2C150&ssl=1 300w, https://i0.wp.com/aderlab.com/wp-content/uploads/data-quality.png?resize=768%2C383&ssl=1 768w, https://i0.wp.com/aderlab.com/wp-content/uploads/data-quality.png?resize=1536%2C766&ssl=1 1536w, https://i0.wp.com/aderlab.com/wp-content/uploads/data-quality.png?resize=2048%2C1021&ssl=1 2048w, https://i0.wp.com/aderlab.com/wp-content/uploads/data-quality.png?w=1416&ssl=1 1416w, https://i0.wp.com/aderlab.com/wp-content/uploads/data-quality.png?w=2124&ssl=1 2124w" sizes="(max-width: 708px) 100vw, 708px" data-recalc-dims="1"/></a></figure><p>而以這份資料來說,透過資料行品質檢查後,我們可以發現「年月」的欄位資料空白的比例很高,細細去看資料會發現,是因為原始資料只有紀錄第一筆年月的資料,如果是跟第一筆的年月資料一樣的話,資料就會是空白的。</p><p>這種資料蠻常是因為原始資料使用了合併儲存格,合併儲存格雖然在檢視上會讓我們知道合併的欄位資料都是一樣的,但實際上只有第一筆是有資料的,其他都會是空白值,針對這類型的資料,我們能使用向下填空來補足空值。</p><figure class="wp-block-video"><video autoplay="" controls="" muted="" src="https://aderlab.com/wp-content/uploads/data-ffill.mov"/><figcaption>資料品質檢查與項下填充操作步驟示範</figcaption></figure><h2 class="wp-block-heading"><span id="資料處理類型_3:資料分群">資料處理類型 3:資料分群</span></h2><p>第三個要分享的資料處理是資料歸類與分群,這份資料很大的重點在於有信用卡持卡人的出生年份,可以用來推估持卡人的年紀。不過年紀的範圍太廣,如果要用於資料分析,我就會先將出生年份轉換成年紀,接著再針對年紀做分群,把相同年齡帶的人歸類在一起,例如說:20-30歲、30-40歲等。</p><p>第一個步驟先進行持卡人的年紀計算。</p><p>可以使用POWER BI 裡面的「新增資料行」,點擊「自訂資料行」,然後就可以針對既有資料行進行計算,當然啦,如果是使用其他資料,也可以任意的新增自己想要呈現的資料行內容。</p><figure class="wp-block-image size-large"><a href="https://i0.wp.com/aderlab.com/wp-content/uploads/add_col.png?ssl=1"><img loading="lazy" decoding="async" width="708" height="503" src="https://i0.wp.com/aderlab.com/wp-content/uploads/add_col.png?resize=708%2C503&ssl=1" alt="" class="wp-image-4368" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/add_col.png?resize=1024%2C727&ssl=1 1024w, https://i0.wp.com/aderlab.com/wp-content/uploads/add_col.png?resize=300%2C213&ssl=1 300w, https://i0.wp.com/aderlab.com/wp-content/uploads/add_col.png?resize=768%2C545&ssl=1 768w, https://i0.wp.com/aderlab.com/wp-content/uploads/add_col.png?resize=1536%2C1091&ssl=1 1536w, https://i0.wp.com/aderlab.com/wp-content/uploads/add_col.png?resize=2048%2C1454&ssl=1 2048w, https://i0.wp.com/aderlab.com/wp-content/uploads/add_col.png?w=1416&ssl=1 1416w, https://i0.wp.com/aderlab.com/wp-content/uploads/add_col.png?w=2124&ssl=1 2124w" sizes="(max-width: 708px) 100vw, 708px" data-recalc-dims="1"/></a></figure><p>取得年紀之後,接著就可以針對年紀來做分群,一樣使用POWER BI 裡面的「新增資料行」,這次使用的是「條件資料行」,條件資料行可以針對既有的資料行進行條件篩選,針對特定條件的資料指定特定值。</p><figure class="wp-block-image size-large"><a href="https://i0.wp.com/aderlab.com/wp-content/uploads/groupbydata-choose.png?ssl=1"><img loading="lazy" decoding="async" width="708" height="503" src="https://i0.wp.com/aderlab.com/wp-content/uploads/groupbydata-choose.png?resize=708%2C503&ssl=1" alt="" class="wp-image-4369" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/groupbydata-choose.png?resize=1024%2C727&ssl=1 1024w, https://i0.wp.com/aderlab.com/wp-content/uploads/groupbydata-choose.png?resize=300%2C213&ssl=1 300w, https://i0.wp.com/aderlab.com/wp-content/uploads/groupbydata-choose.png?resize=768%2C545&ssl=1 768w, https://i0.wp.com/aderlab.com/wp-content/uploads/groupbydata-choose.png?resize=1536%2C1090&ssl=1 1536w, https://i0.wp.com/aderlab.com/wp-content/uploads/groupbydata-choose.png?resize=2048%2C1454&ssl=1 2048w, https://i0.wp.com/aderlab.com/wp-content/uploads/groupbydata-choose.png?w=1416&ssl=1 1416w, https://i0.wp.com/aderlab.com/wp-content/uploads/groupbydata-choose.png?w=2124&ssl=1 2124w" sizes="(max-width: 708px) 100vw, 708px" data-recalc-dims="1"/></a></figure><p>這麼說可能有點抽象,我用這份資料的年齡分群來舉例,以這份信用卡資料來說,我們剛剛透過簡單的新增資料行,已經取得信用卡持卡人的預估年紀,持卡人的年紀介於16-91歲。但是這個資料分佈對我來說太分散,資料分析上不太好使用,所以我想把年齡分成6個級距,分別是未滿20歲、20歲(含)到30歲、30歲(含)到40歲、40歲(含)到50歲、50歲(含)到60歲、60歲(含)以上。</p><p>那麼條件資料行就可以針對「持卡人年紀」設定條件判斷,如下圖所示,建立之後就會多一個欄位「持卡人年紀分群」,就可以拿到年紀分群之後的結果。</p><p>使用條件資料行的時候最需要注意的就是條件資料行由上到下的條件設定就代表著優先順序,當條件資料都是同一行時,判斷的優先順序不會影響到資料分群,但如果是用兩個以上的資料欄位來做條件資料行的判斷的話,就需要思考哪些條件是需要優先被考量的。</p><p>一樣用信用卡的資料來說明,像我們做年齡分群,使用的就只有同一行來當資料條件判斷,且就是「持卡人年紀」這一欄,一列資料只會有一個年紀,不會有一列資料既是25歲,又是90歲,所以這種情況下,資料判斷的優先順序就不會影響到每一列的資料要被歸類在哪一個年紀區間。</p><p>但假如,條件資料行我要使用地區以及年紀來判斷,這時候就會有資料重疊的問題,一列資料又有年紀,又有地區。所以當我想設定,25歲以下分類為族群A、台北市分類為族群B,有一列資料是台北市24歲的資料,這時候條件資料行的排序就很重要。</p><p>當你把25歲以下分類為族群A放在最上面,那這筆是台北市24歲的資料就會被歸類在族群A;相對的,如果你把台北市的分類放在25歲以下分類的位置上方,代表優先判斷台北市的分類,這筆是台北市24歲的資料就會被歸類在族群B,即便他符合了25歲以下,也不會再被歸類到族群B的分群裡。</p><figure class="wp-block-image size-large"><a href="https://i0.wp.com/aderlab.com/wp-content/uploads/condition-col.png?ssl=1"><img loading="lazy" decoding="async" width="708" height="417" src="https://i0.wp.com/aderlab.com/wp-content/uploads/condition-col.png?resize=708%2C417&ssl=1" alt="" class="wp-image-4397" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/condition-col.png?resize=1024%2C603&ssl=1 1024w, https://i0.wp.com/aderlab.com/wp-content/uploads/condition-col.png?resize=300%2C177&ssl=1 300w, https://i0.wp.com/aderlab.com/wp-content/uploads/condition-col.png?resize=768%2C452&ssl=1 768w, https://i0.wp.com/aderlab.com/wp-content/uploads/condition-col.png?resize=1536%2C905&ssl=1 1536w, https://i0.wp.com/aderlab.com/wp-content/uploads/condition-col.png?w=1844&ssl=1 1844w, https://i0.wp.com/aderlab.com/wp-content/uploads/condition-col.png?w=1416&ssl=1 1416w" sizes="(max-width: 708px) 100vw, 708px" data-recalc-dims="1"/></a></figure><p>最後,也提供新增資料行進行計算、新增條件資料行進行資料分組的資料處理步驟示範影片供參考~</p><figure class="wp-block-video"><video autoplay="" controls="" muted="" src="https://aderlab.com/wp-content/uploads/new-column-groupby.mov"/></figure><h2 class="wp-block-heading"><span id="資料處理類型_4:合併查詢">資料處理類型 4:合併查詢</span></h2><p>合併查詢跟我第一個分享的<a href="https://aderlab.com/data-analytics/power-bi-data-procedure-2/#%E8%B3%87%E6%96%99%E8%99%95%E7%90%86%E9%A1%9E%E5%9E%8B_1%EF%BC%9A%E9%99%84%E5%8A%A0%E6%9F%A5%E8%A9%A2">附加查詢</a>功能很類似,附加查詢是將兩份資料上下合併,而合併查詢則是將兩份資料左右合併。</p><p>而合併查詢跟下一個要介紹的資料連結也非常像,兩者都是將兩份資料左右連結在一起,差別是合併查詢是將兩份資料的所有欄位都合併成一份新的資料,而資料連結則是,在兩份資料不變更的情況下,連結資料欄位產生連結,讓我們可以在建立報表時拿兩份資料的資料維度跟資料指標組合成數據表格或是圖表。</p><p>合併查詢的第一步就是在常用的選單列右側,先找到「合併查詢」的按鈕,接著我們可以選擇要「合併查詢」或是「將查詢合併為新查詢」,兩者的差別在於,前者是在現在的資料下合併兩份資料,會更動到現在這份原始資料,而後者則是將想要合併的兩份資料獨立出來,新增一份新的資料表出來。</p><figure class="wp-block-image size-large"><a href="https://i0.wp.com/aderlab.com/wp-content/uploads/merge-button-right-1.png?ssl=1"><img loading="lazy" decoding="async" width="708" height="303" src="https://i0.wp.com/aderlab.com/wp-content/uploads/merge-button-right-1.png?resize=708%2C303&ssl=1" alt="" class="wp-image-4419" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/merge-button-right-1.png?resize=1024%2C438&ssl=1 1024w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-button-right-1.png?resize=300%2C128&ssl=1 300w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-button-right-1.png?resize=768%2C329&ssl=1 768w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-button-right-1.png?resize=1536%2C657&ssl=1 1536w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-button-right-1.png?resize=2048%2C876&ssl=1 2048w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-button-right-1.png?w=1416&ssl=1 1416w, https://i0.wp.com/aderlab.com/wp-content/uploads/merge-button-right-1.png?w=2124&ssl=1 2124w" sizes="(max-width: 708px) 100vw, 708px" data-recalc-dims="1"/></a></figure><p>進入合併查詢的設定畫面後,需要做三個步驟,第一個步驟是選擇想要把現有資料跟哪一份資料表合併,像這份信用卡資料,我要合併的就是信用卡消費資料跟縣市代碼參考表的資料。</p><p>第二個步驟是選擇兩份資料連結的依據,也就是所謂的KEY值,建議是兩份資料的這個欄位是一對一的關係或是一對多的關係,意思是說,比對的欄位至少有一邊的欄位資料內容是唯一值,這樣在合併過程,系統才會知道,怎麼將兩份資料比對並且合併起來,這個功能其實也等同於Excel的Vlookup功能,只是在POWER BI 裡,我們不需要寫公式,只需要選取想要連結的資料欄位就可以了。</p><p>最後一個步驟是選擇聯結種類,POWER BI 合併功能提供的聯結種類非常多,可以選擇第一份資料的所有資料跟第二份資料的所有欄位合併,只選擇特定欄位合併等。</p><p>信用卡資料我是想要把第一份資料完整留著,第二份資料有相符的縣市代碼,所以我就選擇「左方外部」的連結方式。</p><figure class="wp-block-image size-large"><a href="https://i0.wp.com/aderlab.com/wp-content/uploads/right-merge-2-1.png?ssl=1"><img loading="lazy" decoding="async" width="708" height="443" src="https://i0.wp.com/aderlab.com/wp-content/uploads/right-merge-2-1.png?resize=708%2C443&ssl=1" alt="" class="wp-image-4420" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/right-merge-2-1.png?resize=1024%2C640&ssl=1 1024w, https://i0.wp.com/aderlab.com/wp-content/uploads/right-merge-2-1.png?resize=300%2C188&ssl=1 300w, https://i0.wp.com/aderlab.com/wp-content/uploads/right-merge-2-1.png?resize=768%2C480&ssl=1 768w, https://i0.wp.com/aderlab.com/wp-content/uploads/right-merge-2-1.png?resize=1536%2C960&ssl=1 1536w, https://i0.wp.com/aderlab.com/wp-content/uploads/right-merge-2-1.png?resize=2048%2C1280&ssl=1 2048w, https://i0.wp.com/aderlab.com/wp-content/uploads/right-merge-2-1.png?w=1416&ssl=1 1416w, https://i0.wp.com/aderlab.com/wp-content/uploads/right-merge-2-1.png?w=2124&ssl=1 2124w" sizes="(max-width: 708px) 100vw, 708px" data-recalc-dims="1"/></a></figure><p>做完這些步驟後,就能得到一份新的資料表,預設的名稱都會建立成合併1、合併2等以此類推,看你做了幾分合併查詢而定。</p><figure class="wp-block-image size-large"><a href="https://i0.wp.com/aderlab.com/wp-content/uploads/right-merge-3.png?ssl=1"><img loading="lazy" decoding="async" width="708" height="443" src="https://i0.wp.com/aderlab.com/wp-content/uploads/right-merge-3.png?resize=708%2C443&ssl=1" alt="" class="wp-image-4421" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/right-merge-3.png?resize=1024%2C640&ssl=1 1024w, https://i0.wp.com/aderlab.com/wp-content/uploads/right-merge-3.png?resize=300%2C188&ssl=1 300w, https://i0.wp.com/aderlab.com/wp-content/uploads/right-merge-3.png?resize=768%2C480&ssl=1 768w, https://i0.wp.com/aderlab.com/wp-content/uploads/right-merge-3.png?resize=1536%2C960&ssl=1 1536w, https://i0.wp.com/aderlab.com/wp-content/uploads/right-merge-3.png?resize=2048%2C1280&ssl=1 2048w, https://i0.wp.com/aderlab.com/wp-content/uploads/right-merge-3.png?w=1416&ssl=1 1416w, https://i0.wp.com/aderlab.com/wp-content/uploads/right-merge-3.png?w=2124&ssl=1 2124w" sizes="(max-width: 708px) 100vw, 708px" data-recalc-dims="1"/></a></figure><p>詳細的合併查詢操作步驟也可以參考下面這支操作示範影片~</p><figure class="wp-block-video"><video controls="" src="https://aderlab.com/wp-content/uploads/%E8%9E%A2%E5%B9%95%E9%8C%84%E8%A3%BD-2022-10-30-%E4%B8%8B%E5%8D%883.37.19.mov"/></figure><h2 class="wp-block-heading"><span id="資料處理類型5_:資料連結">資料處理類型5 :資料連結</span></h2><p>最後一個,來分享資料連結!我之前有分享過這個功能,更詳細的功能用途跟完整說明可以延伸閱讀這篇:<a href="https://aderlab.com/data-analytics/power-bi-connect-data/" target="_blank" rel="noreferrer noopener">用 Power BI 取代 Vlookup 串接資料 輕鬆處理複雜資料分析</a>。</p><p>這邊的資料處理,我一樣拿信用卡資料為例。資料上蠻常出現這種以數字或英數混雜的代碼來做中文的代稱,以這份信用卡資料為例,這份資料就在「地區」的這個欄位,改以8位數的數字來替代縣市名稱。</p><p>這種資料呈現在實務上也非常常見,例如說電商的訂單資料就會有所謂的「Customer ID」,當我們想知道購買某項商品的客戶是誰?他們的年齡性別分布的時候,就會透過「Customer ID」去另外一張客戶資料表來找到答案。</p><p>回到信用卡資料的例子,想把地區代碼轉換成縣市的中文名稱,這時候就需要透過兩份資料表的共同欄位來建立資料連結,所以除了原本的信用卡資料之外,我還需要另外一份每一個地區代碼對應到哪一個縣市的縣市代碼比對表。</p><p>POWER BI 的資料串接功能在畫布區的地方,資料連結通常都會需要等所有的資料處理步驟都完成之後,關閉POWER BI 這個資料編輯器後,進到數據圖表的畫布區後才開始設定。</p><figure class="wp-block-image size-large"><a href="https://i0.wp.com/aderlab.com/wp-content/uploads/close-query.png?ssl=1"><img loading="lazy" decoding="async" width="708" height="405" src="https://i0.wp.com/aderlab.com/wp-content/uploads/close-query.png?resize=708%2C405&ssl=1" alt="" class="wp-image-4411" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/close-query.png?resize=1024%2C586&ssl=1 1024w, https://i0.wp.com/aderlab.com/wp-content/uploads/close-query.png?resize=300%2C172&ssl=1 300w, https://i0.wp.com/aderlab.com/wp-content/uploads/close-query.png?resize=768%2C440&ssl=1 768w, https://i0.wp.com/aderlab.com/wp-content/uploads/close-query.png?resize=1536%2C880&ssl=1 1536w, https://i0.wp.com/aderlab.com/wp-content/uploads/close-query.png?resize=2048%2C1173&ssl=1 2048w, https://i0.wp.com/aderlab.com/wp-content/uploads/close-query.png?w=1416&ssl=1 1416w, https://i0.wp.com/aderlab.com/wp-content/uploads/close-query.png?w=2124&ssl=1 2124w" sizes="(max-width: 708px) 100vw, 708px" data-recalc-dims="1"/></a></figure><p>進到畫布區後,找到左側第三個圖示按鈕「」,進入資料連結設定的區塊。</p><figure class="wp-block-image size-large"><a href="https://i0.wp.com/aderlab.com/wp-content/uploads/connection-model.png?ssl=1"><img loading="lazy" decoding="async" width="708" height="407" src="https://i0.wp.com/aderlab.com/wp-content/uploads/connection-model.png?resize=708%2C407&ssl=1" alt="" class="wp-image-4412" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/connection-model.png?resize=1024%2C589&ssl=1 1024w, https://i0.wp.com/aderlab.com/wp-content/uploads/connection-model.png?resize=300%2C173&ssl=1 300w, https://i0.wp.com/aderlab.com/wp-content/uploads/connection-model.png?resize=768%2C442&ssl=1 768w, https://i0.wp.com/aderlab.com/wp-content/uploads/connection-model.png?resize=1536%2C884&ssl=1 1536w, https://i0.wp.com/aderlab.com/wp-content/uploads/connection-model.png?resize=2048%2C1178&ssl=1 2048w, https://i0.wp.com/aderlab.com/wp-content/uploads/connection-model.png?w=1416&ssl=1 1416w, https://i0.wp.com/aderlab.com/wp-content/uploads/connection-model.png?w=2124&ssl=1 2124w" sizes="(max-width: 708px) 100vw, 708px" data-recalc-dims="1"/></a></figure><p>這個區塊可以簡單透過拉取完成連結,例如說我們就拉取信用卡資料的「地區欄位」,接著拉到縣市代碼比對表的「縣市代碼欄位」。</p><p>完成之後可以看到畫面在兩個資料間出現了線條箭頭,一邊呈現「1」,另外一邊則是呈現「*」,代表著兩份資料已經連結起來,資料之間呈現一對多的關係。</p><figure class="wp-block-image size-large"><a href="https://i0.wp.com/aderlab.com/wp-content/uploads/data-connect.png?ssl=1"><img loading="lazy" decoding="async" width="708" height="404" src="https://i0.wp.com/aderlab.com/wp-content/uploads/data-connect.png?resize=708%2C404&ssl=1" alt="" class="wp-image-4413" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/data-connect.png?resize=1024%2C585&ssl=1 1024w, https://i0.wp.com/aderlab.com/wp-content/uploads/data-connect.png?resize=300%2C171&ssl=1 300w, https://i0.wp.com/aderlab.com/wp-content/uploads/data-connect.png?resize=768%2C439&ssl=1 768w, https://i0.wp.com/aderlab.com/wp-content/uploads/data-connect.png?resize=1536%2C878&ssl=1 1536w, https://i0.wp.com/aderlab.com/wp-content/uploads/data-connect.png?resize=2048%2C1170&ssl=1 2048w, https://i0.wp.com/aderlab.com/wp-content/uploads/data-connect.png?w=1416&ssl=1 1416w, https://i0.wp.com/aderlab.com/wp-content/uploads/data-connect.png?w=2124&ssl=1 2124w" sizes="(max-width: 708px) 100vw, 708px" data-recalc-dims="1"/></a></figure><p>什麼是一對多的資料關係?我們回到兩份資料的資料內容來說明。</p><p>仔細看兩份資料的比對欄位,信用卡資料的「地區」的數字代碼是重複的,縣市代碼比對表對應的「縣市代碼」則不重複的,系統才會知道看到「63000000」對應到的縣市是臺北市。一對多的資料關係,簡單來說就是用一份沒有重複值的資料欄位,對應到另外一份有重複值的資料欄位,讓我們可以透過代碼欄位串接,把兩份資料連結在一起使用。</p><figure class="wp-block-image size-large is-resized"><a href="https://i0.wp.com/aderlab.com/wp-content/uploads/connection-related.png?ssl=1"><img loading="lazy" decoding="async" src="https://i0.wp.com/aderlab.com/wp-content/uploads/connection-related.png?resize=708%2C410&ssl=1" alt="" class="wp-image-4401" width="708" height="410" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/connection-related.png?resize=1024%2C593&ssl=1 1024w, https://i0.wp.com/aderlab.com/wp-content/uploads/connection-related.png?resize=300%2C174&ssl=1 300w, https://i0.wp.com/aderlab.com/wp-content/uploads/connection-related.png?resize=768%2C445&ssl=1 768w, https://i0.wp.com/aderlab.com/wp-content/uploads/connection-related.png?resize=1536%2C890&ssl=1 1536w, https://i0.wp.com/aderlab.com/wp-content/uploads/connection-related.png?resize=2048%2C1187&ssl=1 2048w, https://i0.wp.com/aderlab.com/wp-content/uploads/connection-related.png?w=1416&ssl=1 1416w, https://i0.wp.com/aderlab.com/wp-content/uploads/connection-related.png?w=2124&ssl=1 2124w" sizes="(max-width: 708px) 100vw, 708px" data-recalc-dims="1"/></a></figure><figure class="wp-block-video"><video controls="" src="https://aderlab.com/wp-content/uploads/right-merge2.mov"/></figure><p>好啦~這次5個 POWER BI 的資料處理功能也介紹完畢了,希望對看完這篇文章,正在苦惱資料處理流程的你有幫助,下篇文章見~</p><p>原始資料來源:<a href="https://community.tableau.com/s/question/0D54T00000CWeX8SAL/sample-superstore-sales-excelxls" target="_blank" rel="noreferrer noopener nofollow">https://data.gov.tw/dataset/38319</a><br/>資料下載連結:<a href="https://pse.is/4jyj8t" target="_blank" rel="noreferrer noopener">https://pse.is/4jyj8t</a>,雲端連結中共包括兩份檔案:<br/>1. Power BI 示範檔案:各年齡層信用卡持卡人於六都消費樣態<br/>2. Excel 營收資料檔案:資料處理(下篇)_空格條件行查詢與資料串接</p><p class="has-text-align-right">Sharon</p><hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/><p class="has-medium-font-size"><strong>Buy me a coffee 用行動支持我的內容創作</strong></p><p><em>如果我的文章對你有幫助,歡迎用行動支持我的內容創作,小額贊助請我喝咖啡、留言或是寄信來跟我分享你的收穫,都會讓我持續有動力分享更多內容唷~</em></p><div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex"><div class="wp-block-button aligncenter is-style-fill"><a class="wp-block-button__link has-black-color has-luminous-vivid-amber-background-color has-text-color has-background" href="https://www.buymeacoffee.com/aderlabsharon" target="_blank" rel="noreferrer noopener">以小額贊助支持Sharon</a></div></div><div class="at-below-post addthis_tool" data-url="https://aderlab.com/data-analytics/power-bi-data-procedure-2/"/></div></div></article><div class="related-posts"><h3 class="related-posts-title">相關文章</h3><div class="inner-wrapper"><div class="news-item three-column-item"><div class="news-thumb"> <a href="https://aderlab.com/data-analytics/sql-concept/"><img width="345" height="225" src="https://i0.wp.com/aderlab.com/wp-content/uploads/SQL.png?resize=345%2C225&ssl=1" class="attachment-blog-way-common size-blog-way-common wp-post-image" alt="" decoding="async" loading="lazy" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/SQL.png?resize=345%2C225&ssl=1 345w, https://i0.wp.com/aderlab.com/wp-content/uploads/SQL.png?zoom=2&resize=345%2C225&ssl=1 690w" sizes="(max-width: 345px) 100vw, 345px"/></a></div><div class="news-text-wrap"><h2><a href="https://aderlab.com/data-analytics/sql-concept/">寫SQL前的重要概念,學起來讓查詢建表更順利!</a></h2> <span class="posted-date">17 12 月, 2023</span></div></div><div class="news-item three-column-item"><div class="news-thumb"> <a href="https://aderlab.com/data-analytics/tableau-custom-color/"><img width="345" height="225" src="https://i0.wp.com/aderlab.com/wp-content/uploads/custom-color.png?resize=345%2C225&ssl=1" class="attachment-blog-way-common size-blog-way-common wp-post-image" alt="" decoding="async" loading="lazy" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/custom-color.png?resize=345%2C225&ssl=1 345w, https://i0.wp.com/aderlab.com/wp-content/uploads/custom-color.png?zoom=2&resize=345%2C225&ssl=1 690w, https://i0.wp.com/aderlab.com/wp-content/uploads/custom-color.png?zoom=3&resize=345%2C225&ssl=1 1035w" sizes="(max-width: 345px) 100vw, 345px"/></a></div><div class="news-text-wrap"><h2><a href="https://aderlab.com/data-analytics/tableau-custom-color/">【Tableau 教學】 實用小技巧:自訂偏好顏色</a></h2> <span class="posted-date">12 11 月, 2023</span></div></div><div class="news-item three-column-item"><div class="news-thumb"> <a href="https://aderlab.com/data-analytics/tableau-parameter/"><img width="345" height="225" src="https://i0.wp.com/aderlab.com/wp-content/uploads/parameter.png?resize=345%2C225&ssl=1" class="attachment-blog-way-common size-blog-way-common wp-post-image" alt="" decoding="async" loading="lazy" srcset="https://i0.wp.com/aderlab.com/wp-content/uploads/parameter.png?resize=345%2C225&ssl=1 345w, https://i0.wp.com/aderlab.com/wp-content/uploads/parameter.png?zoom=2&resize=345%2C225&ssl=1 690w, https://i0.wp.com/aderlab.com/wp-content/uploads/parameter.png?zoom=3&resize=345%2C225&ssl=1 1035w" sizes="(max-width: 345px) 100vw, 345px"/></a></div><div class="news-text-wrap"><h2><a href="https://aderlab.com/data-analytics/tableau-parameter/">【Tableau教學】一篇了解 Tableau 參數是什麼!詳細定義、設定與應用場景說明</a></h2> <span class="posted-date">22 10 月, 2023</span></div></div></div></div></main></div></div><div class="col-md-4 col-sm-12 main-sidebar"><aside id="secondary" class="widget-area" role="complementary"><section id="search-4" class="widget widget_search"><form role="search" method="get" class="search-form" action="https://aderlab.com/"> <label> <span class="screen-reader-text">搜尋關鍵字:</span> <input type="search" class="search-field" placeholder="搜尋..." value="" name="s"/> </label> <input type="submit" class="search-submit" value="搜尋"/></form></section><section id="custom_html-5" class="widget_text widget widget_custom_html"><h3 class="widget-title">關於Sharon</h3><div class="textwidget custom-html-widget"><div align="center"> <img align="center" valign="center" src="https://i0.wp.com/aderlab.com/wp-content/uploads/ADer-Lab圓形.png?resize=150%2C150&ssl=1" alt="Sharon" width="150 px" height="150 px" data-recalc-dims="1"/></div><br/><div class="social-menu-wrap"><ul id="menu-social" class="menu"><li id="menu-item-367" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-367"><a href="https://www.facebook.com/pg/aderlab.sharon"><span class="screen-reader-text">Facebook</span></a></li><li id="menu-item-378" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-378"><a href="/cdn-cgi/l/email-protection#3b5a5f5e49575a5948535a4954557b5c565a525715585456"><span class="screen-reader-text">Email</span></a></li></ul></div><br/><p align="center">Hi, 我是Sharon雪倫<br/> 歡迎來到 Sharon's Lab∣雪倫實驗室<br/>部落格主要會分享數據分析技能與工作日常</p></div></section><section id="recent-posts-4" class="widget widget_recent_entries"><h3 class="widget-title">最新文章</h3><ul><li> <a href="https://aderlab.com/job/one-one-meeting/">1 on 1 要聊什麼?分享一對一面談可以聊聊的3個方向</a></li><li> <a href="https://aderlab.com/life-note/movie-back-to-the-future/">《回到未來》電影體悟:思維帶動不同的人生境界</a></li><li> <a href="https://aderlab.com/life-note/2023-annual-review/">2023年終回顧:自我回顧與成果分享</a></li><li> <a href="https://aderlab.com/data-analytics/sql-concept/">寫SQL前的重要概念,學起來讓查詢建表更順利!</a></li><li> <a href="https://aderlab.com/job/think-before-switch-job/">年末想轉職?轉職前值得納入思考的3件事</a></li></ul></section><section id="wpp-3" class="widget popular-posts"><h3 class="widget-title">熱門文章</h3><div class="popular-posts-sr"><style>.wpp-cards-compact { margin-left: 0; margin-right: 0; padding: 0; } .wpp-cards-compact li { display: flex; align-items: center; list-style: none; margin: 0 0 1.2em 0; padding: 0 0 1em 0; border-bottom: #ddd 1px solid; } .in-preview-mode .wpp-cards-compact li { margin: 0 0 1.2em 0; padding: 0 0 1em 0; } .wpp-cards-compact li:last-of-type, .wpp-cards-compact li:only-child { margin: 0; padding: 0; border-bottom: none; } .wpp-cards-compact li .wpp-thumbnail { overflow: hidden; display: inline-block; flex-grow: 0; flex-shrink: 0; margin-right: 1em; font-size: 0.8em; line-height: 1; background: #f0f0f0; border: none; } .wpp-cards-compact li a { text-decoration: none; } .wpp-cards-compact li a:hover { text-decoration: underline; } .wpp-cards-compact li .taxonomies, .wpp-cards-compact li .wpp-post-title { display: block; font-weight: bold; } .wpp-cards-compact li .taxonomies { margin-bottom: 0.25em; font-size: 0.7em; line-height: 1; } .wpp-cards-compact li .wpp-post-title { margin-bottom: 0.5em; font-size: 1.2em; line-height: 1.2; } .wpp-cards-compact li .wpp-excerpt { margin: 0; font-size: 0.8em; }</style><ul class="wpp-list wpp-cards-compact"><li class=""><img src="https://aderlab.com/wp-content/uploads/wordpress-popular-posts/4756-featured-75x75.png" srcset="https://aderlab.com/wp-content/uploads/wordpress-popular-posts/4756-featured-75x75.png, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/4756-featured-75x75@1.5x.png 1.5x, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/4756-featured-75x75@2x.png 2x, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/4756-featured-75x75@2.5x.png 2.5x, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/4756-featured-75x75@3x.png 3x" width="75" height="75" alt="" class="wpp-thumbnail wpp_featured wpp_cached_thumb" decoding="async" loading="lazy"/><div class="wpp-item-data"><div class="taxonomies"><a href="https://aderlab.com/data-analytics/microsoft-power-bi/" class="wpp-taxonomy category category-205">Microsoft Power BI</a>, <a href="https://aderlab.com/data-analytics/tableau/" class="wpp-taxonomy category category-207">Tableau</a>, <a href="https://aderlab.com/data-analytics/" class="wpp-taxonomy category category-163">數據分析</a></div><a href="https://aderlab.com/data-analytics/power-bi-tableau-which-one-is-better/" class="wpp-post-title" target="_self">Power BI v.s. Tableau:數據新手該學哪個 BI 工具比較好?</a></div></li><li class=""><img src="https://aderlab.com/wp-content/uploads/wordpress-popular-posts/4548-featured-75x75.png" srcset="https://aderlab.com/wp-content/uploads/wordpress-popular-posts/4548-featured-75x75.png, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/4548-featured-75x75@1.5x.png 1.5x, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/4548-featured-75x75@2x.png 2x, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/4548-featured-75x75@2.5x.png 2.5x, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/4548-featured-75x75@3x.png 3x" width="75" height="75" alt="" class="wpp-thumbnail wpp_featured wpp_cached_thumb" decoding="async" loading="lazy"/><div class="wpp-item-data"><div class="taxonomies"><a href="https://aderlab.com/data-analytics/" class="wpp-taxonomy category category-163">數據分析</a>, <a href="https://aderlab.com/job/" class="wpp-taxonomy category category-168">職涯點滴</a></div><a href="https://aderlab.com/job/interview-profile/" class="wpp-post-title" target="_self">數據分析師的作品集怎麼做?分享我實際作品與準備方式</a></div></li><li class=""><img src="https://aderlab.com/wp-content/uploads/wordpress-popular-posts/2093-featured-75x75.png" srcset="https://aderlab.com/wp-content/uploads/wordpress-popular-posts/2093-featured-75x75.png, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/2093-featured-75x75@1.5x.png 1.5x, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/2093-featured-75x75@2x.png 2x, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/2093-featured-75x75@2.5x.png 2.5x, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/2093-featured-75x75@3x.png 3x" width="75" height="75" alt="" class="wpp-thumbnail wpp_featured wpp_cached_thumb" decoding="async" loading="lazy"/><div class="wpp-item-data"><div class="taxonomies"><a href="https://aderlab.com/data-analytics/data-studio/" class="wpp-taxonomy category category-167">Looker Studio</a>, <a href="https://aderlab.com/data-analytics/" class="wpp-taxonomy category category-163">數據分析</a></div><a href="https://aderlab.com/data-analytics/google-data-studio-basic/" class="wpp-post-title" target="_self">整理數據報表傷腦筋?輕鬆利用Data Studio做出精美報表</a></div></li><li class=""><img src="https://aderlab.com/wp-content/uploads/wordpress-popular-posts/3198-featured-75x75.png" srcset="https://aderlab.com/wp-content/uploads/wordpress-popular-posts/3198-featured-75x75.png, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/3198-featured-75x75@1.5x.png 1.5x, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/3198-featured-75x75@2x.png 2x, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/3198-featured-75x75@2.5x.png 2.5x, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/3198-featured-75x75@3x.png 3x" width="75" height="75" alt="GA 新手常見的名詞困擾!一次搞懂 GA 報表的專有名詞" class="wpp-thumbnail wpp_featured wpp_cached_thumb" decoding="async" loading="lazy"/><div class="wpp-item-data"><div class="taxonomies"><a href="https://aderlab.com/data-analytics/ga/" class="wpp-taxonomy category category-166">Google Analytics</a>, <a href="https://aderlab.com/data-analytics/" class="wpp-taxonomy category category-163">數據分析</a></div><a href="https://aderlab.com/data-analytics/ga-noun/" class="wpp-post-title" target="_self">GA 新手常見的名詞困擾!一次搞懂 GA 報表的專有名詞</a></div></li><li class=""><img src="https://aderlab.com/wp-content/uploads/wordpress-popular-posts/4978-featured-75x75.png" srcset="https://aderlab.com/wp-content/uploads/wordpress-popular-posts/4978-featured-75x75.png, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/4978-featured-75x75@1.5x.png 1.5x, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/4978-featured-75x75@2x.png 2x, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/4978-featured-75x75@2.5x.png 2.5x, https://aderlab.com/wp-content/uploads/wordpress-popular-posts/4978-featured-75x75@3x.png 3x" width="75" height="75" alt="" class="wpp-thumbnail wpp_featured wpp_cached_thumb" decoding="async" loading="lazy"/><div class="wpp-item-data"><div class="taxonomies"><a href="https://aderlab.com/data-analytics/tableau/" class="wpp-taxonomy category category-207">Tableau</a>, <a href="https://aderlab.com/data-analytics/" class="wpp-taxonomy category category-163">數據分析</a></div><a href="https://aderlab.com/data-analytics/tableau-pie-chart-2/" class="wpp-post-title" target="_self">【Tableau 教學】圓餅圖設計技巧2:空心圓餅圖與進階設定</a></div></li></ul></div></section><section id="tag_cloud-7" class="widget widget_tag_cloud"><h3 class="widget-title">文章分類</h3><div class="tagcloud"><a href="https://aderlab.com/facebook-trend/" class="tag-cloud-link tag-link-25 tag-link-position-1" style="font-size: 10.978723404255pt;" aria-label="Facebook趨勢 (3 個項目)">Facebook趨勢<span class="tag-link-count"> (3)</span></a> <a href="https://aderlab.com/data-analytics/ga/" class="tag-cloud-link tag-link-166 tag-link-position-2" style="font-size: 16.737588652482pt;" aria-label="Google Analytics (14 個項目)">Google Analytics<span class="tag-link-count"> (14)</span></a> <a href="https://aderlab.com/google-ads/" class="tag-cloud-link tag-link-18 tag-link-position-3" style="font-size: 8pt;" aria-label="Google 廣告 (1 個項目)">Google 廣告<span class="tag-link-count"> (1)</span></a> <a href="https://aderlab.com/data-analytics/data-studio/" class="tag-cloud-link tag-link-167 tag-link-position-4" style="font-size: 9.7872340425532pt;" aria-label="Looker Studio (2 個項目)">Looker Studio<span class="tag-link-count"> (2)</span></a> <a href="https://aderlab.com/data-analytics/microsoft-power-bi/" class="tag-cloud-link tag-link-205 tag-link-position-5" style="font-size: 14.950354609929pt;" aria-label="Microsoft Power BI (9 個項目)">Microsoft Power BI<span class="tag-link-count"> (9)</span></a> <a href="https://aderlab.com/seo/" class="tag-cloud-link tag-link-19 tag-link-position-6" style="font-size: 8pt;" aria-label="SEO 經營 (1 個項目)">SEO 經營<span class="tag-link-count"> (1)</span></a> <a href="https://aderlab.com/data-analytics/tableau/" class="tag-cloud-link tag-link-207 tag-link-position-7" style="font-size: 17.531914893617pt;" aria-label="Tableau (17 個項目)">Tableau<span class="tag-link-count"> (17)</span></a> <a href="https://aderlab.com/facebook-ads/basic-facebook-ads/" class="tag-cloud-link tag-link-29 tag-link-position-8" style="font-size: 16.936170212766pt;" aria-label="基礎Facebook廣告 (15 個項目)">基礎Facebook廣告<span class="tag-link-count"> (15)</span></a> <a href="https://aderlab.com/facebook-ads/" class="tag-cloud-link tag-link-17 tag-link-position-9" style="font-size: 19.716312056738pt;" aria-label="數位廣告 (29 個項目)">數位廣告<span class="tag-link-count"> (29)</span></a> <a href="https://aderlab.com/data-analytics/" class="tag-cloud-link tag-link-163 tag-link-position-10" style="font-size: 22pt;" aria-label="數據分析 (50 個項目)">數據分析<span class="tag-link-count"> (50)</span></a> <a href="https://aderlab.com/life-note/lecture-note/" class="tag-cloud-link tag-link-34 tag-link-position-11" style="font-size: 16.439716312057pt;" aria-label="活動筆記 (13 個項目)">活動筆記<span class="tag-link-count"> (13)</span></a> <a href="https://aderlab.com/life-note/" class="tag-cloud-link tag-link-33 tag-link-position-12" style="font-size: 21.106382978723pt;" aria-label="生活點評 (41 個項目)">生活點評<span class="tag-link-count"> (41)</span></a> <a href="https://aderlab.com/job/" class="tag-cloud-link tag-link-168 tag-link-position-13" style="font-size: 18.524822695035pt;" aria-label="職涯點滴 (22 個項目)">職涯點滴<span class="tag-link-count"> (22)</span></a> <a href="https://aderlab.com/facebook-ads/advanced-facebook-ads/" class="tag-cloud-link tag-link-30 tag-link-position-14" style="font-size: 14.950354609929pt;" aria-label="進階臉書廣告 (9 個項目)">進階臉書廣告<span class="tag-link-count"> (9)</span></a> <a href="https://aderlab.com/life-note/book-note/" class="tag-cloud-link tag-link-35 tag-link-position-15" style="font-size: 16.737588652482pt;" aria-label="閱讀過後 (14 個項目)">閱讀過後<span class="tag-link-count"> (14)</span></a> <a href="https://aderlab.com/life-note/jot/" class="tag-cloud-link tag-link-206 tag-link-position-16" style="font-size: 16.936170212766pt;" aria-label="隨手寫 (15 個項目)">隨手寫<span class="tag-link-count"> (15)</span></a></div></section><section id="wpbme_widget-10" class="widget wpbme_widget"><h3 class="widget-title">訂閱Sharon’s Lab∣雪倫實驗室</h3> <noscript>Please enable JavaScript <br/><div align="center" style="padding-top:5px;font-family:Arial,Helvetica,sans-serif;font-size:10px;color:#999999;"><a href="https://www.benchmarkemail.com/email-marketing?utm_source=usersignupforms&utm_medium=customers&utm_campaign=usersignupforms" target="_new" style="text-decoration:none;font-family:Arial,Helvetica,sans-serif;font-size:10px;color:#999999;">Email Marketing </a> by Benchmark</div></noscript></section><section id="custom_html-12" class="widget_text widget widget_custom_html"><h3 class="widget-title">粉絲專頁</h3><div class="textwidget custom-html-widget"><div class="fb-page" data-href="https://www.facebook.com/aderlab.sharon" data-tabs="timeline" data-width="300" data-height="300" data-small-header="true" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/aderlab.sharon" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/aderlab.sharon">ADer Lab ∣ 廣告實驗室</a></blockquote></div></div></section><section id="wp_statistics_widget-4" class="widget widget_wp_statistics_widget"><h3 class="widget-title">網站訪次</h3><ul><li><label>Today's Views: </label>158</li><li><label>Total Views: </label>884,072</li></ul></section></aside></div></div></div></div><footer id="colophon" class="site-footer" role="contentinfo"><div id="footer-widgets" class="widget-area"><div class="container"><div class="widget-column col-sm-3"><section id="custom_html-19" class="widget_text widget widget_custom_html"><div class="textwidget custom-html-widget"><font size="4" color="#787878">網站條款</font><br/> <a href="https://aderlab.com/privacy-policy/" style="color:#787878;">隱私權政策</a><br/> <a href="https://aderlab.com/privacy-policy/" style="color:#787878;">著作權聲明</a><br/></div></section></div><div class="widget-column col-sm-3"><section id="custom_html-20" class="widget_text widget widget_custom_html"><div class="textwidget custom-html-widget"><font size="4" color="#787878">網站免費資源</font><br/> <a href="https://aderlab.com/topic-newsletter/" style="color:#787878;">電子報訂閱</a><br/> <a href="https://aderlab.com/ebook/" style="color:#787878;">免費電子書</a><br/> <a href="https://aderlab.com/book-list/" style="color:#787878;">推薦書單</a><br/></div></section></div><div class="widget-column col-sm-3"><section id="custom_html-21" class="widget_text widget widget_custom_html"><div class="textwidget custom-html-widget"><font size="4" color="#787878">聯絡雪倫</font><br/> <a href="https://aderlab.com/aboutsharon/" style="color:#787878;">關於Sharon</a><br/> <a href="/cdn-cgi/l/email-protection#19787d7c6b75787b6a71786b7677597e74787075377a7674" style="color:#787878;">合作詢洽</a><br/> <a href="/cdn-cgi/l/email-protection#28494c4d5a44494a5b40495a4746684f45494144064b4745" style="color:#787878;">讀者投書</a><br/> <a href="/cdn-cgi/l/email-protection#01606564736d6063726960736e6f41666c60686d2f626e6c" style="color:#787878;">FAQ討論</a><br/></div></section></div><div class="widget-column col-sm-3"><section id="search-8" class="widget widget_search"><form role="search" method="get" class="search-form" action="https://aderlab.com/"> <label> <span class="screen-reader-text">搜尋關鍵字:</span> <input type="search" class="search-field" placeholder="搜尋..." value="" name="s"/> </label> <input type="submit" class="search-submit" value="搜尋"/></form></section></div></div></div><div class="footer-social"><div class="container"><div class="row"><div class="social-menu-wrap"><ul id="menu-social" class="menu"><li id="menu-item-367" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-367"><a href="https://www.facebook.com/pg/aderlab.sharon"><span class="screen-reader-text">Facebook</span></a></li><li id="menu-item-378" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-378"><a href="/cdn-cgi/l/email-protection#1a7b7e7f68767b7869727b6875745a7d777b737634797577"><span class="screen-reader-text">Email</span></a></li></ul></div></div></div></div><div class="site-info"><div class="container"><div class="row"><div class="col-md-6 col-sm-6"><div class="copyright-text"> Sharon's Lab ∣ 雪倫實驗室 2019-2023 © All rights reserved.</div></div><div class="col-md-6 col-sm-6"><div class="credit-text"> Blog Way by <a href="https://www.prodesigns.com/" rel="designer" target="_blank">ProDesigns</a></div></div></div></div></div></footer></div> <div id="fb-root"/> <div class="jetpack-subscribe-modal"><div class="jetpack-subscribe-modal__modal-content"><div class="wp-block-group has-border-color" style="border-color:#dddddd;border-width:1px;margin-top:0;margin-bottom:0;padding-top:32px;padding-right:32px;padding-bottom:32px;padding-left:32px"><div class="wp-block-group__inner-container is-layout-constrained wp-container-core-group-is-layout-1 wp-block-group-is-layout-constrained"><h2 class="wp-block-heading has-text-align-center" style="margin-top:4px;margin-bottom:10px;font-size:26px;font-style:normal;font-weight:600">探索更多來自 Sharon Lab∣雪倫實驗室 的內容</h2><p class="has-text-align-center" style="margin-top:4px;margin-bottom:0px;font-size:15px">立即訂閱即可持續閱讀,還能取得所有封存文章。</p><div class="wp-block-jetpack-subscriptions__supports-newline is-style-compact wp-block-jetpack-subscriptions"><div class="wp-block-jetpack-subscriptions__container is-not-subscriber"><form action="https://wordpress.com/email-subscriptions" method="post" accept-charset="utf-8" data-blog="164707546" data-post_access_level="everybody" data-subscriber_email="" id="subscribe-blog"><div class="wp-block-jetpack-subscriptions__form-elements"><p id="subscribe-email"> <label id="subscribe-field-label" for="subscribe-field" class="screen-reader-text"> 輸入你的電子郵件地址… </label> <input required="required" type="email" name="email" style="font-size: 16px;padding: 15px 23px 15px 23px;border-radius: 50px;border-width: 1px;" placeholder="輸入你的電子郵件地址…" value="" id="subscribe-field" title="Please fill in this field."/></p><p id="subscribe-submit"> <input type="hidden" name="action" value="subscribe"/> <input type="hidden" name="blog_id" value="164707546"/> <input type="hidden" name="source" value="https://aderlab.com/data-analytics/power-bi-data-procedure-2/"/> <input type="hidden" name="sub-type" value="subscribe-block"/> <input type="hidden" name="app_source" value=""/> <input type="hidden" name="redirect_fragment" value="subscribe-blog"/> <input type="hidden" name="lang" value="zh_TW"/> <input type="hidden" id="_wpnonce" name="_wpnonce" value="9b81bf4224"/><input type="hidden" name="_wp_http_referer" value="/data-analytics/power-bi-data-procedure-2/"/><input type="hidden" name="post_id" value="4365"/> <button type="submit" class="wp-block-button__link" style="font-size: 16px;padding: 15px 23px 15px 23px;margin: 0; margin-left: 10px;border-radius: 50px;border-width: 1px;" name="jetpack_subscriptions_widget"> 訂閱 </button></p></div></form></div></div><p class="has-text-align-center jetpack-subscribe-modal__close" style="margin-top:20px;font-size:14px"><a href="#">Continue reading</a></p></div></div></div></div> <link rel="stylesheet" id="lwptoc-main-css" href="https://aderlab.com/wp-content/plugins/luckywp-table-of-contents/front/assets/main.min.css?ver=2.1.4" type="text/css" media="all"/><link rel="stylesheet" id="jetpack-block-subscriptions-css" href="https://aderlab.com/wp-content/cache/autoptimize/autoptimize_single_22b4aadac5b60fc05299fedf9dd81eef.php?minify=false&ver=13.5" type="text/css" media="all"/> <style>.lwptoc .lwptoc_i{border:1px solid #ffffff;}.lwptoc .lwptoc_i A:hover,.lwptoc .lwptoc_i A:focus,.lwptoc .lwptoc_i A:active{color:#dd9933;border-color:#dd9933;}.lwptoc .lwptoc_i A:visited{color:#1e73be;}</style> </body>
推荐文章
鬼畜的钢笔
·
佳能:产品说明书:Digital Photo Professional:故障排除
1 月前
淡定的大脸猫
·
MySQL 只distinct一个字段,查询多个字段。
1 月前
会开车的滑板
·
《亲子倾偈师 - 如何施展语言魔法促进两代沟通》 - 香港大学专业进修学院: 社会科学, 心理学及辅导课程
3 月前
低调的数据线
·
关于公布2024年各类高中集中统一招生第二批学校投档录取结果和志愿补报的公告
4 月前
自信的花卷
·
少夫人她又美又飒百度云章节目录_冷肆爵林傲雪-快眼看书
8 月前