BA lab Viva File
BA lab Viva File
MICROSOFT EXCEL
1. A1- Hlookup and Vlookup
2. A2- Pivot Table
3. A3- Scenario Manager
4. A4- Goal Seek
5. A5- Pivot Charts
6. A6- Data Validation
7. A7- Date And Text Function
8. A8- Power BI-Complete dashboard with
its features
9. A9- Google Dashboard-Complete
dashboard with screenshots.
Part 1
Excel
ASSIGNMENT -1
LOOKUP
Using Lookup function create employee Table
You are supposed to enter following values in employee table rest it will take
automatically using Vlookup & Hlookup
EmpID,Empname,Desigination,DeptID
VLOOKUP
Department
Designation
VLOOKUP and HLOOKUP are powerful Excel functions used for searching data in a table or a
range. These functions allow users to quickly find and retrieve specific data based on a lookup
value.
What is VLOOKUP?
VLOOKUP (Vertical Lookup) searches for a value in the first column of a specified range
and returns a value in the same row from another column within that range.
Syntax:
range_lookup (optional): TRUE for an approximate match and FALSE for an exact match
(usually set to FALSE to ensure accuracy).
What is HLOOKUP?
HLOOKUP (Horizontal Lookup) is similar to VLOOKUP but searches for a value in the
first row of a specified range and returns a value from another row within that range.
Syntax:
range_lookup (optional): TRUE for an approximate match and FALSE for an exact
match.
OUTPUT (VLOOKUP)
FORMULA USED :-
=VLOOKUP(D4,$O$6:$R$11,2,FALSE)
1. D4 (lookup_value)
This is the value you want to look up in the first column of the range $O$6:$R$11.
2. $O$6:$R$11 (table_array)
This is the range of cells where VLOOKUP will search for the lookup_value and retrieve the
result.
The dollar signs ($) in $O$6:$R$11 make this range an absolute reference, meaning it won’t
change if the formula is copied to other cells.
3. 2 (col_index_num)
This is the column number within the table_array from which to retrieve the result. Since this is
2, VLOOKUP will return a value from the second column of the range $O$6:$R$11.
4. FALSE (range_lookup)
Setting this to FALSE means that VLOOKUP will look for an exact match of the value in D4. If
an exact match is not found in the first column of $O$6:$R$11, it will return #N/A.
OUTPUT (HLOOKUP)
FORMULA USED :-
=HLOOKUP(C4,$O$16:$S$19,2,FALSE)
1. C4 (lookup_value)
This is the value you want to look up in the first row of the range $O$16:$S$19.
2. $O$16:$S$19 (table_array)
This is the range of cells where HLOOKUP will search for the lookup_value and retrieve the
result.
The dollar signs ($) make this range an absolute reference, meaning it won’t change if the
formula is copied to other cells.
3. 2 (row_index_num)
This is the row number within the table_array from which to retrieve the result. Since this is 2,
HLOOKUP will return a value from the second row of the range $O$16:$S$19.
4. FALSE (range_lookup)
Setting this to FALSE means that HLOOKUP will look for an exact match of the value in C4. If
an exact match is not found in the first row of $O$16:$S$19, it will return #N/A.
ASSIGNMENT -2
PIVOT TABLE
Pivot Tables can aggregate data, show comparisons, and provide insights that are useful for
decision-making.
FUNCTIONS USED
1. SUM
The SUM function adds up all the values in a given range.
Use Case:
In this case, SUM is used to calculate the total sale amount or total number of units sold
for each zone or product.
For example, when you drag the Sale Amount or Units Sold field to the Values area in the
Pivot Table, Excel will, by default, apply the SUM function to these fields to add up the
total sales or units for each category.
Example:
2. AVERAGE
The AVERAGE function calculates the mean (average) of the values in a given range.
Use Case:
For example, if you want to calculate the average sale for Veg Rolls & Non-Veg Rolls in
each zone, you would set the Value Field Settings to Average.
Excel will compute the average sale amount of these products for each zone.
Example:
3. COUNT
The COUNT function counts the number of non-blank cells in a specified range.
Use Case:
If you’re counting how many transactions (or entries) occurred for a specific product or
zone, you would use the COUNT function.
This can be useful to determine how many times a product was sold or how many records
exist for a specific zone.
Example:
The COUNT function will return: 4 (it counts the numbers, ignoring the blank cell)
4. MAX
Use Case:
For example, if you want to calculate the maximum sale of Burger in North Delhi and
South Delhi, you would use the MAX function.
Excel will find the highest sale amount for burgers in those zones.
Example:
The MAX function will return: 5000 (the largest value in the range)
5. MIN
Use Case:
For example, if you want to calculate the minimum sale of Pizza across all zones, you
would use the MIN function.
Excel will find the lowest sale amount for pizza across the different zones.
Example:
The MIN function will return: 500 (the smallest value in the range)
Filtering in Pivot Tables allows you to narrow down the data that is displayed in the Pivot Table.
You can filter by:
Use Case:
For example, if you want to analyze only the sales of Pizza in each zone, you can filter by
Product and select only Pizza.
Similarly, if you want to focus on North Delhi sales, you can filter the Pivot Table to show
only that zone.
7. VALUE FIELD SETTINGS
This is an option in the Pivot Table where you can change the summary function applied to a
particular field in the Values area.
Use Case:
When you drag fields like Sale Amount or Units Sold to the Values area, you can modify
how the data is aggregated by changing the Value Field Settings.
Excel allows you to apply different functions, such as Sum, Average, Max, Min, and
others, depending on your analysis needs.
OUTPUT
Sale of pizza in All Delhi zones
Average sale of Veg rolls & Non Veg Rolls in every zone
Maximum sale of Burger in North & South Delhi
Data Required
Product Name (Tables, Chair, Sofa)
Product Price
Quantity
Fixed Cost
Transportation Cost
Variable cost
Selling Price
Profit
It allows you to create and manage different scenarios (Best, Worst, Moderate) to see how
changing certain variables affects the final outcome (in this case, profit).
1. Adding Scenarios: For each scenario (Best, Worst, Moderate), we define different values
for Quantity, Fixed Cost, Transportation Cost, and Variable Cost. These values are the
“Changing Cells” in the Scenario Manager.
2. Viewing Scenarios: After adding each scenario, you can view each one to see how it
impacts the Profit calculation in the data table.
3. Summary Report: The Summary feature in Scenario Manager generates a report that
shows the profit for each product under each scenario, allowing for easy comparison.
INPUT (BEST SCENARIO)
SOFA
INPUT (WORST SCENARIO)
CHAIR
SOFA
SOFA
ASSIGNMENT -4
GOAL SEEK
Using the following Data
Data Required
Product Name (Tables, Chair, Sofa)
Product Price
Quantity
Fixed Cost
Transportation Cost
Variable cost
Selling Price
Profit
Set Profit Goal to by changing Transportation cost, Variable cost and Selling
price)
Best profit =15,000
Worst profit = 5000
Moderate profit = 10000
SOLUTION
Goal Seek is not a traditional Excel function, but rather a built-in What-If Analysis tool that
allows you to find the input value needed to achieve a desired result (target value) for a specific
formula.
Functionality: It changes one cell's value to reach a target value for another cell that
contains a formula.
How It Works:
o You specify the cell with the formula (output) you want to achieve a target value
for.
o You define the target value you want to reach in that formula.
o You choose which input cell (independent variable) Excel should change to reach
the target value.
Qtr
Products Qtr1 Qtr2 3 Qtr4
Printer 40 50 70 30
Mouse 50 60 80 70
Pen
Drive 60 70 90 80
Laptop 80 30 50 60
Using Above Data Prepare Following Charts & Graph applying all its features
Column Chart
Bar Chart
Line Chart
Pie Chart
Scatter Chart
Area Chart
Radar Cart
SOLUTION
A variety of Excel functions and features were used, primarily centered around Pivot Tables, Pivot
Charts, and chart customization options. Here’s an explanation of each function or feature that
plays a role in achieving the required analysis.
1. Pivot Table
Purpose: A Pivot Table is a powerful Excel tool that summarizes and organizes large
datasets. It allows users to dynamically filter, group, and calculate data without manually
reorganizing it.
How It Works: The Pivot Table aggregates data (e.g., sales figures) by predefined
categories (e.g., Products, Quarters) and calculates summaries such as sums, averages,
counts, etc.
Steps Involved:
o Selecting the data range and creating a Pivot Table from Insert > Pivot Table.
o Setting up fields by dragging them to the Rows (e.g., Products) and Values (e.g.,
quarterly sales data).
2. Pivot Chart
How It Works: Pivot Charts are created based on Pivot Table data. When you change the
filters or add/remove data in the Pivot Table, the Pivot Chart updates accordingly.
Steps Involved:
o Selecting the Pivot Table, going to Insert > Pivot Chart, and choosing a chart type
(Column, Line, Pie, etc.).
3. Chart Types
Column Chart: Shows data changes over a period of time or comparisons among items.
Bar Chart: Similar to a Column Chart but with horizontal bars; useful for comparing data
across categories.
Line Chart: Displays trends over time with data points connected by lines; ideal for
tracking progress across intervals.
Pie Chart: Represents parts of a whole as slices of a circle, best suited for displaying data
as percentages of a total.
Scatter Chart: Displays values for two variables as points on a Cartesian plane, useful for
showing relationships between data points.
Area Chart: Similar to a Line Chart but with the area under the line filled, providing a
cumulative visual representation.
Radar Chart: Shows multiple data points and how they relate across different categories,
useful for comparing performance across dimensions (like quarters in this case).
Purpose: In the Pivot Table, the Field List allows users to add fields as rows, columns, or
values for aggregation.
Functions Involved:
o Drag and Drop: You can drag data fields (e.g., "Products," "Qtr1") to the Rows,
Columns, and Values areas.
o Sum, Average, Count: By default, the Pivot Table will Sum numeric fields added to
Values, but you can change this to other functions like Average or Count by right-
clicking the field, selecting Value Field Settings, and choosing the desired
aggregation.
Purpose: Value Field Settings in the Pivot Table allow customization of how data is
aggregated (summed, averaged, counted, etc.).
How It Works:
o Right-click on any field in the Values area, select Value Field Settings, and choose
an aggregation function (e.g., Sum, Count, Average).
o This affects how data is summarized in the Pivot Table and, consequently, in the
Pivot Chart.
Purpose: After creating a Pivot Chart, customization features enhance readability and
presentation.
Customization Options:
o Axis Labels: You can add labels to the X and Y axes for better understanding of
data points.
o Data Labels: Add data labels to show exact values for each point or bar.
o Legend: Modify or remove the legend as needed to make the chart cleaner or more
descriptive.
o Formatting: Adjust colors, styles, and line thickness to visually differentiate data
series.
INPUT
OUTPUT
Column Chart
Bar Chart
Line Chart
Pie Chart
Scatter Chart
Area Chart
Radar Cart
ASSIGNMENT -6
DATA VALIDATION
SHOW HOW TO USE DATA VALIDATION THROUGH SAMPLE DATA
WITH ENAME AND START TIME.
SOLUTION
Data Validation in Excel is a feature that controls what users can enter into a cell, helping ensure
data integrity and consistency. It restricts inputs based on rules, such as allowing only specific
values, formats, or ranges. This tool is especially valuable for preventing errors in data entry, as it
can enforce business rules (e.g., age limits, budget caps) and provide drop-down lists for quick
selection.
Additional Features:
Input Message: Provides guidance to users on what to enter.
Error Alert: Displays messages when invalid data is entered, with options to prevent or
warn against such entries.
Benefits:
Reduces Errors: Prevents incorrect data entry.
Improves Data Quality: Ensures consistent, reliable data.
Guides Users: Helps users follow correct input formats.
Overall, Data Validation is essential for clean data entry and reliable analyses, saving time on
corrections and enhancing data quality in Excel sheets.
INPUT
OUTPUT
ASSIGNMENT -7
DATE AND TEXT FUNCTION
SOLUTION
Basic Math Function
Text Functions
RIGHT: Extracts characters from the end of a text. Example: =RIGHT("Excel", 2) gives
"el".
MID: Extracts characters from the middle of a text. Example: =MID("Excel", 2, 3) gives
"xce".
PROPER: Capitalizes the first letter of each word. Example: =PROPER("excel functions")
gives "Excel Functions".
.
Date Functions
YEAR, MONTH, DAY: Extracts the year, month, or day from a date. Example:
=YEAR("2023-11-01") gives 2023.
TEXT for Month Name: Converts a date to a month name. Example: =TEXT("2023-11-
01", "mmmm") gives "November".
OUTPUT
SUM
FORMULA USED
=SUM(F3:J3)
LEFT
FORMULA USED
=LEFT(B3,3)
RIGHT
FORMULA USED
=RIGHT(B3,3)
MIDDLE
FORMULA USED
=MID(B3,2,3)
UPPER
FORMULA USED
=UPPER(B3)
LOWER
FORMULA USED
=LOWER(B3)
PROPER
FORMULA USED
=PROPER(B3)
CONCATENATE
FORMULA USED
1) =CONCATENATE(B3," ",E3)
YEAR
FORMULA USED
=YEAR(C3)
MONTH
FORMULA USED
=MONTH(C3)
DAY
FORMULA USED
=DAY(C3)
WEEKNUM
FORMULA USED
=WEEKNUM(C3)
MONTH NAME
FORMULA USED
=TEXT(C3,"mmm")
WEEKDAY
FORMULA USED
=TEXT(C3,"dddddd")
TODAY’S DATE
FORMULA USED
=TODAY()
AGE
FORMULA USED
=(YEAR(K3)-YEAR(C3))
BORN ON SATURDAY
FORMULA USED
=TEXT(C3,"DDD")="Sat"
ADD 3 MONTHS
FORMULA USED
=C3+90
SUBTRACT 7 DAYS
FORMULA USED
=C3-7
Assignment-8
Power BI
Solution
Power BI is a business analytics tool developed by Microsoft, designed to help organizations
visualize data, gain insights, and make data-driven decisions. It is part of the Microsoft Power
Platform and integrates seamlessly with other Microsoft services like Excel, Azure, and
SharePoint.
Key Features:
1. Data Integration:
o Connects to a wide range of data sources, including databases (SQL Server,
Oracle), online services (Google Analytics, Salesforce), and files (Excel, CSV).
o Supports real-time data streaming and integration.
2. Data Transformation:
o Built-in tools like Power Query allow you to clean, shape, and prepare data for
analysis.
o Supports merging, appending, and creating calculated columns and measures.
3. Visualization:
o Provides an extensive library of customizable visualizations like bar charts, line
graphs, maps, and KPI dashboards.
o Supports creating interactive and dynamic dashboards.
4. Reports and Dashboards:
o Users can create detailed reports and share dashboards with teams.
o Dashboards update automatically with refreshed data from live connections.
5. AI and Machine Learning:
o Includes AI-powered features for data insights, such as key influencers and
predictive analytics.
o Integrates with Azure Machine Learning for advanced analytics.
6. Collaboration and Sharing:
o Enables sharing of reports via the Power BI Service.
o Offers role-based access control to maintain data security.
7. Mobile Access:
o Provides a mobile app for on-the-go access to dashboards and reports.
o Supports alerts and notifications for critical updates.
8. Power BI Ecosystem:
o Power BI Desktop: A free tool for creating and editing reports.
o Power BI Service: A cloud-based platform for sharing, collaboration, and online
reporting.
o Power BI Mobile: Mobile apps for viewing reports.
o Power BI Embedded: Embeds analytics into other applications.
o Power BI Report Server: On-premises version for organizations with specific
compliance needs.
Uses of Power BI
Power BI is a versatile tool used across industries for a variety of business intelligence and data
analytics purposes. Here are some specific use cases and examples:
Use: Segment customers, predict buying behavior, and evaluate product performance.
Example: An e-commerce platform uses Power BI to identify the most profitable customer
demographics and optimize product recommendations.
Advantages:
o AI tools for predicting churn or product popularity.
o Visualizations that highlight trends in customer data.
6. Healthcare Analytics
Advantages of Power BI
Power BI offers numerous advantages that make it a leading choice for business intelligence:
Description: Seamlessly connects to over 100 data sources, including Microsoft tools (Excel,
Azure, Dynamics 365), and third-party services (Google Analytics, Salesforce).
Advantage: Simplifies data collection from diverse systems.
Description: Drag-and-drop functionality and pre-built templates make it accessible for beginners.
Advantage: Reduces the learning curve for non-technical users.
3. Advanced Visualizations
Description: Offers a wide range of visuals (charts, heat maps, KPI cards) and custom visual
options.
Advantage: Communicates complex data in a visually compelling manner.
4. Real-Time Data Access
5. Cost-Effective
Description: Offers a free tier, with affordable Pro and Premium versions for advanced needs.
Advantage: Suitable for businesses of all sizes, from startups to enterprises.
Description: Dashboards and reports can be shared easily within teams using Power BI Service.
Advantage: Enhances teamwork and decision-making with shared insights.
7. Scalability
Description: Implements role-based access, Azure Active Directory (AAD) integration, and data
encryption.
Advantage: Ensures data privacy and compliance with regulations.
9. AI-Powered Insights
Description: Built-in machine learning tools for automated insights like trend detection and
anomaly identification.
Advantage: Enhances analytics with predictive and prescriptive insights.
Ques) Explain Report View with proper examples and Screen Shots
The Report View in Power BI is where users create and customize reports using visualizations,
filters, and layouts. It serves as the main workspace for designing interactive dashboards and
exploring data.
Key Features:
1. Canvas: Add and arrange visualizations like charts, tables, and maps.
2. Fields Pane: Drag data fields into visuals to populate them.
3. Visualizations Pane: Choose visual types and customize their properties.
4. Filters and Slicers: Apply filters and interactive controls to refine data views.
5. Drill-Down: Explore hierarchical data (e.g., region → country → city).
6. Pages: Use multiple report tabs to organize insights.
7. Bookmarks: Save specific views for easy navigation or storytelling.
Advantages:
Interactive: Users can explore data dynamically with slicers and cross-filtering.
Customizable: Adjust colors, layouts, and visuals to fit your needs.
Data Integration: Combine multiple sources into a single, unified report.
Real-Time Updates: Sync with live data for up-to-date insights.
Output
Ques) Table View with proper examples and Screen Shots
The Table View in Power BI provides a detailed, tabular display of your data, making it ideal for
inspecting, validating, and preparing datasets before analysis. It’s especially useful for identifying
errors, cleaning data, and creating calculated fields.
Key Features:
Advantages:
Provides a clear view of your raw data for validation and quality checks.
Simplifies data preparation with tools for sorting, filtering, and adding new fields.
Helps maintain data integrity by reviewing relationships and metadata.
Applications:
The Model View in Power BI allows you to manage and visualize relationships between tables in
your data model. It helps structure datasets for effective analysis and ensures seamless interactions
in reports.
Key Features:
1. Relationships Management:
o View, create, and edit relationships between tables.
o Define cardinality (one-to-one, one-to-many) and cross-filtering directions.
2. Diagram Layout:
o Displays a visual representation of tables and their connections.
o Lets you rearrange tables for clarity.
3. Table Properties:
o Edit table and field properties, such as data types and formats.
o Hide unnecessary columns or tables from the report view.
Advantages:
Applications:
Output
Ques) Complete Dashboard created by you with features used in it and screen shots of Dashboard
Key Features:
1. Interactive Visualizations:
o Charts, maps, and tables that respond to user actions like clicks or filters.
o Cross-filtering between visuals for deeper insights.
2. Slicers and Filters:
o Allow users to dynamically adjust data views (e.g., by date, region, or category).
3. Real-Time Data:
o Connects to live data sources, keeping dashboards up-to-date.
4. KPI Cards:
o Highlights key metrics like revenue, profit, or customer satisfaction at a glance.
5. Drill-Through and Drill-Down:
o Enables exploration of detailed data by navigating levels (e.g., country → state →
city).
6. Customizable Layout:
o Adjustable visuals, colors, and themes for branding and usability.
7. Alerts and Notifications:
o Triggers for critical metric changes, keeping users informed.
8. Sharing and Collaboration:
o Easily share dashboards via the Power BI Service with role-based access.
Advantages:
Applications:
These features work together to make Google Dashboard a versatile tool for interactive and data-
rich reporting.
OUTPUT