close

Power BI desktop連結資料方式有許多種, 取幾個有在使用的分享如下.

1. 連結Power BI資料流程

選擇取得資料/ Power BI資料流程

image

 1.1 需要先登入組織帳戶才能連結

image

1.2 登入後, 選擇要連結的資料, 之後按載入即可.


2. 連結Google表單資料

請參考: 只要作這二件事,你的google表單就會自動跑到Power BI

修改這個連結網址最後一小段文字, 從/edit?usp=sharinge改成/export?format=xlsx

Power BI資料連結方式選擇Web取得資料


3. 連結Teradata database

輸入server網址, 貼上資料庫query的SQL語法

image


Error message solving:  How to fix [3932] Only an ET or null statement is legal after a DDL Statement?

image

 

資料定義語言(data definition language,DDL)屬於DBMS語言的一種,用於明確定義概念綱要(conceptual schemas)及內部綱要(internal schemas),DBMS內的DDL編譯器(compiler)能夠處理DDL,識別綱要建構物(schema constructs)的描述(description)並加以存入DBMS目錄中的綱要描述(schema description)[1]

SQL語言集中負責資料結構定義與資料庫物件定義的語言,由CREATEALTERDROP三個語法所組成,最早是由Codasyl(Conference on Data Systems Languages)資料模型開始,現在被納入SQL指令中作為其中一個子集。

 

4. 尚在研究中的

連接zip file: Trying to connect to zip files in folder 

http://www.excelandpowerbi.com/?p=155
PowerQuery read from folder with many zip file

Firstly, create UnzipContents function in Power BI Desktop following the instructions in this blog.

Secondly, choose "New Source -> Blank Query", open the advanced editor and paste the following code, please replace the path to your own path.

let
path = "Path\Zipfolder",
Source = Folder.Files(path),
#"Filtered Rows to only .zip" = Table.SelectRows(Source, each ([Extension] = ".zip")),
#"Removed Other Columns" = Table.SelectColumns(#"Filtered Rows to only .zip",{"Content"}),
#"Added Custom UnzipContents" = Table.AddColumn(#"Removed Other Columns", "Custom", each UnzipContents([Content]))
in
    #"Added Custom UnzipContents"
arrow
arrow

    學習的長禾 發表在 痞客邦 留言(0) 人氣()