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.

ProductQuantityCategory
Laptop15Electronics
Mobile25Electronics
Chair(Missing)Furniture
Laptop15Electronics
Table12(Missing)
Sofa8Furniture
  •  Display Stacked column chart with Product vs Quantity
  •  Display Funnel Chart with Products by Category


7. Import data and visualize the data.

StudentIDFull NameDOBPercentageCity-State
101Rahul Sharma15-08-200382.5Pune-MH
102Sneha Patil22-01-200491Mumbai-MH
103Amit Verma10-12-200378Nagpur-MH

Perform the following operations using Power Query Editor:

  1. Change StudentID data type to Whole Number.
  2. Change DOB data type to Date.
  3. Rename Percentage column to Marks.
  4. Split City-State into City and State using the "-" delimiter. 

  • Display Full Name and Marks in Clustered Bar Chart.


8. Customer Data

Customer IDCustomer NameAgeMobile NoIs Premium
C101Rahul Sharma229876543210TRUE
C102Sneha Patil219123456789FALSE
C103Amit Verma239988776655TRUE

Perform the following operations using Power Query Editor:

  1. Change Age data type to Whole Number.
  2. Change Mobile No data type to Text.
  3. Change Is Premium data type to True/False.
  4. Rename Customer Name to Name.
  5. Rename Is Premium to Premium Customer.
  6. 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

MonthFoodTransportRent
January6000200012000
February5800220012000
March6200210012000
April6500230012000

Perform the following operations using Power Query Editor:

  1. Create a custom column Total Expense = Food + Transport + Rent.
  2. Rename Food to Food Expense.
  3. Display Month and Total Expense using a Line Chart.

b) Example : Library Books

BookCopiesPrice
Python25450
Java18500
SQL20400
C++15350

Perform the following operations using Power Query Editor:

  1. Create a custom column Inventory Value = Copies × Price.
  2. Rename Copies to Available Copies.
  3. 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

MonthSales Amount
January45000
February52000
March48000
April60000
May55000
June68000

Perform the following tasks:

  1. Import the data into Power BI.
  2. Change Sales Amount data type to Whole Number.
  3. Rename Sales Amount to Monthly Sales.
  4. Design a Line Chart to show the monthly sales trend.
  5. Design a Clustered Column Chart to compare monthly sales.

Visuals to Create:

  • Line Chart
  • Clustered Column Chart

b) Example 2: Product Sales Distribution

ProductUnits Sold
Laptop120
Mobile180
Tablet90
Printer60
Monitor75

Perform the following tasks:

  1. Import the data into Power BI.
  2. Change Units Sold data type to Whole Number.
  3. Rename Units Sold to Total Units Sold.
  4. Design a Clustered Bar Chart to compare product sales.
  5. 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.

ProductSales
Laptop85000
Mobile65000
Tablet40000
Printer30000
Monitor45000


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.

StudentMarks
Rahul85
Sneha92
Amit78
Priya88
Neha67


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

SaleIDCustomerIDProductAmount
1C101Laptop50000
2C102Mouse800
3C101Keyboard1500

Table 2: Customers

CustomerIDCustomerNameCity
C101RahulPune
C102PriyaMumbai


b) Example 2: Orders and Products Tables

Table 1: Orders

OrderIDProductIDQuantity
101P12
102P21
103P13

Table 2: Products

ProductIDProductNamePrice
P1Laptop50000
P2Printer12000


13. Merge Two Related Tables Using a Common Key in Power BI and display useful data in clustered column chart.

Customers Table

CustomerIDCustomerNameCity
C101Amit PatilPune
C102Sneha SharmaMumbai
C103Rahul JoshiNanded
C104Priya MorePune


Sales Table

OrderIDCustomerIDProductSales
O001C101Laptop100000
O002C102Mouse2500
O003C101Keyboard3600
O004C103Laptop50000


14. Calculate Total, Average and Count of the price and quantity.

Sales Table

OrderIDCustomerIDProductSalesQuantity
O001C101Laptop1000001
O002C102Mouse25002
O003C101Keyboard36003



----------------------------------------------------------------------------------------------------

Important Questions

----------------------------------------------------------------------------------------------------


Practical 1 :Import Excel and CSV Data

Q1. Import data from Excel

  • Create a Sales.xlsx file containing columns: OrderID, OrderDate, Product, Category, Quantity, Price, Customer.
  • Import the Excel file into Power BI Desktop.
  • Load the required worksheet.
  • Display Category, Quantity, Price in pie chart.

Q2. Import data from CSV

  • Import a Students.csv file containing: StudentID, StudentName, Gender, Course, Marks, City.
  • Load the data into Power BI.
  • Verify the number of rows and columns.
  • Save the Power BI file as StudentAnalysis.pbix.

Q3. Import two datasets

  • Import Sales.xlsx and Customers.csv into Power BI.

Practical 2 : Clean Imported Dataset

Q4. Remove unnecessary columns and rows
Given a sales dataset:
OrderID, Date, Customer, Product, Category, Quantity, Price, Salesperson, Remarks

Perform the following:

  • Remove the Remarks column.
  • Remove duplicate records.
  • Load the cleaned data into Power BI.

Q5. Handle missing values
Add a customer dataset containing missing values in City, Phone, and Email:

  • Identify missing values.
  • Replace missing City values with "Unknown".
  • Remove duplicate customers.

Practical 3 : Data Types, Rename and Split Columns

Q6. Change data types
Add a sales dataset:

  • Change OrderDate to Date.
  • Change Quantity to Whole Number.
  • Change Price and Sales to Decimal Number.

Q7. Rename columns
Rename:

  • Cust_IDCustomer ID
  • Prod_NameProduct Name
  • QtyQuantity
  • Ord_DateOrder Date

Q8. Split a column
Given a FullName column containing:

Rahul Patil
Sneha Sharma

  • Split FullName into First Name and Last Name.
  • Use Split Column by Delimiter.
  • Verify the result.

Practical 4 : Custom Columns and Transformations

Q 9. Create an Amount column

Given:

ProductQuantityUnit Price
Laptop250000
Mouse5500
Keyboard31200

Create a custom column:

Amount = Quantity × Unit Price

Display the calculated amount in funnel chart.


Practical 5 : Basic Visualizations

Sales Dataset

DateProductProduct CategorySales
05-Jan-2026LaptopElectronics55000
12-Jan-2026MobileElectronics30000
20-Jan-2026ChairFurniture12000
28-Jan-2026TableFurniture18000
05-Feb-2026LaptopElectronics60000
14-Feb-2026MobileElectronics35000

Q10. Product-wise sales

Using the Sales dataset:

  • Create a Column Chart showing total sales by Product.
  • Display data labels.

Q11. Sales distribution
Create a Pie Chart showing the percentage contribution of each Product Category to total sales.


Q12. Create Dashboard with Multiple visualizations
Using the Sales dataset, create:

  1. Bar chart : Sales by Product
  2. Column chart : Sales by Category
  3. Line chart : Monthly Sales
  4. Pie chart : Sales by Category

Comments

Popular posts from this blog

UNIT I Introduction To Data Visualization

UNIT III : Designing Effective Visualization