81. What is Microsoft Power Query and how do you use it for data cleaning?
Microsoft Power Query is a data transformation tool in Microsoft Excel used to import, clean, and reshape data automatically.
Common Data Cleaning Tasks:
โ Remove duplicates
โ Change data types
โ Split/merge columns
โ Remove blanks
โ Pivot/unpivot data
โ Standardize formats
Access Power Query:
Data โ Get Data
Why Analysts Use It:
โ Saves time
โ Reduces manual work
โ Refreshes automatically
โ Handles large datasets efficiently
๐ Example: Clean raw sales data from CSV files daily.
82. How do you import and transform data filter, group, pivot, unpivot using Microsoft Power Query?
Import Data:
Data โ Get Data โ From File
Common Transformations:
Transformation : Purpose
Filter Rows : Remove unnecessary data
Group By : Aggregate data
Pivot Columns : Convert rows into columns
Unpivot Columns : Convert columns into rows
Example:
Convert monthly sales columns into normalized rows using โUnpivotโ.
๐ Useful for:
- Dashboard preparation
- Database-style formatting
- Reporting automation
83. How do you refresh a query that pulls from a source file?
Queries can be refreshed whenever source data changes.
Methods:
- Right-click query โ Refresh
- Use:
Data โ Refresh All
- Shortcut:
Ctrl + Alt + F5
Automatic Refresh:
Can refresh:
- On file open
- At intervals
๐ Example: Update daily sales report automatically from latest CSV.
84. How do you load cleaned data into a PivotTable or worksheet?
After transformation:
Steps:
1. Click:
Close & Load
2. Choose destination:
Worksheet
PivotTable
Data Model
Benefits:
โ Clean structured data
โ Faster analysis
โ Dynamic reporting
๐ Common workflow: Raw Data โ Power Query โ PivotTable โ Dashboard
85. What is Microsoft Power Pivot and DAX high-level overview?
Microsoft Power Pivot is an Excel feature used for advanced data modeling and relationships.
Features:
โ Handle millions of rows
โ Create relationships between tables
โ Build calculated measures
DAX Data Analysis Expressions:
Formula language used in Power Pivot and Microsoft Power BI.
Example DAX Formula:
Total Sales = SUM(Sales[Amount]) ๐ Used for:
- KPIs
- Business metrics
- Advanced dashboards
86. How do you use tables and structured references in formulas?
Excel Tables create dynamic structured data ranges.
Create Table:
Shortcut:
Ctrl + T
Structured Reference Example:
Instead of:
=SUM(A2:A100) Use:
=SUM(Sales[Revenue]) Benefits:
โ Easier to read
โ Dynamic ranges
โ Auto-expand with new data
โ Better for dashboards
87. How do you protect and share an Excel file for multiple users?
Protection Options:
Feature : Purpose
Protect Sheet : Prevent editing
Protect Workbook : Prevent structural changes
Password Encryption : Restrict file access
Share Options:
โ OneDrive
โ Microsoft SharePoint
โ Email attachment
โ Shared network drive
Collaboration Features:
โ Real-time editing
โ Comments
โ Version history
๐ Useful for team reporting environments.
88. How do you create dynamic dashboards with slicers and linked PivotTables?
Steps:
1. Create PivotTables
2. Create PivotCharts
3. Insert slicers:
PivotTable Analyze โ Insert Slicer
4. Connect slicers to multiple PivotTables
Benefits:
โ Interactive filtering
โ User-friendly dashboards
โ Real-time insights
๐ Example: Filter dashboard by:
- Region
- Product
- Year
89. How do you export Excel reports to PDF or CSV?
Export as PDF:
File โ Save As โ PDF
Export as CSV:
File โ Save As โ CSV
Difference:
Format : Purpose
PDF : Sharing reports
CSV : Data transfer/import
๐ CSV removes formatting and formulas.