MSK Institute LogoMSK.Institute
HomeCourses
Book Free Demo➔Sign In
Free Demo➔
MSK Institute LogoMSK.Institute

Leading computer training academy in Shikohabad for software engineering, Python, web development, and digital literacy.

ISO 9001:2015 Certified Center
Follow & Connect
4.9

Programs & Admissions

  • All CoursesCatalog
  • Learning PathsRoadmaps
  • Student ProjectsShowcase
  • Live Classes & ScheduleLive
  • Upcoming Batches
  • Campuses & LocationsHub
  • Verify Certificates
  • Book Free Demo Class

Resources & Tools

  • Free Online Mock TestsAll Tests
  • NIELIT CCC Mock TestFree
  • Course & Career FinderQuiz
  • Study Material Hub
  • All MSK ToolsHub
  • Keyboard ShortcutsNew
  • TypeQuest Speed LabTyping
  • MSK Code PlaygroundCode
  • Interactive Tutorials
  • Quick Cheatsheets

Institute & Contact

  • About MSK Institute
  • Careers & InternshipsHiring
  • Publications & Blogs
  • Gali No. 3, Near Gyan Jyoti Public School,
    Adarsh Nagar, Shikohabad, Uttar Pradesh 283135
  • +91 83930 42166
  • mskshikohabad@gmail.com
  • Hours:Mon – Sat: 8:00 AM – 7:00 PM | Sun: 10:00 AM – 2:00 PM
  • 4.9 ★(38 Google Reviews)
© 2026 MSK Institute. All rights reserved.•Privacy Policy•Terms of Service•Disclaimer•Contact Us

Shikohabad's Leading Computer & Coding Academy

Home
Courses
Live
Material
Cleaning and Transforming Data0%
Study MaterialsCheatsheet
Power BIProgress 0%
1.1What is Power BI?1.2Power BI Desktop vs Service1.3Power BI Workflow Overview
3.1Connecting to Excel, CSV, and Databases3.2Power Query Editor Basics3.3Cleaning and Transforming Data
HomeTutorialsPower BICleaning and Transforming Data
Relationships between Tables

Cleaning and Transforming Data

Beginner12 min read•Updated: 2026-11-18•By Er. Sumit Kumar (MSK Institute)
Study MaterialsCheatsheet

Reading Time: 8 Mins | Level: Beginner to Advanced


1. Common Data Cleaning Tasks in Power Query

1. Use First Row as Headers

Raw CSV and Excel files often import with generic column headers (Column1, Column2) while the actual headers sit in row 1.

  • Click "Use First Row as Headers" on the Home ribbon.

2. Changing Data Types

Always enforce correct datatypes (e.g. Dates to Date, Revenue to Fixed decimal number, IDs to Text).

  • Pro Tip: Always store numerical identifiers (like Zip Codes, Phone Numbers, or Student IDs) as Text, so Power BI does not attempt to sum them up!

3. Unpivoting Columns (Wide to Long)

If months are spread across columns (Jan, Feb, Mar), select the attribute columns and click Transform $ o$ Unpivot Columns.


Interactive Quiz• Knowledge Check

Multiple Choice Questions

Question 1
Why should telephone numbers and pincodes be formatted as Text rather than Whole Numbers in Power Query?
Question 2
What transformation turns a wide Excel sheet with months spread across columns into a normalized 2-column tabular format (Attribute and Value)?
Question 3
What does 'Remove Duplicates' do when applied to a selected column in Power Query?
Question 4
Which feature creates a new column based on IF-THEN-ELSE business conditions through an intuitive GUI dialog?
Question 5
What does the 'Column From Examples' feature do in Power Query?

Next Lesson

Relationships between Tables

Continue learning with hands-on practice, examples, and exercises in the upcoming topic.

Related Lessons

Previous LessonNext Lesson
Power Query Editor BasicsRelationships between Tables

Practice Quiz

Test your understanding of this lesson with 5 questions. Each question has one correct answer.

12-Month Data Analysis Mastery Program

Master Full-Stack Data Analytics (Excel, SQL, Python, Power BI & Tableau)

Combine 15 complete courses, 150 chapters, 541 topics, live SQL/Power BI/Tableau dashboards, and Scikit-Learn capstones at MSK Institute Shikohabad or Live Online.

View Full CourseBook Free Demo
PreviousNext
PreviousPrevNext