Now you know how to import data from an XML file in Power Query. But what if your data source is in the form of a CSV file? There is no need to worry if you have your data inside a CSV file (Comma Separated Values). This is because it’s very easy to import data from CSV into Power Query!
Import Data from CSV using Power Query
Nowadays, many times you get data in the comma-delimited format.
POWER BI FOR DUMMIES
Let’s see how to import this data into Power Query.
Step 1: Get data from CSV
To get data from CSV you should have a CSV file containing data saved on your PC. Then, you can easily connect within a few clicks in Power BI as given below-
Home > Get Data > Text/CSV
Step 2: Link the CSV data into Power Query
Once you click on the connect option in Power BI, it will take you to the directory where you have saved your CSV file. You just have to select the file and click on open as shown below.
Step 3: Close & Apply
After clicking on the Open option, the selected CSV file gets open in Power Query as shown in below picture. Here, you can view the data and do the required data manipulations. After doing so, click on the Close & Apply button.
You can know more :