99999久久久久久亚洲,欧美人与禽猛交狂配,高清日韩av在线影院,一个人在线高清免费观看,啦啦啦在线视频免费观看www

熱線(xiàn)電話(huà):13121318867

登錄
首頁(yè)精彩閱讀把數(shù)據(jù)庫(kù)中的數(shù)據(jù)制作成Excel數(shù)據(jù)透視表
把數(shù)據(jù)庫(kù)中的數(shù)據(jù)制作成Excel數(shù)據(jù)透視表
2016-06-24
收藏

把數(shù)據(jù)庫(kù)中的數(shù)據(jù)制作成Excel數(shù)據(jù)透視

如果我們?cè)谑褂肊xcel的時(shí)候,需要把數(shù)據(jù)庫(kù)中的數(shù)據(jù)制作成Excel數(shù)據(jù)透視表,我們?cè)撛趺床僮髂??如果?shù)據(jù)在數(shù)據(jù)庫(kù)中,我們不用把數(shù)據(jù)導(dǎo)入到工作表中,我們可以直接以數(shù)據(jù)庫(kù)的全部數(shù)據(jù)或者部分?jǐn)?shù)據(jù)制作數(shù)據(jù)透視表,而且不用打開(kāi)數(shù)據(jù)庫(kù)文件。

這些數(shù)據(jù)庫(kù)可以是任何一種已知類(lèi)型的數(shù)據(jù)庫(kù),比如Access、SQL Server、Oracle等。根據(jù)數(shù)據(jù)庫(kù)類(lèi)型的不同,可以靈活采用不同的方法。但是有一個(gè)方法是通用的,這里不再介紹使用Microsoft Query工具創(chuàng)建數(shù)據(jù)透視表的具體方法和步驟。

圖1所示是Access教據(jù)庫(kù)“銷(xiāo)售記錄.accdb”。其中的一個(gè)數(shù)據(jù)表“2010年4月”中保存著2010年4月份的銷(xiāo)售數(shù)據(jù),現(xiàn)在要以這個(gè)數(shù)據(jù)表中的數(shù)據(jù)來(lái)制作數(shù)據(jù)透視表。以便對(duì)銷(xiāo)售進(jìn)行各種統(tǒng)計(jì)分析。

圖1

1、新建一個(gè)Excel工作簿。

2、單擊“數(shù)據(jù)”選項(xiàng)卡,在“獲取外部數(shù)據(jù)”功能組中單擊“自Access”按鈕,如圖2所示。

圖2

3、此時(shí)會(huì)打開(kāi)“選取數(shù)據(jù)源”對(duì)話(huà)框,從保存有Access數(shù)據(jù)庫(kù)“銷(xiāo)售記錄.accdb”的文件夾中選擇該文件,如圖3所示。

圖3

4、單擊“打開(kāi)”按鈕,將打開(kāi)“選擇表格”對(duì)話(huà)框,如圖4所示。

圖4

5、選擇“2010年4月”表格,單擊“確定”按鈕,打開(kāi)“導(dǎo)入數(shù)據(jù)”對(duì)話(huà)框,選擇“數(shù)據(jù)透視表”單選按鈕,如圖5所示。

圖5

6、單擊“確定”按鈕,即可得到以選擇的數(shù)據(jù)庫(kù)表數(shù)據(jù)制作的數(shù)據(jù)透視表。 

在把數(shù)據(jù)庫(kù)中的數(shù)據(jù)制作成Excel數(shù)據(jù)透視表時(shí),我們不需要打開(kāi)數(shù)據(jù)庫(kù),只需要參照上面的步驟就可以直接制作出來(lái)數(shù)據(jù)透視圖了,我們使用起來(lái)也很方便了。


數(shù)據(jù)分析咨詢(xún)請(qǐng)掃描二維碼

若不方便掃碼,搜微信號(hào):CDAshujufenxi

數(shù)據(jù)分析師資訊
更多

OK
客服在線(xiàn)
立即咨詢(xún)
客服在線(xiàn)
立即咨詢(xún)
') } function initGt() { var handler = function (captchaObj) { captchaObj.appendTo('#captcha'); captchaObj.onReady(function () { $("#wait").hide(); }).onSuccess(function(){ $('.getcheckcode').removeClass('dis'); $('.getcheckcode').trigger('click'); }); window.captchaObj = captchaObj; }; $('#captcha').show(); $.ajax({ url: "/login/gtstart?t=" + (new Date()).getTime(), // 加隨機(jī)數(shù)防止緩存 type: "get", dataType: "json", success: function (data) { $('#text').hide(); $('#wait').show(); // 調(diào)用 initGeetest 進(jìn)行初始化 // 參數(shù)1:配置參數(shù) // 參數(shù)2:回調(diào),回調(diào)的第一個(gè)參數(shù)驗(yàn)證碼對(duì)象,之后可以使用它調(diào)用相應(yīng)的接口 initGeetest({ // 以下 4 個(gè)配置參數(shù)為必須,不能缺少 gt: data.gt, challenge: data.challenge, offline: !data.success, // 表示用戶(hù)后臺(tái)檢測(cè)極驗(yàn)服務(wù)器是否宕機(jī) new_captcha: data.new_captcha, // 用于宕機(jī)時(shí)表示是新驗(yàn)證碼的宕機(jī) product: "float", // 產(chǎn)品形式,包括:float,popup width: "280px", https: true // 更多配置參數(shù)說(shuō)明請(qǐng)參見(jiàn):http://docs.geetest.com/install/client/web-front/ }, handler); } }); } function codeCutdown() { if(_wait == 0){ //倒計(jì)時(shí)完成 $(".getcheckcode").removeClass('dis').html("重新獲取"); }else{ $(".getcheckcode").addClass('dis').html("重新獲取("+_wait+"s)"); _wait--; setTimeout(function () { codeCutdown(); },1000); } } function inputValidate(ele,telInput) { var oInput = ele; var inputVal = oInput.val(); var oType = ele.attr('data-type'); var oEtag = $('#etag').val(); var oErr = oInput.closest('.form_box').next('.err_txt'); var empTxt = '請(qǐng)輸入'+oInput.attr('placeholder')+'!'; var errTxt = '請(qǐng)輸入正確的'+oInput.attr('placeholder')+'!'; var pattern; if(inputVal==""){ if(!telInput){ errFun(oErr,empTxt); } return false; }else { switch (oType){ case 'login_mobile': pattern = /^1[3456789]\d{9}$/; if(inputVal.length==11) { $.ajax({ url: '/login/checkmobile', type: "post", dataType: "json", data: { mobile: inputVal, etag: oEtag, page_ur: window.location.href, page_referer: document.referrer }, success: function (data) { } }); } break; case 'login_yzm': pattern = /^\d{6}$/; break; } if(oType=='login_mobile'){ } if(!!validateFun(pattern,inputVal)){ errFun(oErr,'') if(telInput){ $('.getcheckcode').removeClass('dis'); } }else { if(!telInput) { errFun(oErr, errTxt); }else { $('.getcheckcode').addClass('dis'); } return false; } } return true; } function errFun(obj,msg) { obj.html(msg); if(msg==''){ $('.login_submit').removeClass('dis'); }else { $('.login_submit').addClass('dis'); } } function validateFun(pat,val) { return pat.test(val); }