Unit 1
Unit 1
INDEX
4 MEASURES OF VARIABILITY
12 DATA DASHBOARD
BUSINESS ANALYTICS
INTRODUCTION TO BUSINESS ANALYTICS
Business analytics is the combination of skills, technologies, applications and processes used by
organizations to gain insight into their business based on data and statistics to drive business
planning. Business analytics is used to evaluate organization-wide operations, and can be
implemented in any department from sales to product development to customer service.
Business analytics refers to the skills, technologies, applications and practices for continuous
iterative exploration and investigation of past business performance to gain insight and drive
business planning. Business analytics focuses on developing new insights and understanding of
business performance based on data and statistical methods. In contrast, business intelligence
traditionally focuses on using a consistent set of metrics to both measure past performance and
guide business planning, which is also based on data and statistical methods.
Business analytics makes extensive use of data, statistical and quantitative analysis, explanatory
and predictive modeling, and fact-based management to drive decision making. It is therefore
closely related to management science. Analytics may be used as input for human decisions or
may drive fully automated decisions. Business intelligence is querying, reporting, OLAP, and
"alerts."
In other words, querying, reporting, OLAP, and alert tools can answer questions such as what
happened, how many, how often, where the problem is, and what actions are needed. Business
analytics can answer questions like why is this happening, what if these trends continue, what
will happen next (that is, predict), what is the best that can happen (that is, optimize).
MAJOR COMPONENTS OF BUSINESS ANALYTICS
Data Mining – Create models by uncovering previously unknown trends and patterns in vast
amounts of data e.g. detect insurance claims frauds, Retail Market basket analysis.
There are various statistical techniques through which data mining is achieved.
o Classification ( when we know on which variables to classify the data e.g. age, demographics)
o Regression
o Clustering ( when we don’t know on which factors to classify data)
o Associations & Sequencing Models
Text Mining - Discover and extract meaningful patterns and relationships from text collections
e.g. understand sentiments of Customers on social media sites like Twitter, Face book, Blogs,
Call center scripts etc. which are used to improve the Product or Customer service or understand
how competitors are doing.
Forecasting – Analyze& forecast processes that takes place over the period of time e.g. predict
seasonal energy demand using historical trends, Predict how many ice creams cones are required
considering demand
Predictive Analytics - Create, manage and deploy predictive scoring models e.g. Customer
churn & retention, Credit Scoring, predicting failure in shop floor machinery
Optimization – Use of simulations techniques to identify scenarios which will produce best
results e.g. Sale price optimization, identifying optimal Inventory for maximum fulfillment&
avoid stock outs
Visualization - Enhanced exploratory data analysis & output of modeling results with highly
interactive statistical graphics
DATA WAREHOUSE
A data warehouse is a relational database that is designed for query and analysis rather than for
transaction processing. It usually contains historical data derived from transaction data, but it can
include data from other sources. It separates analysis workload from transaction workload and
enables an organization to consolidate data from several sources.
In addition to a relational database, a data warehouse environment includes an extraction,
transportation, transformation, and loading (ETL) solution, an online analytical processing
(OLAP) engine, client analysis tools, and other applications that manage the process of gathering
data and delivering it to business users.
Integrated
Integration is closely related to subject orientation. Data warehouses must put data from
disparate sources into a consistent format. They must resolve such problems as naming conflicts
and inconsistencies among units of measure. When they achieve this, they are said to be
integrated.
Non-volatile
Non-volatile means that, once entered into the warehouse, data should not change. This is logical
because the purpose of a warehouse is to enable you to analyze what has occurred.
Time Variant
In order to discover trends in business, analysts need large amounts of data. This is very much in
contrast to online transaction processing (OLTP) systems, where performance requirements
demand that historical data be moved to an archive. A data warehouse's focus on change over
time is what is meant by the term time variant.
Take the music streaming platform Spotify for example. The company has nearly 96 million
users that generate a tremendous amount of data every day. Through this information, the cloud-
based platform automatically generates suggested songs—through a smart recommendation
engine—based on likes, shares, search history, and more. What enables this is the techniques,
tools, and frameworks that are a result of Big Data analytics.
If you are a Spotify user, then you must have come across the top recommendation section,
which is based on your likes, past history, and other things. Utilizing a recommendation engine
that leverages data filtering tools that collect data and then filter it using algorithms works. This
is what Spotify does.Big Data is a massive amount of data sets that cannot be stored, processed,
or analyzed using traditional tools.
Today, there are millions of data sources that generate data at a very rapid rate. These data
sources are present across the world. Some of the largest sources of data are social media
platforms and networks. Let’s use Facebook as an example—it generates more than 500
terabytes of data every day. This data includes pictures, videos, messages, and more.
Data also exists in different formats, like structured data, semi-structured data, and unstructured
data. For example, in a regular Excel sheet, data is classified as structured data—with a definite
format. In contrast, emails fall under semi-structured, and your pictures and videos fall under
unstructured data. All this data combined makes up Big Data.
But, Big Data in its raw form is of no use. So, now let us understand Big Data Analytics.
Stage 1 - Business case evaluation - The Big Data analytics lifecycle begins with a business case,
which defines the reason and goal behind the analysis.
Stage 2 - Identification of data - Here, a broad variety of data sources are identified.
Stage 3 - Data filtering - All of the identified data from the previous stage is filtered here to
remove corrupt data.
Stage 4 - Data extraction - Data that is not compatible with the tool is extracted and then
transformed into a compatible form.
Stage 5 - Data aggregation - In this stage, data with the same fields across different datasets are
integrated.
Stage 6 - Data analysis - Data is evaluated using analytical and statistical tools to discover useful
information.
Stage 7 - Visualization of data - With tools like Tableau, Power BI, and QlikView, Big Data
analysts can produce graphic visualizations of the analysis.
Stage 8 - Final analysis result - This is the last step of the Big Data analytics lifecycle, where the
final results of the analysis are made available to business stakeholders who will take action.
Get broad exposure to key technologies and skills used in data analytics and data science,
including statistics with the Post Graduate Program in Data Analytics.
1. Descriptive Analytics
This summarizes past data into a form that people can easily read. This helps in creating reports,
like a company’s revenue, profit, sales, and so on. Also, it helps in the tabulation of social media
metrics.
Use Case: The Dow Chemical Company analyzed its past data to increase facility utilization
across its office and lab space. Using descriptive analytics, Dow was able to identify
underutilized space. This space consolidation helped the company save nearly US $4 million
annually.
2. Diagnostic Analytics
This is done to understand what caused a problem in the first place. Techniques like drill-down,
data mining, and data recovery are all examples. Organizations use diagnostic analytics because
they provide an in-depth insight into a particular problem.
Use Case: An e-commerce company’s report shows that their sales have gone down, although
customers are adding products to their carts. This can be due to various reasons like the form
didn’t load correctly, the shipping fee is too high, or there are not enough payment options
available. This is where you can use diagnostic analytics to find the reason.
3. Predictive Analytics
This type of analytics looks into the historical and present data to make predictions of the future.
Predictive analytics uses data mining, AI, and machine learning to analyze current data and make
predictions about the future. It works on predicting customer trends, market trends, and so on.
Use Case: PayPal determines what kind of precautions they have to take to protect their clients
against fraudulent transactions. Using predictive analytics, the company uses all the historical
payment data and user behavior data and builds an algorithm that predicts fraudulent activities.
4. Prescriptive Analytics
This type of analytics prescribes the solution to a particular problem. Perspective analytics works
with both descriptive and predictive analytics. Most of the time, it relies on AI and machine
learning.
Use Case: Prescriptive analytics can be used to maximize an airline’s profit. This type of
analytics is used to build an algorithm that will automatically adjust the flight fares based on
numerous factors, including customer demand, weather, destination, holiday seasons, and oil
prices.
As you can see here the Office logo opens up listing your options for new, open etc. and also
contains a list of your recent documents for quick opening. Any of the items listed with an arrow
beside them will replace the recent documents on the right with the options associated with the
menu item. You should also see at the bottom right of this menu a button for exiting Excel and
changing Excel’s options.
Save as
The save as option will provide you with the most common file formats to save your document
in. The common ones are Excel Workbook, Excel Macro-enabled Workbook, Excel Binary
Workbook, and Excel 97-2003 Workbook. The last one is the option most people should be
using currently, especially if they wish to share documents with others who do not have the new
version of Office.
Print
Here you can choose from Print, Quick Print and Print Preview. Print brings up the standard
print dialog box, quick print will print one copy without any dialog box coming up and print
preview will bring up the print preview screen.
Prepare
The prepare menu’s most common options are Properties, Inspect Document, Mark as Final and
Run Compatibility Checker. The properties option allows you to setup metadata for the
document like Author, Title, keywords, comments and others. Inspect Document will scan the
document for any hidden data like comments and annotations, and any hidden collaboration data.
This is very useful when making a previously private document public. It will help you find any
comments or changes made previously that should not be made public. Mark as Final will mark
the document as a final copy and make it read only so changes cannot be made. The last
common item, Run Compatibility Checker will scan the document for new features that were
used and show you these. This is recommended if you where creating a document in the new file
format but now need to convert it back to the Office 2003 format to share with someone who
does not have Office 2007.
Excel Ribbons
The most notable feature of the new Excel 2007 interface is the Ribbon format. By default Excel
has seven Ribbons available through tabs. These Ribbons are:
1. The Home Ribbon
2. The Insert Ribbon
3. The Page Layout Ribbon
4. The Formulas Ribbon
5. The Data Ribbon
6. The Review Ribbon
7. The View Ribbon
1. The Home Tab
The home tab the basic formatting tools found in Excel 2007. You will find seven sections,
Clipboard, Font, Alignment, Number, Styles, Cells and Editing. Clicking the down arrow
beside any of the icons here will drop down more options for that tool. Each section also
contains an arrow in the bottom right corner which will open a window containing the options
found in that section.
a. Clipboard
The Clipboard allows you to cut, copy, paste and copy formatting from one place to another.
b. Font
The font section of the ribbon provides a section to handle the basic text formatting. Items such
as bold, underline, strikethrough, highlight and font type can be changed here. Some items from
this section and some items from the number section are also available by right clicking a cell.
This saves having to move your cursor all the way to the top of the screen for some common
formatting items.
c. Alignment
The alignment section provides icons to justify, Vertical alignment, indents, text wrap, merge
cells and centre text and text orientation.
d. Number
The number section provides the options for formatting numbers. You can choose the type of
number, like date, currency, percentage, fraction or general. You can also increase or decrease
the number of decimal places shown.
e. Styles
The styles section allows you to quickly change the formatting of a section of cells by choosing
one of the predefined styles. You can choose different types of conditional formatting, table
formatting or cell styles. These are used to change the visual appearance of a section to quickly
show what is being displayed in an area.
f. Cells
This section allows you to insert of delete cells, rows, columns, or sheets. You can also format
the height or width of columns and rows, hide or unhide elements, organize or protect cells and
sheets. There are a lot of features in this section under the format option.
g. Editing
The editing section gives you options for inserting functions, filling formulas across cells,
clearing formatting and formulas, sorting and finding. Again, there is a large number of options
in this area. These options are also included in the image to left.
2. Insert Tab
The insert tab has five sections for inserting most types of objects. The sections are tables,
illustrations, charts, links, text and symbols.
a. Tables
The tables section has an option for pivot tables and charts and tables. You can select an area
and turn it into a formatted table or pivot table with these options. Once you have created your
table there is another tab which becomes available to work with the table design. This tab is
shown below.
b. Table Design
c. Illustrations
The Illustrations section allows you to insert pictures, clipart, shapes, and SmartArt. After
inserting or selecting a picture you are provided with a new toolbar along the top shown here.
This toolbar gives you the ability to change the brightness, contrast, shape, position, text
wrapping and other options for the picture. Clicking off the picture or on one of the other tabs
will take you back to the standard toolbars. The Shapes option of the Illustrations section allows
you to insert lines, arrows, boxes, basic flowchart shapes and a number of others. The SmartArt
option provides features like org charts, flow charts, illustrated lists and processes. The Chart
option is similar to Excel 2003 but it offers more options for your charts.
d. Charts
The charts section provides drop down menus to insert different types of column, line, pie, bar,
area, scatter and other types of charts. Once you create a chart you will get three additional tabs
to work with your chart. They are shown below.
i. Chart Design Tab - Contextual tabs
e. Links
The links section provides options for inserting hyperlinks to your spreadsheet.
f. Text
Options in the text section include text box, header and footer, WordArt and a number of
predefined text blocks like a signature line and symbols. There are a lot of option in here to
setup on your own or you can use Excel’s predefined options.
3. Page Layout Tab
The page layout tab has five sections, Themes, Page Setup, Scale to Fit, Sheet Options, and
Arrange.
a. Themes
The themes section provides a quick way to format your document. By choosing a theme you
will have a set colour scheme, font combinations, and effects. You can choose one of the
provided themes, modify any provided theme or create your own. You can also go online in this
section and browse Microsoft.com for additional themes. Be aware that changing your theme
after creating a document may require you to reformat some items as themes also include some
layout options.
b. Page Setup
Page setup provides you with the tools to change margins, size, orientation, columns, breaks,
backgrounds and add print titles to the document.
c. Scale To Fit
This section allows you to scale to fit your document onto a certain number of pages or to scale it
to a certain percentage of it’s current size.
d. Sheet Options
This section gives you checkboxes to view or print headings and gridlines.
e. Arrange
The arrange section is also found in the image toolbar when an image is selected. Here you can
change an images position, the alignment, grouping and rotation or the image.
4. Formulas Tab
The formulas tab contains four sections, function library, defined names, formula auditing and
calculation.
a. Function Library
This section gives you access to the large number of predefined Excel functions. There are Auto
Sum functions, financial, logical, text, date and time, lookup and reference, math and trig, and
additional functions. It also provides a section for recently used functions so you can get back to
the ones that you use the most quickly.
b. Defined Names
The defined names section allows you to create names or variables to be referenced in other
areas. This would be like assigning “taxrate” to cell b2 so in a formula you can easily see what
you were referencing when you look at a formula months after creating it. The formula
=A10*taxrate means more later than =a10*b2
c. Formula Auditing
This section provides tools to manage formulas to ensure that they are correct. You can use the
tools here to find out what cells your formula depends on, what cells depend on the current cell,
and show the formula in a cell instead of the resulting value. There is also a tool for error
checking which will look for common errors in formulas.
d. Calculation
Here you can turn on or off automatic calculation from formulas. If you turn off automatic
calculations you can use this area to calculate the current cell or the whole sheet.
5. Data Tab
The data tab contains five sections, get external data, connections, sort and filter, data tools, and
outline.
a. Get External Data
This is a single drop down item which allows you to refresh data from an external source. You
can pull in data from Access, the Internet, text files or from other external sources.
b. Connections
Here is where you manage any connections to outside sources. The setup done here is what
allows you to pull data from the external sources listed above.
c. Sort & Filter
Here you can sort or filter your data based on criteria you specify. You can use simple
alphabetical sorting or create more complex filters to manipulate your data.
d. Data Tools
With the data tools section you can take text and turn it into columns, remove duplicates, check
your data to make sure it is valid based on different criteria. Are they all whole numbers? Are
they all properly formatted dates? You can also consolidate data or do “What if” analysis where
you can check you data against different scenarios.
e. Outline
The final section in the data tab provides tools to group or ungroup rows or columns and obtain
subtotals for grouped items.
6. Review Tab
The review tab offers three sections which include proofing, comments, and changes.
a. Proofing
The proofing section provides the standard spelling and grammar check, a thesaurus, and
research tools that include MSN search and Microsoft Encarta encyclopedia. You will also find
translation tools to help with single words or the whole document. The translation of the entire
document is done by an online service called Wordlingo.
b. Comments
The comments section allows you to add comments to a document for easier collaboration. You
can cycle through the comments to find out what notes you left for yourself or others and you
can delete a comment that was made when it is no longer relevant.
c. Changes
The changes section allows you to protect a sheet or the entire workbook, you can also share a
workbook. Some of the sharing features are only available to users on a Windows domain. This
authenticates the users against the domain for access so this will not work for many people.
7. View Tab
The view tab offers five sections which include workbook views, show/hide, zoom, window and
macros.
a. Workbook Views
The workbook views section switches your display between normal view, page layout, full
screen and page break preview. The page layout will show you what will be on each page and
provide a way to add headers and footers to each page. The page break preview will show you a
scaled version of your spreadsheet with dotted lines showing where the page breaks will be.
There is also a way to work with custom views here.
b. Show/Hide
The show/hide section will toggle certain tools on or off the screen including rulers, gridlines,
message bar, formula bar and headings. The rulers will show along the top and left side of the
screen. Gridlines will show the grids around each cell. They will be visible on screen but don’t
print.
c. Zoom
The zoom section provides tools to zoom into or out of the document. You can choose your
own zoom factor or use the predefined zoom factor of 100% or you can select a section and
zoom so it fills your screen.
d. Window
The window section allows you to create a new window, arrange your windows one on top of the
other or split your window so the same document is viewed in two screens one on top of the
other. You can also hid and unhide a window. Once you have arranged your windows the way
you like them you can save the workspace so you can open to this setup when you need to work
on these items again. This is very handy for setups where you need to work on multiple
documents at once and you have to do this a lot. You can also choose which window to work on
through the switch windows drop down menu.
e. Macros
The macros section provides the tools required to work with and create basic macros. You can
view existing macros or record your own. Choose record macro from the drop down and then
perform the functions you do often, like change the page layout, and style of the document.
Once you have done those tasks then stop recording. You will be able to use that macro over
again to shorten the steps you need to take every time you need to perform that set of tasks.
KEY DESCRIPTION
CTRL+SHIFT+$ Applies the Currency format with two decimal places (negative numbers
in parentheses).
CTRL+SHIFT+^ Applies the Exponential number format with two decimal places.
CTRL+SHIFT+# Applies the Date format with the day, month, and year.
CTRL+SHIFT+@ Applies the Time format with the hour and minute, and AM or PM.
CTRL+SHIFT+! Applies the Number format with two decimal places, thousands
separator, and minus sign (-) for negative values.
CTRL+SHIFT+* Selects the current region around the active cell (the data area enclosed
by blank rows and blank columns).
In a PivotTable, it selects the entire PivotTable report.
CTRL+SHIFT+" Copies the value from the cell above the active cell into the cell or the
Formula Bar.
CTRL+Minus (-) Displays the Delete dialogue box to delete the selected cells.
CTRL+` Alternates between displaying cell values and displaying formulas in the
worksheet.
CTRL+' Copies a formula from the cell above the active cell into the cell or the
Formula Bar.
CTRL+D Uses the Fill Down command to copy the contents and format of the
topmost cell of a selected range into the cells below.
CTRL+F Displays the Find and Replace dialogue box, with the Find tab selected.
SHIFT+F5 also displays this tab, while SHIFT+F4 repeats the last Find
action.
CTRL+SHIFT+F opens the Format Cells dialogue box with the Font
tab selected.
CTRL+H Displays the Find and Replace dialogue box, with the Replace tab
selected.
CTRL+K Displays the Insert Hyperlink dialogue box for new hyperlinks or the
Edit Hyperlink dialogue box for selected existing hyperlinks.
CTRL+R Uses the Fill Right command to copy the contents and format of the
leftmost cell of a selected range into the cells to the right.
CTRL+S Saves the active file with its current file name, location, and file format.
CTRL+V Inserts the contents of the Clipboard at the insertion point and replaces
any selection. Available only after you have cut or copied an object, text,
or cell contents.
CTRL+ALT+V displays the Paste Special dialogue box. Available only
after you have cut or copied an object, text, or cell contents on a
worksheet or in another program.
CTRL+Z Uses the Undo command to reverse the last command or to delete the
last entry that you typed.
CTRL+SHIFT+Z uses the Undo or Redo command to reverse or restore
the last automatic correction when AutoCorrect Smart Tags are
displayed.
Function keys
KEY DESCRIPTION
F2 Edits the active cell and positions the insertion point at the end of the cell contents. It also
moves the insertion point into the Formula Bar when editing in a cell is turned off.
SHIFT+F2 adds or edits a cell comment.
CTRL+F2 displays the Print Preview window.
F6 Switches between the worksheet, Ribbon, task pane, and Zoom controls. In a worksheet
that has been split (View menu, Manage This Window, Freeze Panes, Split Window
command), F6 includes the split panes when switching between panes and the Ribbon
area.
SHIFT+F6 switches between the worksheet, Zoom controls, task pane, and Ribbon.
CTRL+F6 switches to the next workbook window when more than one workbook
window is open.
F7 Displays the Spelling dialogue box to check spelling in the active worksheet or selected
range.
CTRL+F7 performs the Move command on the workbook window when it is not
maximized. Use the arrow keys to move the window, and when finished press ENTER,
or ESC to cancel.
F8 Turns extend mode on or off. In extend mode, Extended Selection appears in the status
line, and the arrow keys extend the selection.
SHIFT+F8 enables you to add a nonadjacent cell or range to a selection of cells by using
the arrow keys.
CTRL+F8 performs the Size command (on the Control menu for the workbook window)
when a workbook is not maximized.
ALT+F8 displays the Macro dialogue box to create, run, edit, or delete a macro.
KEY DESCRIPTION
DELETE Removes the cell contents (data and formulas) from selected cells without
affecting cell formats or comments.
In cell editing mode, it deletes the character to the right of the insertion point.
END Moves to the cell in the lower-right corner of the window when SCROLL
LOCK is turned on.
Also selects the last command on the menu when a menu or submenu is visible.
CTRL+END moves to the last cell on a worksheet, in the lowest used row of
the rightmost used column. If the cursor is in the formula bar, CTRL+END
moves the cursor to the end of the text.
CTRL+SHIFT+END extends the selection of cells to the last used cell on the
worksheet (lower-right corner). If the cursor is in the formula bar,
CTRL+SHIFT+END selects all text in the formula bar from the cursor position
to the end—this does not affect the height of the formula bar.
ENTER Completes a cell entry from the cell or the Formula Bar, and selects the cell
below (by default).
In a data form, it moves to the first field in the next record.
Opens a selected menu (press F10 to activate the menu bar) or performs the
action for a selected command.
In a dialogue box, it performs the action for the default command button in the
dialogue box (the button with the bold outline, often the OK button).
ALT+ENTER starts a new line in the same cell.
CTRL+ENTER fills the selected cell range with the current entry.
SHIFT+ENTER completes a cell entry and selects the cell above.
SPACEBAR In a dialogue box, performs the action for the selected button, or selects or
clears a check box.
CTRL+SPACEBAR selects an entire column in a worksheet.
SHIFT+SPACEBAR selects an entire row in a worksheet.
CTRL+SHIFT+SPACEBAR selects the entire worksheet.
ALT+SPACEBAR displays the Control menu for the Microsoft Office Excel
window.
AIM
PROCEDURE:--
1. SUM
The SUM formula does exactly what you would expect. It allows you to add 2 or more
numbers together. You can use cell references as well in this formula.
The above shows you different examples. You can have numbers in there separated by commas
and it will add them together for you, you can have cell references and as long as there are
numbers in those cells it will add them together for you, or you can have a range of cells with a
colon in between the 2 cells, and it will add the numbers in all the cells in the range.
2. AVERAGE
The Excel AVERAGE function does exactly what its name suggests, i.e. finds an average, or
arithmetic mean, of numbers. Its syntax is similar to SUM's:
AVERAGE(number1, [number2], …)
Having a closer look at the last formula from the previous section (=SUM(A2:A6)/5), what
does it actually do? Sums values in cells A2 through A6, and then divides the result by 5. And
what do you call adding up a group of numbers and then dividing the sum by the count of those
numbers? Yep, an average!
3. COUNT
Formula: =COUNT(A1:A10)
The count formula counts the number of cells in a range that have numbers in them.
Formula: =COUNTA(A1:A10)
Counts the number of non-empty cells in a range. It will count cells that have numbers and/or
any other characters in them.The COUNTA Formula works with all data types. It counts the
number of non-empty cells no matter the data type.
These formulas all do their respective functions (SUM, COUNT, AVERAGE) IF the criteria are
met. There are also the formulas: SUMIFS, COUNTIFS, AVERAGEIFS where they will do their
respective functions based on multiple criteria you give the formula.
I use these formulas in our example to see the average revenue (AVERAGEIF) if a person met
their quota, Total revenue (SUMIF) for the just the sales people who met their quota, and the
count of sales people who met their quota (COUNTIF)
PROCEDURE:
The most used functions in Excel are the functions that count and sum. You can count and sum
based on one criteria or multiple criteria.
COUNT
To count the number of cells that contain numbers, use the COUNT function.
SUM
To sum a range of cells, use the SUM function.
SUMIF
To sum cells based on one criteria (for example, greater than 9), use the following SUMIF
function (two arguments).
To sum cells based on one criteria (for example, green), use the following SUMIF function
(three arguments, last argument is the range to sum).
COUNTIF
To count cells based on one criteria (for example, greater than 9), use the following COUNTIF
function.
Note: visit our page about the COUNTIF function for many more examples.
AVERAGE
To calculate the average number of cells that contain numbers, use the AVERAGE function.
STANDARD DEVIATION
To calculate the average number of cells that contain numbers, use the STDEV function.
STDEV.P is for population standard deviation and STDEV.S for sample standard deviation.
EX.NO: 2 ANALYSING FREQUENCY DISTRIBUTION USING EXCEL
DATE:
AIM
PROCEDURE
Frequency
The FREQUENCY function in Excel calculates how often values occur within the ranges you
specify in a bin table. You can also use the COUNTIFS function to create a frequency
distribution.
1. First, enter the bin numbers (upper levels) in the range C4:C8.
2. Select the range D4:D9 (extra cell), enter the FREQUENCY function shown below (without
the curly braces) and finish by pressing CTRL + SHIFT + ENTER.
Note: the formula bar indicates that this is an array formula by enclosing it in curly braces {}. To
delete this array formula, select the range D4:D9 and press Delete.
3. Hide the column with the bin numbers (upper levels) and insert a column with proper bin
labels.
Explanation: 1 value is less than or equal to 20, 8 values are greater than or equal to 21 and less
than or equal to 25, etc. At step 2, we selected the range D4:D9 (instead of the range D4:D8). As
a result, the FREQUENCY function also counts the number of values that are greater than 40.
Explanation: the last bin number is greater than or equal to the maximum value (52). As a result,
we don't need an extra cell to count the number of values that are greater than 60.
AIM
PROCEDURE:
BASIC STRING FUNCTIONS
S.N Function Name Syntax Description
o
1 CONCATENATE =CONCATENATE( text1, [text2], ... ) Joins together a series of
supplied text strings or other
values, into one combined
text string
2 LEN =LEN (text) Get the length of text.
3 FIND =FIND (find_text, within_text, Get the location of text in a
[start_num]) string(with case sensitivity &
wildcards not allowed)
4 REPLACE =REPLACE (old_text, start_num, Replace text based on
num_chars, new_text) location
5 SEARCH =SEARCH (find_text, within_text, Get the location of text in a
[start_num]) string(without case sensitivity
and wildcards allowed)
6 SUBSTITUTE =SUBSTITUTE (text, old_text, Replace text based on content
new_text, [instance])
7 EXACT =EXACT (text1, text2) Compare two text strings
8 UPPER =UPPER (text) Convert text to upper case
9 LOWER =UPPER (text) Convert text to lower case
CONCATENATE
Dataset Information: Information contains First name and Last name
First name Last name
Susan Chang
Ayako Tanaka
Bobby Smith
Aaron Lennox
Q1: Combine First name and Last name in to one column called Full name with space b/w
the names
Procedure:
Step 1: Create one column called Full name in Cell D5
Step 2: Enter the following formula =CONCATENATE(B6," ",C6) in the Cell D6 and
Press Enter
Step 3: Go to the end of Cell D6 and drag the formula till Cell D9
FIND
Dataset:
What to Find Within Result
The The cat in the Hat
Scenario: Find the text “the” in Within the Column using FIND Function
Note: - There are 2 strings with the text “the” in the Within Column. One with lower case and
another with T letter as capital
Procedure:
Step 1: Enter the following formula in the Cell D7 and Press Enter=FIND(B7,C7)
Note:- Start number parameter is optional and defaults to 1. The value 12 is returned
which is the position of the string “the” in the text C7
REPLACE
Dataset:
What to Replace Within Result
My The cat in the Hat
Scenario: Replace the text “the” with the “My” text using REPLACE Function
Note: - There are 2 strings with the text “the” in the Within Column. One with lower case and
another with T letter as capital
Procedure:
Step 1: Enter the following formula in the Cell D7 and Press Enter
=REPLACE(C7,1,3,B7)
The above formula will replace the first “The” with “My” text because starting number as
we mentioned in the formula is 1
Step 3: If you want to replace the second “the” with “My “ text, use the following
formula=REPLACE(C7,12,3,B7).
In the above formula, the starting number we mentioned as 12 which is the starting
position of the second “the” text in the Cell C7
SUBSTITUTE
Dataset:
Address Formatted Address
John Smith, 1234 Main
St. Anywhere, CA 10134
Scenario: Formatting the address (Substituting the comma with new line character) using
SUBSTITUTE Function
Step 1: Enter the following formula in the Cell C7 and Press Enter
=SUBSTITUTE(B7,",", CHAR(10))
The Commas are removed and substituted with new line character using Char(10)
Function
EXACT
Dataset:
Text1 Text2 Result
Apple Apple
Orange orange
Scenario: Check whether Text1 and Text2 are equal. If equal, return TRUE. If not equal,
return FALSE
Note: Exact Formula is case sensitive.
Procedure:
Step 1: Enter the following formula in the Cell E7 and Press Enter
=EXACT(C7,D7)
Syntax
VLOOKUP
Dataset Information: Product Sales Information in $ during the period January to June
Product Januar Februar March April May June
Product1
Name $813.0
y $909.00
y $753.0 $388.0 $361.0 $748.0
Product2 0
$889.0 $452.00 0$826.0 0$530.0 0$742.0 0$104.0
Product3 0$243.0 $766.00 0$397.0 0$14.00 0$232.0 0$878.0
Product4 0$895.0 $949.00 0$214.0 $616.0 0$167.0 0$286.0
Product5 0$864.0 $382.00 0$57.00 0$402.0 0$431.0 0$489.0
Product6 0$779.0 $389.00 $895.0 0$328.0 0$280.0 0$905.0
Scenario: If you 0 want to find the April
0 Sales0for the particular
0 0product, we can use vlookup
function
Note:-1. If the data is vertical, use vlookup
2. If the data is horizontal, use hlookup
3. Make sure that your dataset range and formula range must be same
Procedure:
Step 1: Type the Column Name “Product Name” in Cell L5 and Column Name “April” in
Cell M5
Step 2: Enter the following formula in the Cell M6 and Press Enter
=VLOOKUP(L6,$C$3:$I$9,5,FALSE)
Step 3: If you enter Product1 in Cell L6, Excel will calculate the corresponding April Sales
for that product
Step 4: If you change the product name in cell L6 (Eg: Product3 or Product5), the
corresponding April Sales values ($14.00 or $402.00) is searched using vlookup formula
HLOOKUP
Dataset Information: Product Sales Information in $ during the period January to June
(Horizontal Data)
Product Name Product1 Product2 Product3 Product4 Product5 Product6
January 813 889 243 895 864 779
February 909 452 766 949 382 389
March 753 826 397 214 57 895
April 388 530 14 616 402 328
May 361 742 232 167 431 280
June 748 104 878 286 489 905
Scenario: If you want to find the April Sales for the particular product, we can use hlookup
function
Note:-1. If the data is vertical, use vlookup
2. If the data is horizontal, use hlookup
3. Make sure that your dataset range and formula range must be same
Procedure:
Step 1: Type the Column Name “Product Name” in Cell L5 and Column Name “April” in
Cell L6
Step 2: Enter the following formula in the Cell M6 and Press Enter
=HLOOKUP(M5,$C$5:$I$11,5,FALSE)
Step 3: If you enter Product1 in Cell M5, Excel will calculate the corresponding April Sales
for that product
Step 4: If you change the product name in cell M5 (Eg: Product3 or Product5), the
corresponding April Sales values ($14.00 or $402.00) is searched using hlookup formula
Case Study
1. Dataset: ProductID with Price
ProductID Price
A134 $ 3.50
B242 $ 4.20
X212 $ 4.80
C413 $ 5.00
B2211 $ 5.20
Q1: Write VLOOKUP Formula to find the price for a particular product using ProductID
2. Dataset: ProductID with Price
Product
ID A134 B242 X212 C413 B2211
Price $3.50 $4.20 $4.80 $5.00 $5.20
Q1: Write HLOOKUP Formula to find the price for a particular product using ProductID
Aim
To compute measures of variability using MS-Excel
Procedure
1. The sample variance is calculated in Excel using the worksheet function VAR. The population
variance is calculated in Excel using the function VARP.
2. In Excel 2010/2013 the alternative forms of these functions are VAR.S and VAR.P.
3. To calculate variance for sample, the formula is =VAR.S (A3:A8)
4. To calculate variance for population, the formula is=VAR.P (A3:A8)
EX NO:5 MEASURES OF ASSOCIATION BETWEEN TWO VARIABLES
DATE:
Aim
To compute measures of association between two variables using Ms-Excel.
Procedure
1. Measures of association between two variables can be calculated through Scatter Plot,
Covariance and Correlation
2.To Insert Scatter plot for the given data go to insert menu and click scatter chart after selecting
the data.
3.To compute Covariance, COVARIANCE.S function will be used along with arrays. For the
given data the formula will be =COVARIANCE.S(A4:A17,B4:B17)as the data is presented in
Column A and B from 4th row to 17th row.
4. To compute Correlation , CORREL function will be used. For the given data the formula will
be= CORREL((A4:A17,B4:B17)
EX NO:6 CONDITIONAL FORMATTING
DATE:
AIM
PROCEDURE:
5. Click OK.
Result. Excel highlights the cells that are greater than 80.
6. Change the value of cell A1 to 81.
Note: you can also use this category (see step 3) to highlight cells that are less than a value,
between two values, equal to a value, cells that contain specific text, dates (today, last week, next
month, etc.), duplicates or unique values.
Clear Rules
To clear a conditional formatting rule, execute the following steps.
1. Select the range A1:A10.
Top/Bottom Rules
To highlight cells that are above average, execute the following steps.
5. Click OK.
Result. Excel calculates the average (42.5) and formats the cells that are above this average.
Conditional Formatting with Formulas
Take your Excel skills to the next level and use a formula to determine which cells to format.
Formulas that apply conditional formatting must evaluate to TRUE or FALSE.
DATE:
AIM
PROCEDURE:
This example describes how to compare two lists using conditional formatting. For example,
you may have two lists of NFL teams.
To highlight the teams in the first list that are not in the second list, execute the following steps.
1. First, select the range A1:A18 and name it firstList, select the range B1:B20 and name it
secondList.
2. Next, select the range A1:A18.
Result. Denver Broncos, Arizona Cardinals, Minnesota Vikings and Pittsburgh Steelers are not
in the first list.
EX NO:8 ADVANCED DATA ANALYTICS IN MS EXCEL
DATE:
AIM
PROCEDURE
INTRODUCTION:
In this unit, you will learn how to:
Define range names and use names in formulas
Identify and apply Excel’s logical functions, IF, AND, OR
Create nested functions by combining logical functions in a formula
In Excel, you can create meaningful names for cells or ranges that can be used to overcome these
difficulties.
Range names are meaningful character strings that you can assign to individual cells or cell
ranges. You can use a range name practically anywhere you can use a cell or range reference.
The advantage of using names comes from the fact that a name, like Employees, is more
meaningful and less abstract than a reference like C2:C55. Also, named ranges are by default
absolute, so if you copy or AutoFill a formula using named ranges, it will maintain its original
cell references.
Press Enter.
Note: Excel will not accept spaces between words in the names you choose. For example,
“newrange” or “newRange” or “new_Range”would be acceptable, but “New Range” would not.
Once you have defined your named ranges, you can use them in formulas and functions just as
you would a regular cell or range reference.
Using Logical Functions
Excel 2007’s logical functions are:
AND FALSE
OR TRUE
IF IFERROR
NO
These logical functions are important when doing advanced work in Excel because they can help
you control the behavior of your worksheets based on specific logical conditions.
This unit will focus on the use of the logical functions IF, AND, OR
Excel 2007 contains an extensive library of functions that you can call upon to help you solve
problems. These tools are available in the Function Library button group, on the Formulas
ribbon.
The first and largest button is Insert Function. This button will open a dialog allowing you to
search for and insert hundreds of functions.
You can also click the small fx button next to the formula bar to display the Insert Function box.
Manually entering a function
If you know which function you wish to use, you can enter a function into a worksheet by
inputting it manually (i.e. by typing the function directly into a cell).
When you do this in Excel 2007, a screen tip will appear with the possible functions that
correspond with the letters of the function name you have entered.
For example, if you type =IF into a cell the following appears.
Once you have selected the function you wish to use, continue by typing in a left bracket, which
will cause the function syntax to display in another screen tip.
Continue to enter all the arguments required for the function to give you a result, ensuring you
type a comma between each argument.
The IF function
The IF function checks whether a condition is met, and returns one value if TRUE and another
value if FALSE. Excel’s IF function can often prove to be very useful. You can use this function
to branch to different values or actions depending on a specified condition. The structure of an If
function is as follows: IF(logical test, value if true, value if false)
The AND Function
The AND Function returns TRUE if all conditions are true and returns FALSE if any of the
conditions are false. For example, the logical statement 1<10 is true and the statement 2>1 is also
true. As a result, the compound statement 1<10 AND 2>1 is TRUE, because both of the
statements that are being joined by AND are true. The following image demonstrates this in
Excel.
You can have as many as 255 logical arguments to an Excel AND function.
The following table (often referred to as a truth table) may help you understand the AND
function. In the last column of the truth table, you will see the value returned by the function,
according to the corresponding values of the function arguments.
A B AND(a, b)
The OR Function
The OR function returns TRUE if any of the conditions are TRUE and returns FALSE if all
conditions are false. For instance, the logical statement 1<10 OR 2<1 is true, since 1 is less than
10. It does not matter that the statement 2<1 is false, because you have a choice of either 1<10
OR 2<1 to make the compound statement true. If one or both of the arguments is true, the overall
OR statement will also be true.
A B OR(A,B)
In Excel, you can actually place (or nest) a function within a function. This can be extremely
useful for a wide variety of situations. Excel allows up to 64 nested functions.
Nested IF functions
The IF function is ideal for making choices based on logical tests. Furthermore, you can nest IF
functions one inside another.
Value if FALSE
In the case of this IF function, if the value in cell A1 is 10 the function will return 100. If the
value in A1 is not 10, the function will test if the value in A1 is 5. If the value in A1 is 5, the
function will return 200. If it is not 5 (and also not 100) the function will return 0.
When you nest logical functions, you must make sure that the number of closing parenthesis
matches the number of opening parenthesis used in the function. If you count the parenthesis in
the function from the image above, you will see two opening, and two closing parenthesis.
Nested functions can also be created using the IF and OR functions together; or the IF and AND
functions together.
For example:
The IF function returns Correct because the value in cell A1 is higher than 10.
AND FUNCTION
The AND function returns FALSE because the value in cell B1 is not higher than 5. As a result
the IF function returns Incorrect.
OR FUNCTION
The OR function returns TRUE because the value in cell A1 is higher than 10. As a result the IF
function returns Correct.
General note: the AND and OR function can check up to 255 conditions.
EX NO:9 ADVANCED ANALYSIS IN EXCEL USING ADDINS
DATE:
AIM
PROCEDURE
Analysis ToolPak is available in all versions of Excel 2019 to 2003 but is not enabled by default.
So, you need to turn it on manually. Here's how: In your Excel, click File > Options.In the Excel
Options dialog box, select Add-ins on the left sidebar, make sure Excel Add-ins is selected in
the Manage box, and click Go.
1. In the Add-ins dialog box, tick off Analysis Toolpak, and click OK:
This will add the Data Analysis tools to the Data tab of your Excel ribbon.
DATE:
AIM
PROCEDURE:
In Microsoft Excel, a chart is often called a graph. It is a visual representation of data from a
worksheet that can bring more understanding to the data than just looking at the numbers.
A chart is a powerful tool that allows you to visually display data in a variety of different chart
formats such as Bar, Column, Pie, Line, Area, Doughnut, Scatter, Surface, or Radar charts. With
Excel, it is easy to create a chart.
Here are some of the types of charts that you can create in Excel.
A bar chart is a graph that shows horizontal bars with the axis values for the bars displayed on
the bottom of the graph.
To create a bar chart in Excel 2007, you will need to do the following steps:
1. Highlight the data that you would like to use for the bar chart. In this example, we have
selected the range A1:C5.
2. Select the Insert tab in the toolbar at the top of the screen. Click on the Bar button in the
Charts group and then select a chart from the drop down menu. In this example, we have
selected the first bar chart (called Clustered Bar) in the 2-D Column section.
3. Now you will see the bar chart appear in your spreadsheet with horizontal bars to
represent both the shelf life and restock time for each product. The shelf life (in days) is
displayed as red horizontal bars and the restock time (in days) is displayed as blue
horizontal bars. You can see the axis values on the bottom of the graph for these
horizontal bars.
4. Finally, let's add a title for the bar chart. By default, your chart will be created without a
title in Excel 2007.
To add a title, select the Layout tab under Chart Tools in the toolbar at the top of the
screen (Chart Tools will only appear when you have the chart selected). Click on the
Chart Title button in the Labels group and then select "Above Chart" from the drop
down menu.
5. Now you should see a title appear at the top of the chart area. Click on the title and it will
become editable. Enter the text that you would like to see as the title. In this tutorial, we
have entered "Product Life (in Days)" as the title for the bar chart.
4. Finally, let's add a title for the column chart. By default, your chart will be created
without a title in Excel 2007.
To add a title, select the Layout tab under Chart Tools in the toolbar at the top of the
screen (Chart Tools will only appear when you have the chart selected). Click on the
Chart Title button in the Labels group and then select "Above Chart" from the drop
down menu.
Now you should see a title appear at the top of the chart area. Click on the title and it will
become editable. Enter the text that you would like to see as the title. In this tutorial, we
have entered "Sales and Expenses" as the title for the column chart.
It is a graphical object used to represent the data in your Excel spreadsheet that uses 1 series of
data to create the graph.
You want to show numbers as a proportion of the whole (ie: the numbers equal 100%).
There are a limited number of pie slices. If there are too many pie slices, then a pie chart
is not a recommended graph to use.
3. Now you will see the completed pie chart. In this tutorial, the pie chart has 4 slices (one
for each division). Each slice represents the sales as a percentage of the total sales.
What is a Line Chart?
A line chart is a graph that shows a series of data points connected by straight lines.
You want to show a trend over time (such as days, months or years). In this case, the time
values would be your categories.
The order of your categories (ie: time values) is important.
Steps to Create a Line Chart
To create a line chart in Excel 2007, you will need to do the following steps:
1. Highlight the data that you would like to use for the line chart. In this example, we have
selected the range A1:D7.
2. Select the Insert tab in the toolbar at the top of the screen. Click on the Line button in
the Charts group and then select a chart from the drop down menu. In this example, we
have selected the fourth line chart (called Line with Markers) in the 2-D Line section.
3. Now you will see the line chart appear in your spreadsheet showing the trend for 3
products (ie: Desktops, Laptops and Tablets). The blue series of data points represents the
trend for Desktops, the red series of data points represents Laptops and the green series of
data points represents Tablets.
The axis values for each product are displayed on the left side of the graph.
4. Finally, let's add a title for the line chart. By default, your chart will be created without a
title in Excel 2007.
To add a title, select the Layout tab under Chart Tools in the toolbar at the top of the
screen (Chart Tools will only appear when you have the chart selected). Click on the
Chart Title button in the Labels group and then select "Above Chart" from the drop
down menu.
Now you should see a title appear at the top of the chart area. Click on the title and it will
become editable. Enter the text that you would like to see as the title. In this tutorial, we
have entered "Product Trends by Month" as the title for the line chart.
What is a Scatter Plot?
A scatter plot is a type of graph commonly used to represent the correlation between two
different variables. For instance, it’s generally believed that the amount of time spent
studying for an exam has a direct influence on how well a student will perform on that
exam. To support this theory, you may gather information from several students
consisting of the number of hours they spent studying and their final test scores. This
information could then be transformed into a scatter plot.
There are several different types of scatter plots that can be created in Microsoft Excel
2007, but we’ll focus on the most common variety – a scatter plot with only markers – in
these instructions. However, these steps can easily be adapted and used to create any of
the other varieties of scatter plots in Excel.
Step 1: Enter or copy/paste your data into an Excel worksheet. As an example in this tutorial,
we’ll be using data consisting of hours spent studying and final exam scores for a select
group of students.
Step 2: Highlight the columns that contain the data you want to represent in the scatter plot.
In this example, those columns are Hours Spent Studying and Exam Score.
After making this selection, the initial scatter plot will be created in the same worksheet. You can
resize this chart window and drag it to any other part of the worksheet.
OLAP (online analytical processing) is computer processing that enables a user to easily and
selectively extract and view data from different points of view. For example, a user can request
that data be analyzed to display a spreadsheet showing all of a company's beach ball products
sold in Florida in the month of July, compare revenue figures with those for the same products in
September, and then see a comparison of other product sales in Florida in the same time period.
To facilitate this kind of analysis, OLAP data is stored in a multidimensional database. Whereas
a relational database can be thought of as two-dimensional, a multidimensional database
considers each data attribute (such as product, geographic sales region, and time period) as a
separate "dimension." OLAP software can locate the intersection of dimensions (all products
sold in the Eastern region above a certain price during a certain time period) and display
them. Attributes such as time periods can be broken down into sub attributes.
OLAP can be used for data mining or the discovery of previously undiscerned relationships
between data items. An OLAP database does not need to be as large as a data warehouse, since
not all transactional data is needed for trend analysis. Using Open Database Connectivity
(ODBC), data can be imported from existing relational databases to create a multidimensional
database for OLAP.
product mix?)
The flexibility of OLAP reporting assists end users in understanding why particular business
events have occurred and or forecast what may occur in the future. The types of questions an
OLAP system can assist with could include:
OLAP systems and their ability for multidimensional reporting are considered important
component of Business Intelligence. OLTP systems often provide the transactional data which is
used as an input for OLAP system’s multidimensional reports.
To gain a better understanding of multidimensional reporting and related concepts we have
created an exercise using Microsoft Excel’s PivotTable. The purpose of this exercise is to create
a PivotTable in Microsoft Excel to analyse the data using multi-dimensional reporting.
Scenario
You are a manger of a department store and one of your responsibilities is to make decisions
related to product ordering, promotions, countrywide discounts as well as monitoring and
managing the daily operations of the store. You have a number of OLTP systems to assist with
the recording of day to day transactions. Although this report provides a lot of information, the
information is not in a format which can easily assist in the type of decisions you are required to
make.
PivotTables
Here are the instructions to create pivot tables. Follow these steps (1- 7) to create a pivot table to
find out which product provided the most revenue
EX NO:9 DATA ANALYTICAL PROCESSING USING MS-EXCEL PIVOT TABLE
DATE:
AIM:
To analyse the given data using MS-Excel pivot table.
PROCEDURE:
2. Click Insert -> Pivot Table at the top left of the screen
4. The next screen requires you to identify the data range to be analysed by the PivotTable. You
will notice that Excel has automatically detected the data range. Also indicate where the
PivotTable will be created.
Click OK to continue
5. A new worksheet appears similar to below. The screen is divided into two sections. On the left
is the Design Area where you define the structure of your PivotTable. On the right, is the Field
List which corresponds with the column headings of your data.
6. Drag &drop the Country field from the list on the right to the Drop Row Fields Here design
area on the left. This is the same as dropping the Country field in the Row Labels box on the
lower right side of the screen. Your screen will look like this
7. Drag&drop the Total field to the Drop Data Items Here design area. Notice that the order total
DATE:
AIM:
To analyse the given data using slicer option from MS-Excel
PROCEDURE:
Step1: Click the pivot table sheet from the excel workbook (Pivot table.xls)
Step6: Place the cursor on Grand total row and select sort largest to smallest option from Sort &
Filter menu.
Step 7: you will get the answer for the question. The maximum amount spent by Australia in
Fruits category is $52721 for Banana.
Answer
Q_a) Find out the maximum amount spent by Australia in $20634, Apple
Fruits category?
Q_b) Which product provided the most revenue in New Banana,
Zealand?
Q c) Which country spent the highest amount of Money for United States
Vegetables?
Q.d) What was the total sales of vegetables in Germany? $ 88738
Q.e) Which country spent the least amount for fruits? New Zealand
EX NO: 11 ADVANCED DATA VISUALIZATION USING EXCEL
DATE:
AIM
PROCEDURE:
Heat Map
To create a heat map in Excel, simply use conditional formatting. A heat map is a graphical
representation of data where individual values are represented as colors.
AIM
PROCEDURE
1. Open datadashboard.xls
2. Click Insert -> Pivot chart
3. Select Product and drag it to Rows field and Amount in Values field
4. Open a new worksheet and rename it as Dashboard. Copy and paste the chart created in step 3.
5. Go to data sheet and insert pivot chart and select Country in Axis field and Amount in values
field. Copy the chart and paste it in Dashboard worksheet
6. Go to data sheet and insert pivot chart and select Date in Rows field and Amount in Values
filed. Then select the pivot table of Date as mentioned in the left side of the picture, right click
the table and select Grouping. Select Grouping by months, click Ok. Copy the chart and paste it
in dashboard worksheet.
7. Goto Dashboard worksheet. Adjust the charts according to the screen size for better
visualization.Keep the cursor in any one of the chart and Click Analyze menu then select Insert
Slicer and select Date and Country.Now the interactive dashboard is ready for analysis.
8. Select any one Month from Date and any one country in Country field from the slicer. Now
the pivot charts are also changes accordingly.