CHAPTER 3

Cleaning and Shaping Data

In an ideal world, every dataset would be clean, neatly shaped, and ready for use; but in reality, you will likely need to prepare your data carefully before you analyze it. Power BI Desktop enables you to clean and shape data by using Microsoft’s Power Query tool, which takes a visual approach to data preparation.

A screenshot exposes the custom column dialog box.

Remove Duplicate Values

Replace Values in a Column

Split a Column Using a Delimiter

Group Data

Add a Calculated Column

Add an Index Column

Remove Duplicate Values

When shaping or transforming a dataset, you may discover duplicate records. You can make your data more accurate for your analysis ...

Get Teach Yourself VISUALLY Power BI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.