PowerBI Detailed Data Preparation Notes
PowerBI Detailed Data Preparation Notes
- Once data is loaded into Power BI Desktop, users can use the Data View to create calculated
- Existing data values can also be changed, and column names can be renamed directly in the
model.
- Power Query Editor allows users to clean and shape the data before it's loaded into the data
model.
- Merging Columns: Combine first and last names into one full name column.
- Splitting Columns: Separate full name into first and last name using space as a delimiter.
- Removing Records: Delete rows that aren't needed like test entries.
- Removing Duplicates: Keep only unique rows based on one or more columns.
- Reversing Row Order: Flip the data order from bottom to top.
- Filtering Data: Keep only specific rows using dropdowns or range filters.
5. Data Cleansing:
- Fill Down: Copy the value from the cell above into empty cells in a column.
- Using First Row as Headers: Promote row one as the header row.
- Adding Data During Merge: Include new columns like region info when merging.
- Custom Columns: Write your own formula logic using Power Query M language.
- Join Types:
- Join on Multiple Columns: Match records using combined keys (e.g., FirstName + LastName).
- Preparing Datasets: Ensure columns are cleaned and data types match.
- Aggregate: Apply functions like sum, count, average when expanding related data.