Data Transformation is a process in which raw data is first transformed into a format that is suitable for fast and precise data processing, as well as for efficient reporting. Moreover, data transformation involves a wide range of operations, such as identifying data sources and data types. Next, it includes cleaning data by removing errors and duplicates, in addition to enriching data and performing aggregations.
The basic data transformation principles, worked out by our experts after delivering multiple Power BI training sessions, are listed below:
Start by selecting queries via Navigator.
Then, remove blank rows from the top of sheets.
Use the first row as a header.
Next, remove blank columns.
After that, choose relevant columns.
Rename column names for clarity.
Change data types as required.
Remove any errors in the data.
Clean and trim the text values.
Correct any spelling mistakes.
Filter data based on specific conditions.
Remove duplicate entries.
Afterwards, explore and edit the applied steps.
Check for repeatable workflows.
Finally, work with the Advanced Editor for deeper customisation.
In this blog post, we will walk through the use of Group-by function at basic and advanced levels. To understand the concept and follow through, you must familiarize yourself with the data used in this tutorial. A screen shot of sample data is attached below: