From the course: Power BI Data Methods
Unlock the full course today
Join today to access over 23,200 courses taught by industry experts.
Connecting to text files - Power BI Tutorial
From the course: Power BI Data Methods
Connecting to text files
- [Narrator] Flat files are two-dimensional structures storing data where each line represents a record. Within each line, it splits up values into separate fields. Examples of these types of files include .txt, .csv, .tsv, and others. While we would love to have our data already in a table structure when we read it into an application like Power Query, that's often not the case. Let's say we're reading a .txt file like this one. We first need to make sure our queries read each line within the file. Once we separate the lines, we then want to separate them into their fields. In this particular example, we're using fixed widths to delineate, meaning that after a certain number of each, it switches to the next field, but you can also separate by characters, which we'll talk about later. One of the data sets that we'll work with throughout this course is a daily summaries of weather measurements by Land-Based Station. The official name for this data set is the Global Historical…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Connecting to text files6m 57s
-
Connecting to CSV files5m 30s
-
(Locked)
Connecting to Excel files3m 32s
-
(Locked)
Connecting to online Excel files3m 45s
-
(Locked)
Connecting to PDF files4m 42s
-
(Locked)
Connecting to images as data4m 32s
-
(Locked)
Setting up folder connection7m 10s
-
(Locked)
Connecting to HTML and XML4m 30s
-
(Locked)
Connecting to JSON data4m 11s
-
Connecting to APIs4m 20s
-
(Locked)
Connecting to ODATA feeds2m 7s
-
(Locked)
Connecting to GitHub4m 6s
-
(Locked)
Using an R script connector3m 44s
-
(Locked)
Using a Python script connector2m 42s
-
(Locked)
Challenge: Getting data58s
-
(Locked)
Solution: Getting data3m 9s
-
(Locked)
-
-
-
-
-
-