Practical Questions
Practcal Exam Questions of Data Visualization using Power BI
1. Students Data, display subject and marks in Pie chart.
|
Student
Name |
Subject |
Marks |
|
Aditi |
Math |
85 |
|
Aditi |
Science |
78 |
|
Rahul |
Math |
90 |
|
Rahul |
Science |
88 |
|
Sneha |
Math |
70 |
|
Sneha |
Science |
75 |
2. Sales Data, Display Category and sales amount in Funnel chart.
|
Product |
Category |
Sales
Amount |
|
Pen |
Stationery |
100 |
|
Pencil |
Stationery |
80 |
|
Notebook |
Stationery |
200 |
|
Chips |
Snacks |
150 |
|
Biscuits |
Snacks |
120 |
|
Juice |
Drinks |
180 |
3. Import CSV data display sales and region in Stacked Column Chart.
Product,Region,Sales,Quantity,Date
Laptop,West,50000,2,01-01-2024
Mobile,East,20000,3,02-01-2024
Tablet,South,15000,1,03-01-2024
Laptop,North,45000,2,04-01-2024
Mobile,West,25000,4,05-01-2024
4. Import CSV data,
a. Display name and marks in Stacked column chart.
b. Display Subject and Marks in Pie Chart
c. Total Marks of all student in Card visual.
Name,Subject,Marks,City
Rahul,Maths,78,Pune
Sneha,Science,85,Mumbai
Amit,Maths,65,Nagpur
Priya,Science,90,Pune
Rohit,Maths,88,Mumbai
5. Removing Duplicates & Handling Missing Values
Name,Marks,City
Rahul,80,Pune
Sneha,90,Mumbai
Amit,,Nagpur
Rahul,80,Pune
Priya,85,
Rohit,70,Mumbai
- Display Clustered Bar Chart with name and marks.
- Display Pie Chart with city, name
6. Import data and handle missing values and duplicate duplicate entries.
| Product | Quantity | Category |
|---|---|---|
| Laptop | 15 | Electronics |
| Mobile | 25 | Electronics |
| Chair | (Missing) | Furniture |
| Laptop | 15 | Electronics |
| Table | 12 | (Missing) |
| Sofa | 8 | Furniture |
- Display Stacked column chart with Product vs Quantity
- Display Funnel Chart with Products by Category
7. Import data and visualize the data.
| StudentID | Full Name | DOB | Percentage | City-State |
|---|---|---|---|---|
| 101 | Rahul Sharma | 15-08-2003 | 82.5 | Pune-MH |
| 102 | Sneha Patil | 22-01-2004 | 91 | Mumbai-MH |
| 103 | Amit Verma | 10-12-2003 | 78 | Nagpur-MH |
Perform the following operations using Power Query Editor:
- Change StudentID data type to Whole Number.
- Change DOB data type to Date.
- Rename Percentage column to Marks.
- Split City-State into City and State using the "-" delimiter.
- Display Full Name and Marks in Clustered Bar Chart.
8. Customer Data
| Customer ID | Customer Name | Age | Mobile No | Is Premium |
|---|---|---|---|---|
| C101 | Rahul Sharma | 22 | 9876543210 | TRUE |
| C102 | Sneha Patil | 21 | 9123456789 | FALSE |
| C103 | Amit Verma | 23 | 9988776655 | TRUE |
Perform the following operations using Power Query Editor:
- Change Age data type to Whole Number.
- Change Mobile No data type to Text.
- Change Is Premium data type to True/False.
- Rename Customer Name to Name.
- Rename Is Premium to Premium Customer.
- Display Name and Age in a Clustered Bar Chart.
9. Create Custom Columns and Transform Data using Power Query Functions.
a) Example 1: Monthly Expenses
| Month | Food | Transport | Rent |
|---|---|---|---|
| January | 6000 | 2000 | 12000 |
| February | 5800 | 2200 | 12000 |
| March | 6200 | 2100 | 12000 |
| April | 6500 | 2300 | 12000 |
Perform the following operations using Power Query Editor:
- Create a custom column Total Expense = Food + Transport + Rent.
- Rename Food to Food Expense.
- Display Month and Total Expense using a Line Chart.
| Book | Copies | Price |
|---|---|---|
| Python | 25 | 450 |
| Java | 18 | 500 |
| SQL | 20 | 400 |
| C++ | 15 | 350 |
Perform the following operations using Power Query Editor:
- Create a custom column Inventory Value = Copies × Price.
- Rename Copies to Available Copies.
- Display Book and Inventory Value using a Donut Chart.
10. Design basic visualizations using Bar, Column, Line, and Pie Charts.
a) Example 1: Monthly Sales Report
| Month | Sales Amount |
|---|---|
| January | 45000 |
| February | 52000 |
| March | 48000 |
| April | 60000 |
| May | 55000 |
| June | 68000 |
Perform the following tasks:
- Import the data into Power BI.
- Change Sales Amount data type to Whole Number.
- Rename Sales Amount to Monthly Sales.
- Design a Line Chart to show the monthly sales trend.
- Design a Clustered Column Chart to compare monthly sales.
Visuals to Create:
- Line Chart
- Clustered Column Chart
| Product | Units Sold |
|---|---|
| Laptop | 120 |
| Mobile | 180 |
| Tablet | 90 |
| Printer | 60 |
| Monitor | 75 |
Perform the following tasks:
- Import the data into Power BI.
- Change Units Sold data type to Whole Number.
- Rename Units Sold to Total Units Sold.
- Design a Clustered Bar Chart to compare product sales.
- Design a Pie Chart to show the percentage contribution of each product to total sales.
Visuals to Create:
- Clustered Bar Chart
- Pie Chart
11. Format and customize visualizations using colours, labels, and themes.
a) Example 1: Sales Report
Question
Create a Clustered Column Chart to display the sales of different products. Format the chart by changing colors, adding data labels, and applying a theme.
| Product | Sales |
|---|---|
| Laptop | 85000 |
| Mobile | 65000 |
| Tablet | 40000 |
| Printer | 30000 |
| Monitor | 45000 |
b) Example 2: Student Marks Report
Question
Create a Pie Chart to display student marks. Customize the chart using colors, category labels, percentage labels, and a theme.
| Student | Marks |
|---|---|
| Rahul | 85 |
| Sneha | 92 |
| Amit | 78 |
| Priya | 88 |
| Neha | 67 |
12. Create relationships between multiple tables in the data model and represent data in visual forms.
a) Example 1: Sales and Customer Tables
Table 1: Sales
| SaleID | CustomerID | Product | Amount |
|---|---|---|---|
| 1 | C101 | Laptop | 50000 |
| 2 | C102 | Mouse | 800 |
| 3 | C101 | Keyboard | 1500 |
Table 2: Customers
| CustomerID | CustomerName | City |
|---|---|---|
| C101 | Rahul | Pune |
| C102 | Priya | Mumbai |
b) Example 2: Orders and Products Tables
Table 1: Orders
| OrderID | ProductID | Quantity |
|---|---|---|
| 101 | P1 | 2 |
| 102 | P2 | 1 |
| 103 | P1 | 3 |
Table 2: Products
| ProductID | ProductName | Price |
|---|---|---|
| P1 | Laptop | 50000 |
| P2 | Printer | 12000 |
Use Model View
Students
|
Student ID |
Student
Name |
|
1 |
Aditi |
|
2 |
Rahul |
|
3 |
Sneha |
Marks
|
Student ID |
Subject |
Marks |
|
1 |
Math |
85 |
|
1 |
Science |
78 |
|
2 |
Math |
90 |
|
3 |
Math |
70 |
Create Visual of Table Visual
- Student Name (from Students table)
- Marks (from Marks table)
4. Use Model View
Table 1: Customers
|
Customer
ID |
Customer
Name |
|
1 |
Amit |
|
2 |
Neha |
Table 2: Orders
|
Order ID |
Customer
ID |
Amount |
|
101 |
1 |
500 |
|
102 |
1 |
300 |
|
103 |
2 |
700 |
Create visual of Table Visual:
- Customer Name
- Amount
Comments
Post a Comment