0% found this document useful (0 votes)
2 views61 pages

BA LAB

The document outlines the features and functions of Microsoft Excel, including data entry, calculations, data analysis, and reporting capabilities. It describes various built-in functions like MAX, MIN, AVERAGE, and SUM, and explains how to perform data import/export operations with different file formats. Additionally, it covers statistical analysis techniques using Excel for summarizing and interpreting data.

Uploaded by

goodwinprakash
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views61 pages

BA LAB

The document outlines the features and functions of Microsoft Excel, including data entry, calculations, data analysis, and reporting capabilities. It describes various built-in functions like MAX, MIN, AVERAGE, and SUM, and explains how to perform data import/export operations with different file formats. Additionally, it covers statistical analysis techniques using Excel for summarizing and interpreting data.

Uploaded by

goodwinprakash
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

EX.

No:1 Explore the features of MS-EXCEL

Aim:
To study and explore the various features available in Microsoft Excel for data analysis and reporting.
Definition:
Microsoft Excel is a spreadsheet application developed by Microsoft. It is used to organize, store,
calculate, analyze, and visualize data in the form of rows and columns. Excel is widely used in education,
business, finance, research, and data management.
Functions and Features of Microsoft Excel
1. Data Entry and Storage
o Enter and store text, numbers, dates, and other data.

o Organize information in worksheets and workbooks.

2. Calculations
o Perform mathematical calculations using formulas.

o Examples: Addition, subtraction, multiplication, and division.

3. Built-in Functions
o Excel provides many predefined functions such as:

 SUM () – Adds values.


 AVERAGE () – Calculates the average.
 COUNT () – Counts cells containing numbers.
 MAX () – Finds the highest value.
 MIN () – Finds the lowest value.
 IF () – Performs logical tests.
4. Data Analysis
o Sort and filter data.

o Use PivotTables to summarize large datasets.

5. Charts and Graphs


o Create visual representations of data such as:

 Bar charts
 Pie charts
 Line charts
 Column charts
6. Formatting
o Change fonts, colors, borders, and cell styles.

o Apply Conditional Formatting to highlight important data.

7. Data Validation
o Restrict the type of data entered into cells.

o Create drop-down lists.

8. Automation
o Use Macros and VBA (Visual Basic for Applications) to automate repetitive tasks.

9. Reporting
o Generate reports, invoices, budgets, and financial statements.

10. Collaboration
o Share and edit workbooks with others using cloud services.

Applications of Excel
 Budget preparation
 Payroll management
 Inventory tracking
 Student record management
 Data analysis and reporting
 Business decision-making
Software Required:
Microsoft Excel
Procedure:
 Open Microsoft Excel.
 Create a new workbook.
 Enter sample business data.
 Apply cell formatting and conditional formatting.
 Use formulas and functions.
 Sort and filter the data.
 Create Pivot Tables and Charts.
 Save the workbook.

Output:
Result:
Thus, the various features of Microsoft Excel were studied and implemented successfully.
EX. No:2 (i) Perform Numerical Operations Using Microsoft Excel Functions

Aim
To perform numerical operations such as MAX, MIN, AVERAGE, SUM, SQRT, and ROUND using
Microsoft Excel functions.
Software Required
 Microsoft Excel 2016/2019/2021 or Microsoft 365
Theory
Microsoft Excel provides built-in mathematical and statistical functions that help users perform
numerical calculations efficiently. These functions are widely used in business analytics, accounting, finance,
and data analysis. Numerical functions simplify calculations and improve accuracy while working with large
datasets.
1. MAX Function
The MAX () function returns the largest value from a selected range of cells.
Syntax
=MAX(range)
Example
=MAX(A1:A10)
Different types of Maximum Functions:

Function Formula Explanation


Returns the highest value in
MAX() =MAX(R2:R9997)
the Sales column.
Returns the highest sales value for the
MAXIFS() =MAXIFS(R2:R9997,O2:O9997,"Furniture")
Furniture category.
Returns the maximum value
including logical values
MAXA() =MAXA(A1:A10)
(TRUE=1, FALSE=0) and text
representations of numbers.
MAX with Multiple Returns the maximum value
=MAX(R2:R9997,T2:T9997)
Ranges from multiple ranges.
Returns the maximum sales
MAX with Condition =MAX(IF(O2:O9997="Furniture",R2:R9997)) for Furniture (Array Formula
in older Excel versions).
=MAXIFS(R2:R9997,B2:B9997,">=01/01/2025", Returns the highest sales
MAX by Date Range
B2:B9997,"<=31/12/2025") within a specified date range.
Purpose
 Identify the highest sales value.
 Find maximum profit or revenue.
 Analyze peak performance.
2. MIN Function
The MIN() function returns the smallest value from a selected range of cells.
Syntax
=MIN(range)
Example
=MIN(A1:A10)

Function Formula Explanation


Returns the lowest value in
MIN() =MIN(R2:R9997)
the Sales column.
Returns the lowest sales
MINIFS() =MINIFS(R2:R9997,O2:O9997,"Furniture") value for the Furniture
category.
Returns the minimum value
MINA() =MINA(A1:A10) including logical values and text
representations of numbers.
MIN with
Returns the minimum value
Multiple =MIN(R2:R9997,T2:T9997)
from multiple ranges.
Ranges
Returns the minimum sales
MIN with Condition =MIN(IF(O2:O9997="Furniture",R2:R9997)) for Furniture (Array Formula in
older Excel versions).
=MINIFS(R2:R9997,B2:B9997,">=01/01/2025", Returns the lowest sales
MIN by Date Range
B2:B9997,"<=31/12/2025") within a specified date range.

Purpose
 Identify the lowest sales value.
 Find minimum profit or revenue.
 Analyze poor performance areas.
3. AVERAGE Function
The AVERAGE() function calculates the arithmetic mean of a set of values.
Syntax
=AVERAGE(range)
Function Formula Explanation

Returns the average


AVERAGE() =AVERAGE (R2:R9997) (arithmetic mean) of all
sales values.
Returns the average sales for
AVERAGEIF() =AVERAGEIF (O2:O9997,"Furniture",R2:R9997)
the Furniture category only.
Returns the average sales for
=AVERAGEIFS (R2:R9997,O2:O9997,
AVERAGEIFS() Furniture in the West region
"Furniture",Q2:Q9997,"West")
(multiple criteria).
Calculates the average
including logical values
AVERAGEA() =AVERAGEA (A1:A10)
(TRUE = 1, FALSE = 0)
and text values.

AVERAGE with Returns the average of values


=AVERAGE (R2:R9997,T2:T9997)
Multiple Ranges from multiple ranges.
=AVERAGEIFS (R2:R9997,B2:B9997,
AVERAGE with Date Returns the average sales
Criteria ">=01/01/2025",B2:B9997,"<=31/12/2025") within a specified date range.

Example
=AVERAGE (A1:A10)
Purpose
 Calculate average sales.
 Determine average profit.
 Analyse overall business performance.
4. SUM Function
The SUM() function adds all numerical values within a specified range.
Syntax
=SUM(range)
Function Formula Explanation

Returns the total sales value from


SUM() =SUM (R2:R9997)
the Sales column.

Returns the total sales for the


SUMIF() =SUMIF (O2:O9997,"Furniture”, R2:R9997)
Furniture category.

Returns the total sales for Furniture


=SUMIFS (R2:R9997, O2:O9997,
SUMIFS() in the West region (multiple
"Furniture”, Q2:Q9997,"West")
criteria).

SUM with Returns the total of values from


=SUM (R2:R9997, T2:T9997)
Multiple Ranges multiple ranges.

SUM by Date =SUMIFS (R2:R9997, B2:B9997, Returns the total sales within a
Range ">=01/01/2025”, B2:B9997,"<=31/12/2025") specified date range.

Example
=SUM(A1:A10)
Purpose
 Calculate total sales.
 Determine total revenue.
 Aggregate numerical data.
5. SQRT Function
The SQRT () function returns the positive square root of a number.
Syntax
=SQRT (number)

Function Formula Explanation

Returns the square root of the value


SQRT() =SQRT(R2)
in cell R2.
SQRT with Returns the square root of the total
=SQRT(SUM(R2:R9997))
SUM() sales value.

SQRT with Returns the square root of the average


=SQRT(AVERAGE(R2:R9997))
AVERAGE() sales value.

SQRT with MAX() =SQRT(MAX(R2:R9997)) Returns the square root of the


Function Formula Explanation

highest sales value.


Power Function Another method to calculate the
=R2^(1/2)
Equivalent square root using the exponent operator.

Example
=SQRT(A1)
Purpose
 Perform mathematical calculations.
 Support statistical computations.
 Calculate standard deviation manually.
6. ROUND Function
The ROUND () function rounds a number to a specified number of decimal places.
Syntax
=ROUND (number,num_digits)

Function Formula Explanation

Rounds the value in R2 to 2


ROUND() =ROUND(R2,2)
decimal places.
Always rounds the value up to 2
ROUNDUP() =ROUNDUP(R2,2)
decimal places.
Always rounds the value down
ROUNDDOWN() =ROUNDDOWN(R2,2)
to 2 decimal places.
Rounds the value to the nearest
MROUND() =MROUND(R2,10)
multiple of 10.
ROUND with Returns the average sales rounded to 2
=ROUND(AVERAGE(R2:R9997),2)
AVERAGE() decimal places.

Example
=ROUND(A1,2)
Purpose
 Improve data presentation.
 Standardize numerical values.
 Reduce unnecessary decimal places.
Procedure
Steps
1. Open Microsoft Excel.
2. Create a new workbook.
3. Enter sample numerical data into a column or range of cells (e.g., A1:A10).
4. To find the maximum value, enter:
=MAX (A1:A10)
5. To find the minimum value, enter:
=MIN (A1:A10)
6. To calculate the average value, enter:
=AVERAGE (A1:A10)
7. To calculate the sum of all values, enter:
=SUM (A1:A10)
8. To find the square root of a number, enter:
=SQRT(A1)
9. To round a number to a specific number of decimal places, enter:
=ROUND(A1,2)
10. Press Enter after each formula to display the result.
11. Verify the calculated values.
12. Save the workbook.

Result:
Thus, the numerical operations MAX, MIN, AVERAGE, SUM, SQRT, and ROUND were performed
successfully using Microsoft Excel.

EX. No:2 (ii) Perform data import/export operations for different file formats
Aim
To import data from different file formats into Microsoft Excel and export Excel data into various file formats
for data sharing and analysis.
Definition
Data Import
Data import is the process of bringing data from an external source or file into Microsoft Excel for analysis
and processing.
Data Export
Data export is the process of saving or transferring Excel data into another file format so that it can be used by
other applications or users.
Theory
Microsoft Excel supports importing data from various sources such as CSV files, text files, XML files,
databases, and other Excel workbooks. Similarly, Excel allows users to export worksheets into different
formats including CSV, PDF, and text files. These features enable easy data exchange between applications
and support business reporting and data analysis.
Common File Formats:

File Format Extension Purpose


Excel Workbook .xlsx Stores Excel Worksheets
CSV .csv Comma – Separated data Exchange
Text File .txt Plain text data
PDF .pdf Read – only document
XML .xml Structured data exchange
JSON .json Used for storing and exchanging structured data between
applications, web services, APIs, and databases in a
lightweight, human-readable format.

Software Required
 Microsoft Excel 2016/2019/2021 or Microsoft 365
Procedure:
Part A – Importing Data
Importing a CSV File
1. Open Microsoft Excel.
2. Click File → Open.
3. Browse and select a CSV file.
4. Click Open.
5. Verify that the data is loaded correctly into the worksheet.
6. Save the workbook.
Importing a Text File
1. Open Excel.
2. Select Data → Get Data → From Text/CSV.
3. Browse and select the text file.
4. Choose the appropriate delimiter (Tab, Comma, etc.).
5. Click Load.
6. Verify the imported data.
Importing a JSON File into Excel
1. Open Microsoft Excel.
2. Create a new workbook.
3. Go to the Data tab.
4. Click Get Data → From File → From JSON.
5. Browse and select the required .json file.
6. Click Import.
7. The Power Query Editor window will open.
8. Review the imported JSON data.
9. Use Expand options to display nested fields as columns if required.
10. Click Close & Load.
11. Verify that the JSON data is loaded into the worksheet.

Part B – Exporting Data


Exporting as CSV
1. Open the worksheet.
2. Select File → Save As.
3. Choose the location.
4. Select CSV (Comma delimited) (*.csv).
5. Click Save.
Exporting as PDF
1. Select File → Save As.
2. Choose the location.
3. Select PDF (*.pdf).
4. Click Save.
Exporting as Text File
1. Select File → Save As.
2. Choose Text (Tab delimited) (*.txt).
3. Click Save.
Exporting as JSON File
1. Open the Excel worksheet containing the data.
2. Enable the Developer tab.
3. Click Developer → Visual Basic.
4. Create a new module.
5. Use a VBA script to convert worksheet data into JSON format.
6. Run the VBA program.
7. Save the generated file with the. json extension.

Result
Thus, data import and export operations for different file formats were performed successfully using
Microsoft Excel.

EX. No:3 Statistical Analysis using MS Excel


Aim
To perform statistical operations such as Mean, Median, Mode, Standard Deviation, Variance, Skewness, and
Kurtosis on a business dataset using Microsoft Excel.
Theory
Statistical measures are used to summarize, analyse, and interpret data. They provide information
about the central tendency, variability, and shape of the data distribution.
Definitions of Statistical Measures
1. Mean
The Mean (Arithmetic Average) is the sum of all observations divided by the total number of
observations. It represents the central value of the dataset.
Formula:
∑X
Mean =
N

Excel Function: =AVERAGE (range)


2. Median
The Median is the middle value in a dataset when the values are arranged in ascending or descending order. It
divides the dataset into two equal halves.
Excel Function: =MEDIAN (range)
3. Mode
The Mode is the value that occurs most frequently in a dataset. A dataset may have one mode, multiple
modes, or no mode.
Excel Function: =[Link](range)
4. Variance
Variance measures how far the data values are spread out from the mean. A larger variance indicates greater
dispersion in the dataset.
Formula:
2
s =∑ ¿ ¿
Excel Function: =VAR.S(range)
5. Standard Deviation
Standard Deviation is the square root of variance and indicates the amount of variation or dispersion in a
dataset.
Formula:

s= √ ∑ ¿ ¿ ¿
Excel Function: =STDEV.S (range)
6. Skewness
Skewness measures the degree of asymmetry of a distribution around its mean.
 Positive Skewness → Right-skewed distribution
 Negative Skewness → Left-skewed distribution
 Zero Skewness → Symmetrical distribution
Excel Function: =SKEW (range)
7. Kurtosis
Kurtosis measures the peakedness or flatness of a distribution compared to a normal distribution.
 Positive Kurtosis → More peaked distribution
 Negative Kurtosis → Flatter distribution
 Zero Kurtosis → Similar to normal distribution
Excel Function: =KURT (range)
Software Required
 Microsoft Excel 2016/2019/2021 or Microsoft 365
Procedure:
1. Open Microsoft Excel.
2. Create a new workbook.
3. Enter or import a business dataset containing numerical values.
4. Select the numerical data column for analysis.
5. Calculate the Mean using AVERAGE ().
6. Calculate the Median using MEDIAN ().
7. Calculate the Mode using [Link] ().
8. Calculate the Variance using VAR.S ().
9. Calculate the Standard Deviation using STDEV.S ().
10. Calculate the Skewness using SKEW ().
11. Calculate the Kurtosis using KURT ().
12. Record and analyse the results.
Result:
Thus, the statistical measures such as Mean, Median, Mode, Variance, Standard Deviation, Skewness,
and Kurtosis were calculated successfully using Microsoft Excel.

EX. No:4 Hypothesis Testing using Z-Test, T-Test and ANOVA

Aim
To perform Z-Test, T-Test, and ANOVA on a business dataset using Microsoft Excel and interpret the
statistical significance of the results.
Theory
Hypothesis testing is a statistical method used to make decisions about a population based on sample
data. Z-Test, T-Test, and ANOVA are commonly used statistical tests for comparing means and determining
whether differences are statistically significant.
1. Z-Test
A Z-Test is used to determine whether there is a significant difference between a sample mean and a
population mean when the population variance is known or the sample size is large.
Applications
 Comparing sample performance against a standard value.
 Quality control analysis.
 Business performance evaluation.
Decision Rule
 If p-value < 0.05, reject the null hypothesis.
 If p-value ≥ 0.05, accept the null hypothesis.
2. T-Test
A T-Test is used to compare the means of two groups and determine whether the difference between them is
statistically significant.
Types of T-Test
 Paired T-Test
 Two-Sample Assuming Equal Variances
 Two-Sample Assuming Unequal Variances
Applications
 Comparing sales of two regions.
 Comparing performance before and after implementation.
 Comparing customer satisfaction levels.

Decision Rule
 If p-value < 0.05, reject the null hypothesis.
 If p-value ≥ 0.05, accept the null hypothesis.
3. ANOVA (Analysis of Variance)
ANOVA is used to compare the means of three or more groups simultaneously and determine whether at least
one group mean differs significantly from the others.
Applications
 Comparing sales across multiple regions.
 Comparing profits among product categories.
 Market research studies.
Decision Rule
 If p-value < 0.05, significant difference exists among groups.
 If p-value ≥ 0.05, no significant difference exists among groups.
Software Required:
 Microsoft Excel 2016/2019/2021 or Microsoft 365
 Analysis ToolPak Add-in
Procedure:
Enabling Analysis ToolPak
1. Open Microsoft Excel.
2. Click File → Options → Add-ins.
3. Select Excel Add-ins and click Go.
4. Check Analysis ToolPak.
5. Click OK.
6. Verify that Data Analysis appears in the Data tab.
Part A: Z-Test
Steps
1. Open the business dataset in Excel.
2. Enter the sample data into a worksheet.
3. Click Data → Data Analysis.
4. Select z-Test: Two Sample for Means.
5. Click OK.
6. Enter:
o Variable 1 Range

o Variable 2 Range

o Hypothesized Mean Difference

7. Specify the output range.


8. Click OK.
9. Observe the generated output.
10. Record the Z-value and p-value.
Part B: T-Test
Steps
1. Enter two groups of sample data.
2. Select Data → Data Analysis.
3. Choose one of the T-Test options:
o Paired Two Sample for Means

o Two-Sample Assuming Equal Variances

o Two-Sample Assuming Unequal Variances

4. Click OK.
5. Enter the input ranges.
6. Specify the hypothesized mean difference.
7. Select the output range.
8. Click OK.
9. Observe the results.
10. Record the t-statistic and p-value.

Part C: ANOVA
Steps
1. Arrange data into multiple groups in separate columns.
2. Select Data → Data Analysis.
3. Choose ANOVA: Single Factor.
4. Click OK.
5. Enter the input range.
6. Select Grouped By: Columns.
7. Check Labels in First Row if applicable.
8. Specify the output range.
9. Click OK.
10. Observe the ANOVA summary table.
11. Record the F-value, F-critical value, and p-value.

Result:
Thus, Z-Test, T-Test, and ANOVA were performed successfully using Microsoft Excel, and the
statistical significance of the business data was analysed based on the obtained p-values and test statistics.

EX. No:5 Data Pre-processing Operations

Aim
To perform data preprocessing operations such as handling missing data and normalization on a business
dataset using Microsoft Excel.
Theory
Data preprocessing is an important step in data analytics and machine learning. Raw data often contains
missing values, inconsistencies, and different scales of measurement. Preprocessing improves data quality and
makes the dataset suitable for analysis and modeling.
The major preprocessing operations performed in this experiment are:
1. Handling Missing Data
Missing data occurs when no value is stored for a variable in an observation. Missing values can affect the
accuracy of analysis and lead to incorrect conclusions.
Methods for Handling Missing Data
 Removing records containing missing values.
 Replacing missing values with the Mean.
 Replacing missing values with the Median.
 Replacing missing values with a constant value.
Advantages
 Improves data quality.
 Reduces errors during analysis.
 Enhances model performance.
2. Normalization
Normalization is the process of scaling numerical values to a common range. It helps in comparing attributes
that have different units or scales.
Min-Max Normalization
Min-Max normalization transforms data values into a range between 0 and 1.
Formula
X −X min
X norm=
X max −X min

Where:
 X = Original value

 X min= Minimum value in the dataset

 X max= Maximum value in the dataset

 X norm= Normalized value


Advantages
 Preserves relationships among data values.
 Eliminates scale differences.
 Improves analytical accuracy.
Software Required
 Microsoft Excel 2016/2019/2021 or Microsoft 365
Procedure
Part A: Handling Missing Data
Steps
1. Open Microsoft Excel.
2. Load the business dataset into a worksheet.
3. Examine the dataset for blank or missing cells.
4. Identify columns containing missing values.
5. Calculate the Mean or Median of the available values.
6. Replace missing values with the calculated Mean or Median.
7. Remove incomplete records if necessary.
8. Verify that no missing values remain in the dataset.
Part B: Normalization
Steps
1. Select the numerical column for normalization.
2. Identify the minimum value using the MIN () function.
3. Identify the maximum value using the MAX () function.
4. Apply the Min-Max normalization formula.
5. Calculate normalized values for all records.
6. Verify that all normalized values fall between 0 and 1.
7. Record the normalized dataset.
Formula Used:

Operation Excel Formula


Mean =AVERAGE (range)
Median =MEDIAN (range)
Minimum Value =MIN (range)
Maximum Value =MAX (range)
Normalization = (Cell-MIN (range)) / (MAX (range) - MIN (range))

Result:
Thus, data preprocessing operations such as handling missing data and Min-Max normalization were
performed successfully using Microsoft Excel.

EX. No:6 Dimensionality Reduction using PCA, KPCA and SVD

Aim
To study and perform dimensionality reduction techniques such as Principal Component Analysis
(PCA), Kernel Principal Component Analysis (KPCA), and Singular Value Decomposition (SVD) for
reducing data complexity and improving data analysis.
Theory
Dimensionality reduction is the process of reducing the number of input variables or features in a
dataset while preserving as much important information as possible. It helps simplify data analysis, reduce
computational complexity, eliminate redundancy, and improve visualization.
The commonly used dimensionality reduction techniques are PCA, KPCA, and SVD.
1. Principal Component Analysis (PCA)
Principal Component Analysis (PCA) is a linear dimensionality reduction technique that transforms
a large set of correlated variables into a smaller set of uncorrelated variables called Principal Components.
Objectives of PCA
 Reduce the number of features.
 Remove redundancy among variables.
 Preserve maximum variance in the dataset.
Applications
 Data compression
 Pattern recognition
 Machine learning preprocessing
 Image processing
Advantages
 Reduces data complexity.
 Improves computational efficiency.
 Helps visualize high-dimensional data.
2. Kernel Principal Component Analysis (KPCA)
Kernel Principal Component Analysis (KPCA) is an extension of PCA that can handle nonlinear
relationships in data using kernel functions.

Objectives of KPCA
 Capture nonlinear patterns in data.
 Improve dimensionality reduction for complex datasets.
Applications
 Image recognition
 Bioinformatics
 Pattern classification
 Nonlinear data analysis
Advantages
 Handles nonlinear structures effectively.
 Provides better feature extraction for complex datasets.
3. Singular Value Decomposition (SVD)
Singular Value Decomposition (SVD) is a matrix factorization technique that decomposes a data
matrix into three matrices and identifies the most important features.
Mathematical Representation
T
A=U Σ V
Where:
 A = Original Data Matrix
 U = Left Singular Matrix
 Σ = Singular Values Matrix
 Vᵀ = Right Singular Matrix
Applications
 Data compression
 Recommender systems
 Image processing
 Noise reduction
Advantages
 Efficient matrix decomposition.
 Preserves essential information.
 Reduces storage requirements.

Software Required
 Microsoft Excel 2016/2019/2021 or Microsoft 365
 Statistical Add-ins (if available)
 Power Query / Data Analysis ToolPak (optional)
Procedure
Part A: Principal Component Analysis (PCA)
Steps
1. Open Microsoft Excel.
2. Load the business dataset into a worksheet.
3. Identify numerical attributes such as Sales, Profit, Quantity, and Cost.
4. Standardize the data if necessary.
5. Calculate the covariance matrix.
6. Determine eigenvalues and eigenvectors.
7. Identify the principal components.
8. Select components with the highest variance.
9. Record the reduced dataset.
Part B: Kernel Principal Component Analysis (KPCA)
Steps
1. Load the dataset containing nonlinear relationships.
2. Select the relevant attributes.
3. Apply an appropriate kernel function.
4. Transform the data into a higher-dimensional feature space.
5. Extract kernel principal components.
6. Reduce the dimensionality of the dataset.
7. Record the transformed features.
Part C: Singular Value Decomposition (SVD)
Steps
1. Load the dataset into Excel.
2. Arrange the data in matrix form.
3. Perform matrix decomposition using SVD techniques or add-ins.
4. Obtain matrices U, Σ, and Vᵀ.
5. Select significant singular values.
6. Remove less significant dimensions.
7. Generate the reduced dataset.
8. Compare the results with PCA and KPCA.

Result:
Thus, dimensionality reduction techniques such as Principal Component Analysis (PCA), Kernel
Principal Component Analysis (KPCA), and Singular Value Decomposition (SVD) were studied and
performed successfully using Microsoft Excel.

EX. No:7 Bivariate and Multivariate Analysis

Aim
To perform bivariate and multivariate analysis on a business dataset using Microsoft Excel and study the
relationships among variables.
Theory
Data analysis involves examining relationships among variables to understand patterns, trends, and
dependencies within a dataset. Bivariate and multivariate analyses are commonly used techniques in business
analytics for identifying relationships between variables.
1. Bivariate Analysis
Bivariate Analysis is the statistical analysis of two variables simultaneously to determine the relationship
between them.
Objectives
 Identify relationships between two variables.
 Measure the strength and direction of association.
 Detect trends and patterns.
Common Techniques
 Scatter Plot
 Correlation Analysis
 Regression Analysis
Applications
 Sales vs Profit Analysis
 Price vs Demand Analysis
 Advertising Cost vs Revenue Analysis
Correlation Coefficient
The correlation coefficient measures the strength of the relationship between two variables.

∑(X − X́ )(Y −Ý )


r=
√∑¿ ¿ ¿
Interpretation

Correlation Value Interpretation

+1 Perfect Positive Correlation

0 No Correlation

-1 Perfect Negative Correlation

2. Multivariate Analysis
Multivariate Analysis is the analysis of more than two variables simultaneously to understand complex
relationships among them.
Objectives
 Analyze multiple variables together.
 Identify hidden relationships.
 Support business decision-making.
Common Techniques
 Correlation Matrix
 Multiple Regression
 Principal Component Analysis (PCA)
 Cluster Analysis
Applications
 Customer Behavior Analysis
 Market Segmentation
 Sales Forecasting
 Business Performance Analysis
Advantages
 Provides comprehensive insights.
 Improves prediction accuracy.
 Helps identify influential variables.
Software Required
 Microsoft Excel 2016/2019/2021 or Microsoft 365
Procedure
Part A: Bivariate Analysis
Steps
1. Open Microsoft Excel.
2. Load the business dataset into a worksheet.
3. Select any two numerical variables (e.g., Sales and Profit).
4. Highlight the selected data columns.
5. Insert a Scatter Plot using Insert → Charts → Scatter.
6. Observe the relationship between the two variables.
7. Calculate the correlation coefficient using the CORREL () function.
8. Record the correlation value.
9. Interpret the strength and direction of the relationship.
Part B: Multivariate Analysis
Steps
1. Select multiple numerical variables from the dataset.
2. Arrange the variables in separate columns.
3. Calculate pairwise correlations using the CORREL () function.
4. Generate a Correlation Matrix.
5. Analyze the relationships among all variables.
6. Identify strongly positive or negative correlations.
7. Record the findings.
8. Interpret the business significance of the results.

Result
Thus, bivariate and multivariate analyses were performed successfully using Microsoft Excel, and the
relationships among the business variables were identified and interpreted.

EX. No:8 Data Visualization using Excel Charts

Aim
To create and analyse different graphical representations of business data using various plotting
functions available in Microsoft Excel.
Theory
Data visualization is the graphical representation of information and data. Charts and graphs help users
understand patterns, trends, relationships, and distributions within a dataset. Microsoft Excel provides various
plotting functions to visualize business data effectively.
Visualization makes complex data easier to interpret and supports informed decision-making.
1. Bar Chart
A Bar Chart represents data using rectangular bars where the length of each bar corresponds to the value it
represents.
Applications
 Comparing sales across regions.
 Comparing product performance.
 Comparing customer categories.
Advantages
 Easy to understand.
 Effective for categorical comparisons.
2. Line Chart
A Line Chart displays data points connected by straight lines and is commonly used to show trends over
time.
Applications
 Monthly sales trends.
 Revenue growth analysis.
 Stock market analysis.
Advantages
 Clearly shows trends and changes over time.
 Suitable for time-series data.
3. Pie Chart
A Pie Chart represents data as slices of a circle, where each slice indicates the proportion of the whole.
Applications
 Market share analysis.
 Product category contribution.
 Budget allocation.
Advantages
 Easy visualization of percentage distribution.
 Effective for part-to-whole relationships.
4. Scatter Plot
A Scatter Plot displays the relationship between two numerical variables using points on a graph.
Applications
 Sales vs Profit analysis.
 Advertising Cost vs Revenue analysis.
 Correlation studies.
Advantages
 Identifies relationships and trends.
 Detects outliers easily.
5. Histogram
A Histogram displays the frequency distribution of numerical data by grouping values into intervals (bins).
Applications
 Sales distribution analysis.
 Customer age distribution.
 Income distribution studies.
Advantages
 Shows data distribution clearly.
 Identifies skewness and concentration.
6. Area Chart
An Area Chart is similar to a line chart but fills the area beneath the line, emphasizing magnitude over time.
Applications
 Revenue trends.
 Production analysis.
 Growth comparison.
Advantages
 Highlights cumulative totals.
 Shows trends and volume simultaneously.
Software Required
 Microsoft Excel 2016/2019/2021 or Microsoft 365
Procedure
Steps
1. Open Microsoft Excel.
2. Load the business dataset into a worksheet.
3. Select the data range to be visualized.
4. Create a Bar Chart using Insert → Charts → Bar Chart.
5. Create a Line Chart using Insert → Charts → Line Chart.
6. Create a Pie Chart using Insert → Charts → Pie Chart.
7. Create a Scatter Plot using Insert → Charts → Scatter Chart.
8. Create a Histogram using Insert → Statistical Charts → Histogram.
9. Create an Area Chart using Insert → Charts → Area Chart.
10. Add chart titles and axis labels.
11. Apply formatting and customization options.
12. Analyze the patterns and trends shown in the charts.
13. Save the workbook.
Advantages of Data Visualization
 Simplifies complex datasets.
 Improves understanding of business performance.
 Supports faster decision-making.
 Helps identify trends, patterns, and anomalies.

Result
Thus, various plotting functions such as Bar Chart, Line Chart, Pie Chart, Scatter Plot, Histogram,
and Area Chart were successfully applied and analysed using Microsoft Excel.
Aim
To study and explore the various features and components of Microsoft Power BI Desktop for data analysis
and business intelligence reporting.
Theory
Power BI Desktop is a business analytics tool developed by Microsoft that enables users to connect,
transform, analyse, and visualize data from various sources. It helps organizations make data-driven decisions
through interactive reports and dashboards.
Power BI Desktop provides powerful tools for data preparation, data modeling, visualization, and report
generation.
1. Home Tab
The Home Tab contains commands used for importing data, transforming data, refreshing datasets, and
publishing reports.
Features
 Get Data
 Transform Data
 Refresh Data
 Publish Reports
 Manage Relationships
Advantages
 Centralized access to frequently used commands.
 Simplifies data management tasks.
2. Power Query Editor
Power Query Editor is used for data cleaning, transformation, and preparation before loading data into
Power BI.
Functions
 Remove duplicates
 Filter rows
 Split columns
 Merge queries
 Change data types
Advantages
 Improves data quality.
 Reduces manual preprocessing efforts.
3. Data View
The Data View displays loaded tables and allows users to inspect data records.
Features
 View imported data
 Create calculated columns
 Create measures using DAX
Advantages
 Easy verification of imported data.
 Supports calculated fields.
4. Model View
The Model View is used to create and manage relationships among tables.
Features
 Create table relationships
 Manage cardinality
 Design star schema models
Advantages
 Improves data organization.
 Supports efficient data analysis.
5. Report View
The Report View is used to design reports and visualizations.
Features
 Charts and Graphs
 Tables and Matrices
 KPI Cards
 Slicers and Filters
 Maps
Advantages
 Interactive reporting.
 Easy visualization of business insights.
6. Dashboard and Visualization Features
Power BI provides several visualization options such as:
 Bar Charts
 Column Charts
 Line Charts
 Pie Charts
 Scatter Plots
 Maps
 KPI Cards
 Gauges
 Tables and Matrices
Advantages
 Interactive analysis.
 Real-time business insights.
 Dynamic filtering and drill-down capabilities.
Software Required
 Microsoft Power BI Desktop
Procedure
Steps
1. Open Microsoft Power BI Desktop.
2. Observe the Home Screen and available options.
3. Explore the Home Tab and identify its features.
4. Click Get Data and import a sample dataset.
5. Open the Power Query Editor using Transform Data.
6. Perform basic data transformations.
7. Load the transformed data into Power BI.
8. Open the Data View and examine the imported tables.
9. Open the Model View and study table relationships.
10. Create relationships between tables if multiple tables are available.
11. Open the Report View.
12. Create sample visualizations such as:
o Bar Chart

o Pie Chart

o Line Chart

o Table

13. Add titles, filters, and slicers.


14. Save the Power BI project file (.pbix).
15. Analyse the generated visualizations.
Advantages of Power BI Desktop
 Supports multiple data sources.
 Provides interactive dashboards.
 Enables advanced analytics using DAX.
 Facilitates data modeling and reporting.
 Enhances business decision-making.

Result
Thus, the various features and components of Microsoft Power BI Desktop, including Home Tab, Power
Query Editor, Data View, Model View, and Report View, were explored successfully, and sample
visualizations were created for data analysis.

EX. No:10 Data Preparation and Loading in Power BI

Aim
To prepare, clean, transform, and load business data into Power BI Desktop for further analysis and
visualization.
Theory
Data preparation is the process of collecting, cleaning, transforming, and organizing data before
analysis. Raw data often contains errors, duplicate records, missing values, and inconsistent formats. Power
BI provides the Power Query Editor to perform data preparation tasks efficiently.
Data loading is the process of importing cleaned and transformed data into Power BI for creating reports and
dashboards.
Proper data preparation improves data quality and ensures accurate analytical results.
1. Data Import
Data import involves bringing data from external sources into Power BI.
Supported Data Sources
 Microsoft Excel
 CSV Files
 Text Files
 SQL Databases
 Web Data
 Cloud Services
Advantages
 Easy integration of multiple data sources.
 Centralized data management.
2. Data Cleaning
Data cleaning improves the quality of data by removing errors and inconsistencies.
Common Cleaning Operations
 Removing duplicate records
 Handling missing values
 Correcting data types
 Eliminating unnecessary columns
Advantages
 Improves accuracy.
 Reduces redundancy.
 Enhances analytical performance.
3. Data Transformation
Data transformation converts raw data into a suitable format for analysis.
Common Transformations
 Renaming columns
 Splitting columns
 Merging columns
 Changing data types
 Filtering rows
Advantages
 Standardizes data.
 Improves readability.
 Facilitates data analysis.
4. Data Loading
After cleaning and transformation, the prepared data is loaded into Power BI's data model.
Advantages
 Enables report creation.
 Supports data modeling.
 Facilitates dashboard development.
Software Required
 Microsoft Power BI Desktop
Procedure
Steps
1. Open Microsoft Power BI Desktop.
2. Click Home → Get Data.
3. Select the required data source (Excel, CSV, etc.).
4. Browse and select the business dataset.
5. Click Load or Transform Data.
6. Open the Power Query Editor.
7. Identify and remove duplicate records using Remove Duplicates.
8. Detect missing or null values in the dataset.
9. Replace, remove, or fill missing values as required.
10. Verify and correct data types for each column.
11. Rename columns if necessary.
12. Remove unnecessary columns.
13. Apply filters and transformations as needed.
14. Click Close & Apply.
15. Load the cleaned data into Power BI.
16. Verify that the data appears correctly in the Data View.
17. Save the Power BI project file (.pbix).
Advantages of Data Preparation
 Improves data quality.
 Ensures accurate reporting.
 Reduces inconsistencies.
 Enhances decision-making.
 Facilitates efficient dashboard creation.

Result
Thus, the business dataset was successfully imported, cleaned, transformed, and loaded into
Microsoft Power BI Desktop for further analysis and visualization.

EX. No:11 Data Modeling in Power BI

Aim
To develop a data model by creating relationships among multiple tables and building a star schema
model using Microsoft Power BI Desktop.
Theory
A Data Model is a structured representation of data that defines how different tables are related to
each other. Data modeling helps organize data efficiently and enables accurate reporting and analysis.
In Power BI, data modeling is performed in the Model View, where relationships between tables are
created and managed. A well-designed data model improves query performance and supports effective
business intelligence solutions.
1. Data Modeling
Data modeling is the process of establishing relationships among tables to create a logical structure
for data analysis.
Objectives
 Organize data efficiently.
 Eliminate data redundancy.
 Improve report performance.
 Enable meaningful analysis.
Advantages
 Faster data retrieval.
 Better data consistency.
 Improved analytical capabilities.
2. Relationships in Power BI
Relationships connect tables using common fields known as keys.
Types of Relationships
One-to-Many (1:*)
One record in a table is related to multiple records in another table.
Example:
 One Customer → Many Orders
Many-to-One (*:1)
Multiple records in one table relate to a single record in another table.
One-to-One (1:1)
One record in a table relates to exactly one record in another table.
Many-to-Many (:)
Multiple records in one table relate to multiple records in another table.
3. Star Schema
A Star Schema is a data modeling technique in which a central fact table is connected to multiple
dimension tables.
Components
Fact Table
Contains measurable business data such as:
 Sales
 Revenue
 Profit
 Quantity
Dimension Tables
Contain descriptive information such as:
 Customer Details
 Product Details
 Region Information
 Date Information
Structure
Customer
|
|
Product ---- Sales Fact ---- Region
|
|
Date
Advantages of Star Schema
 Simple design.
 Faster query execution.
 Easy report creation.
 Improved scalability.
Software Required
 Microsoft Power BI Desktop
Procedure
Steps
1. Open Microsoft Power BI Desktop.
2. Import the required datasets using Home → Get Data.
3. Load related tables such as:
o Sales Table

o Customer Table

o Product Table

o Region Table

o Date Table
4. Open the Model View.
5. Identify common fields between tables.
6. Create relationships by dragging matching fields between tables.
7. Configure relationship properties:
o Cardinality

o Cross-filter direction

8. Verify relationship types (One-to-Many, Many-to-One, etc.).


9. Arrange the tables into a Star Schema structure.
10. Ensure the Fact Table is connected to all Dimension Tables.
11. Validate all relationships.
12. Check for relationship errors or ambiguities.
13. Save the Power BI project file (.pbix).

Advantages of Data Modeling


 Improves analytical performance.
 Enables efficient report creation.
 Reduces data redundancy.
 Simplifies business analysis.
 Enhances scalability and maintainability.
Result
Thus, a data model was successfully developed in Microsoft Power BI Desktop by creating
relationships among related tables and implementing a Star Schema structure for efficient data analysis and
reporting.

EX. No:12 DAX Calculations in Power BI

Aim
To perform DAX (Data Analysis Expressions) calculations and create measures such as Total Sales, Total
Profit, Average Sales, and Profit Margin using Microsoft Power BI Desktop.

Software Required
 Microsoft Power BI Desktop

Theory
DAX (Data Analysis Expressions) is a formula language used in Power BI, Power Pivot, and Analysis
Services to create custom calculations, measures, and calculated columns.
DAX enables users to perform advanced data analysis by creating formulas that calculate aggregated values,
perform filtering, and generate business metrics.
Measures created using DAX are dynamic and recalculate automatically based on filters and slicers applied in
reports.

1. DAX Measures
A Measure is a calculation performed on data at the time of report generation. Measures are commonly used
to calculate totals, averages, percentages, and key performance indicators (KPIs).
Advantages of Measures
 Dynamic calculations.
 Reduced data storage requirements.
 Faster report analysis.
 Improved business insights.

2. Total Sales Measure


The Total Sales measure calculates the sum of all sales values in the dataset.
DAX Formula
Total Sales = SUM(Sales[Sales])
Purpose
 Calculates overall revenue generated.
 Used in dashboards and KPI cards.

3. Total Profit Measure


The Total Profit measure calculates the sum of all profit values.
DAX Formula
Total Profit = SUM(Sales[Profit])
Purpose
 Determines overall profitability.
 Supports financial analysis.

4. Average Sales Measure


The Average Sales measure calculates the average sales value.
DAX Formula
Average Sales = AVERAGE(Sales[Sales])
Purpose
 Measures average business performance.
 Helps identify sales trends.

5. Profit Margin Measure


Profit Margin represents the percentage of profit earned relative to sales.
Formula
Profit
Profit Margin= ×100
Sales

DAX Formula
Profit Margin =
DIVIDE(
SUM(Sales[Profit]),
SUM(Sales[Sales]),
0
) * 100
Purpose
 Measures business profitability.
 Helps evaluate operational efficiency.

Procedure
Steps
1. Open Microsoft Power BI Desktop.
2. Load the business dataset into Power BI.
3. Open the Modeling tab.
4. Click New Measure.
5. Create the Total Sales measure using the SUM function.
6. Press Enter to save the measure.
7. Create the Total Profit measure using the SUM function.
8. Create the Average Sales measure using the AVERAGE function.
9. Create the Profit Margin measure using the DIVIDE function.
10. Save all measures.
11. Open the Report View.
12. Insert Card Visuals or Table Visuals.
13. Add the created measures to the report.
14. Verify the calculated outputs.
15. Save the Power BI project file (.pbix).

DAX Measures Used


Total Sales
Total Sales = SUM (Sales [Sales])
Total Profit
Total Profit = SUM (Sales [Profit])
Average Sales
Average Sales = AVERAGE (Sales [Sales])
Profit Margin
Profit Margin = DIVIDE (SUM (Sales [Profit]), SUM (Sales [Sales]), 0) * 100

Advantages of DAX
 Supports advanced calculations.
 Enables dynamic reporting.
 Improves business analysis.
 Integrates seamlessly with Power BI visualizations.
 Facilitates KPI creation and performance tracking.
Result
Thus, DAX calculations were successfully performed in Microsoft Power BI Desktop, and measures
such as Total Sales, Total Profit, Average Sales, and Profit Margin were created and verified successfully.

EX. No:13 Design a Report Using Power BI Desktop

Aim
To design an interactive business report using Microsoft Power BI Desktop and visualize key
business metrics such as Sales by Region, Sales by Category, Monthly Trends, Top Customers, and Profit
Analysis.
Theory
A Report in Power BI is a collection of visualizations that provide meaningful insights from data.
Reports help users analyze business performance, identify trends, and support decision-making.
Power BI offers a wide range of visualization tools that allow users to present data in an interactive
and user-friendly manner.
1. Sales by Region
This visualization displays sales performance across different geographical regions.
Purpose
 Compare regional sales performance.
 Identify high-performing and low-performing regions.
 Support regional business planning.
Suitable Visual
 Bar Chart
 Map
2. Sales by Category
This visualization shows sales generated by different product categories.
Purpose
 Identify top-selling categories.
 Analyze category-wise revenue contribution.
 Support inventory planning.
Suitable Visual
 Pie Chart
 Bar Chart
3. Monthly Trends
Monthly trend analysis helps track business performance over time.
Purpose
 Identify growth patterns.
 Monitor seasonal fluctuations.
 Forecast future performance.
Suitable Visual
 Line Chart
 Area Chart
4. Top Customers
This report identifies customers contributing the highest revenue.
Purpose
 Recognize valuable customers.
 Support customer relationship management.
 Improve targeted marketing strategies.
Suitable Visual
 Bar Chart
 Table
5. Profit Analysis
Profit analysis helps evaluate the profitability of products, categories, or regions.
Purpose
 Measure business performance.
 Identify profitable segments.
 Support financial decision-making.
Suitable Visual
 KPI Cards
 Bar Chart
 Pie Chart
Visualizations Used
Bar Chart
A Bar Chart compares values across different categories.
Applications
 Sales by Region
 Top Customers
 Category-wise Sales
Pie Chart
A Pie Chart shows the proportion of each category relative to the whole.
Applications
 Sales by Category
 Profit Contribution
Cards
Cards display key performance indicators (KPIs) as single values.
Examples
 Total Sales
 Total Profit
 Number of Customers
 Profit Margin
Slicers
Slicers are interactive filters used to filter report data dynamically.
Examples
 Region
 Product Category
 Month
 Customer
Maps
Map visualizations display geographical data.
Applications
 Regional Sales Analysis
 State-wise Performance
 Market Coverage Analysis
Software Required
 Microsoft Power BI Desktop

Procedure
Steps
1. Open Microsoft Power BI Desktop.
2. Import the prepared business dataset.
3. Verify the data model and relationships.
4. Open the Report View.
5. Create a Bar Chart for Sales by Region.
6. Create a Pie Chart for Sales by Category.
7. Create a Line Chart for Monthly Sales Trends.
8. Create a Bar Chart or Table for Top Customers.
9. Create Cards displaying:
o Total Sales

o Total Profit
o Average Sales

10. Create a Profit Analysis visualization.


11. Add Slicers for:
 Region
 Category
 Month
12. Insert a Map Visual to display regional sales performance.
13. Format the report by adding:
 Report Title
 Data Labels
 Legends
 Color Themes
14. Verify all visualizations.
15. Save the report as a Power BI project file (.pbix).
Advantages of Power BI Reports
 Interactive and dynamic reporting.
 Real-time data analysis.
 Easy identification of trends and patterns.
 Better business decision-making.
 User-friendly visualization tools.
Result
Thus, an interactive report was successfully designed in Microsoft Power BI Desktop using
visualizations such as Bar Charts, Pie Charts, KPI Cards, Slicers, and Maps to analyze Sales by Region, Sales
by Category, Monthly Trends, Top Customers, and Profit Analysis.

EX. No:14 Create a Dashboard and Perform Data Analysis Using Power BI Desktop

Aim
To create an interactive dashboard and perform business data analysis using Microsoft Power BI
Desktop by visualizing key performance indicators such as Total Sales, Total Profit, Top Product, Regional
Performance, and Trend Analysis.
Theory
A Dashboard is a visual display of key information and performance indicators that helps users
monitor business activities and make informed decisions. Dashboards combine multiple visualizations into a
single interface and provide an overview of organizational performance.
Power BI dashboards are interactive and allow users to analyze data through filters, slicers, drill-
down features, and dynamic visualizations.
1. Total Sales
Total Sales represents the overall revenue generated by the business during a specific period.
Purpose
 Measure business performance.
 Track revenue growth.
 Monitor sales targets.
Visualization
 KPI Card
2. Total Profit
Total Profit represents the earnings remaining after deducting business expenses.
Purpose
 Evaluate profitability.
 Monitor financial performance.
 Support strategic planning.
Visualization
 KPI Card
3. Top Product
The Top Product identifies the product generating the highest sales or profit.
Purpose
 Recognize best-performing products.
 Improve inventory planning.
 Support marketing decisions.
Visualization
 Bar Chart
 Table
4. Regional Performance
Regional performance analysis compares sales and profits across different geographical regions.
Purpose
 Identify high-performing regions.
 Analyze market potential.
 Support regional business strategies.
Visualization
 Map
 Bar Chart
5. Trend Analysis
Trend analysis helps study changes in sales and profit over time.
Purpose
 Identify growth patterns.
 Detect seasonal variations.
 Forecast future performance.
Visualization
 Line Chart
 Area Chart
6. Interactive Filters
Filters and slicers allow users to interact with dashboard data dynamically.
Examples
 Region Filter
 Product Category Filter
 Month Filter
 Customer Filter
Advantages
 Interactive exploration of data.
 Faster analysis.
 Improved user experience.
Software Required
 Microsoft Power BI Desktop
Procedure
Steps
1. Open Microsoft Power BI Desktop.
2. Load the prepared business dataset.
3. Verify the data model and relationships.
4. Open the Report View.
5. Create a Card Visual for Total Sales.
6. Create a Card Visual for Total Profit.
7. Create a Bar Chart to display the Top Product based on sales.
8. Create a Map Visual for Regional Performance.
9. Create a Line Chart for Trend Analysis.
10. Add data labels and chart titles.
11. Insert Slicers for:
o Region

o Product Category

o Month

12. Arrange all visuals on a single dashboard page.


13. Format the dashboard using appropriate themes and layouts.
14. Verify that all visuals respond to slicer selections.
15. Save the Power BI dashboard as a .pbix file.
Dashboard Components
KPI Cards
 Total Sales
 Total Profit
Charts
 Top Product (Bar Chart)
 Sales Trend (Line Chart)
Geographic Analysis
 Regional Performance (Map)
Interactive Controls
 Region Slicer
 Product Slicer
 Month Slicer
Advantages of Dashboards
 Real-time business monitoring.
 Interactive and user-friendly.
 Quick access to key metrics.
 Improved decision-making.
 Efficient performance tracking.
Result
Thus, an interactive dashboard was successfully created in Microsoft Power BI Desktop,
incorporating Total Sales, Total Profit, Top Product, Regional Performance, and Trend Analysis with
interactive filters for effective business data analysis.

EX. No:15 Case Study Presentation: Retail Sales Analysis Using MS Excel and Power BI

Aim
To analyze retail sales data using Microsoft Excel and Power BI, perform data preprocessing and
statistical analysis, create visualizations and dashboards, and derive meaningful business insights for decision-
making.
Theory
Retail sales analysis is the process of examining sales data to identify trends, customer behavior, product
performance, and business profitability. By using MS Excel and Power BI, organizations can transform raw
data into meaningful information through statistical analysis, visualization, and interactive dashboards.
The analysis helps businesses:
 Monitor sales performance.
 Identify profitable products and regions.
 Understand customer purchasing patterns.
 Improve business decision-making.
Case Study: Retail Sales Analysis
1. Introduction
Retail businesses generate large volumes of transactional data every day. Analyzing this data helps
organizations understand sales performance, customer preferences, and profitability. In this case study, retail
sales data is analyzed using Microsoft Excel and Power BI to generate business insights.
2. Dataset Description
The dataset contains information related to:

Attribute Description

Order ID Unique order number

Product Name Name of the product

Category Product category

Customer Name Customer details

Region Sales region

Order Date Date of purchase

Sales Revenue generated

Profit Profit earned

Quantity Number of units sold

3. Data Cleaning
Data cleaning was performed using Microsoft Excel and Power BI Power Query.
Cleaning Operations
 Removed duplicate records.
 Identified and handled missing values.
 Corrected inconsistent data formats.
 Converted data types appropriately.
 Removed unnecessary columns.
Outcome
The dataset became clean, consistent, and ready for analysis.
4. Statistical Analysis
Statistical measures were calculated using Microsoft Excel.
Measures Used
 Mean
 Median
 Mode
 Variance
 Standard Deviation
 Skewness
 Kurtosis
Purpose
 Understand data distribution.
 Measure variability in sales.
 Identify trends and anomalies.
5. Data Visualization
Various charts were created in Microsoft Excel and Power BI.
Visualizations Used
 Bar Chart
 Line Chart
 Pie Chart
 Scatter Plot
 Histogram
 Area Chart
Purpose
 Compare sales across categories.
 Analyze monthly trends.
 Study profit distribution.
 Identify relationships among variables.
6. Power BI Dashboard
An interactive dashboard was developed containing:
KPI Cards
 Total Sales
 Total Profit
 Average Sales
 Profit Margin
Charts
 Sales by Region
 Sales by Category
 Monthly Sales Trend
 Top Products
 Top Customers
Interactive Features
 Region Filter
 Category Filter
 Date Slicer
 Drill-down Analysis
Geographic Analysis
 Regional Performance Map
7. Business Insights
Sample Insights
1. South Region generated the highest sales revenue.
2. Electronics category produced the maximum profit.
3. Sales increased significantly during festival seasons.
4. Profit showed a strong positive correlation with sales volume.
5. A small number of customers contributed a large percentage of total revenue.
6. Certain products consistently outperformed others in sales and profitability.
7. Monthly trend analysis indicated steady business growth.
8. Conclusion
The retail sales dataset was successfully analyzed using Microsoft Excel and Power BI. Data cleaning,
statistical analysis, visualization, and dashboard development helped identify important business patterns and
performance indicators. The generated insights can support strategic planning, sales forecasting, and business
decision-making.
Software Required
 Microsoft Excel 2016/2019/2021 or Microsoft 365
 Microsoft Power BI Desktop
Procedure
Steps
1. Collect the retail sales dataset.
2. Import the dataset into Microsoft Excel.
3. Perform data cleaning and preprocessing.
4. Calculate statistical measures.
5. Create charts and visualizations in Excel.
6. Import the cleaned dataset into Power BI.
7. Develop the data model.
8. Create DAX measures.
9. Design reports and dashboards.
10. Analyze business performance.
11. Generate insights and conclusions.
12. Present the findings using charts, reports, and dashboards.

Result
Thus, the case study "Retail Sales Analysis Using MS Excel and Power BI" was successfully completed by
performing data cleaning, statistical analysis, visualization, dashboard development, and business insight
generation, thereby supporting effective business decision-making.

You might also like