Design a Customer Analytics Dashboard Using Power BI

Faheedah Bukola Bello

By Faheedah Bukola Bello

Dec 6

Every business desires to increase its profit. Successful companies do not joke with their customers’ needs. it is important to not only provide for the needs of the customers but also study how the company can achieve more interest while satisfying the customers. In this blog, we will be discussing the reasons you should consider a customer analysis and how to design a customer analytics dashboard using Power BI.

Who is a customer?

A customer is a person or an entity who receives goods, products, or services from you as a company, business, or organization in exchange for money or some other valuable things. Customers are the building blocks of a business. Any business without customers will be likened to a charity organization.

What is customer analytics?

Customer analytics is a process whereby the company uses customer data to derive insights that will help improve customer satisfaction and improve income generated by the company. Customer analytics entails understanding the pattern at which your customers are patronizing your product or services, what they are buying, the demographic info of the highest buyers of each product or service, their geographic location, etc.

What is the essence of customer analytics?

It is important to know the reasons your business should consider customer analytics. The benefits that you stand to gain include but are not limited to:

  1. Increase in sales: Analyzing customer data will allow the business to understand how best to satisfy the target customers this will in turn increase sales.
  2. Increase in revenue: The revenue generated by the company will increase when the sales increase.
  3. Reduced customer churn: Customer analytics helps the company understand the churn rate of its customers and allows the company works more on retaining the forthcoming customers.
  4. Understanding customer behaviors: Through analytics, you get to understand your customers, how best to reach them, when to reach them, through who to reach them, and also which marketing strategy to employ.

What are the different customer analytics techniques?

There are several analytics techniques for customer analytics. Let us take a look at some of them.

  1. Market Basket analysis: This is a type of association analysis concerned with determining the customers’ purchase patterns. It helps to figure out the products that are bought together, the customer's purchase history, purchase habits, and so on.
  2. Spend analysis: This is the technique that makes the organization understand how they spend, on whom they spend, and how to reduce, or when to cut some redundant spending. It assists the company in making better budgets, making better spending forecasts, and spotting fraudulent spending.
  3. Market segmentation analysis: This is a process of segmenting your target customers into groups based on specific criteria to understand them better. By understanding them, you will be able to satisfy their needs conveniently. These criteria could be age, geographic location, marital status, gender, lifestyle, etc.
  4. Customer churn analysis: Churn analysis is the process of figuring out the rate at which customers stop patronizing a product or service. This helps the business know the better way they can use in retaining their customers.
  5. Customer feedback analysis: This is the process of understanding how your customers feel about your product or service. This enables you to know their frustrations and how good or bad they rate you. This is important as it can let you know how feasible it is for them to recommend you to others.

All of these analyses depend on the aims and objectives of your analysis, so you don’t just decide to go for any of them haphazardly.

Now let’s design a customer analytics dashboard using Power BI!

The requirements for this tutorial

These are the things you should get in place for this tutorial:

  1. The Sales data sample
  2. Power BI software installed on your PC.
  3. An interesting mind to follow and practice as we do. 😁

With this, we will start designing our analytics dashboard using the sales_data_sample we have loaded up here.

Loading data into Power BI

The sample sales data has 25 columns with 2,823 rows.

  1. Launch the Power BI app on your PC.
  2. Select Get data from the box that appears on the app.
  3. A list of various data sources acceptable by Power BI shows up.
  4. Select the data file type you want to work with.
  5. Double-click on Text/CSV.
  6. It redirects you to the file storage to select from where you have stored your data.
  7. Navigate to where your data is stored and click on it to open.

Data transformation

  • When your data is loaded to your screen, the box that appears with the data has three buttons on the lower right-hand side: Load, Transform Data, and Cancel
  • Depending on the state of the data you want to work with, you may decide to do some basic transformations first or load the data the right way.
  • Data transformation is used to check and correct the anomalies present in the data. It is advisable to select Transform Data so as to confirm that the data is fit for analysis.
  • A new window opens giving a brief update about each variable.
  • Hover over the green line to check for the percentage of missing values
  • Click on the dropdown button on each column to know about the fields contained in the rows. This helps in checking for misspelled and duplicated items

Changing data types of some columns

For columns MSRP, PRICEEACH, QUANTITYORDERED and SALES:

  1. Click on each of the column names (one after the other)
  2. Click on the ABC icon by the left-hand side of each column name
  3. Choose Decimal from the list that appears
  4. Then, you will see that the icon has changed to 1.2

Changing the ORDERDATE column from Date/ Time to Date

  1. Select the column ORDERDATE
  2. Go to Transform tab
  3. Click on Date from the Date & Time Column
  4. Select Parse from the dropdown list
  5. The column now has its values in mm/dd/year

All the columns necessary for the customer analytics dashboard are free of errors, so we are good to go!

Now move to the Home tab and select Close and Apply

Designing the dashboard

  • On the Home tab, Go to the Insert wizard and click on Text box after which a box appears.
  • Drag the box in a rectangular form to the uppermost part of the dashboard page
  • You can then input the title of the dashboard: “Customer Analytics Dashboard”
  • Feel free to edit the font of the text, the size, the position, the color, and all you like to design the title with. I prefer Constantia for the font, 32 for the size, and blue for the color with the position being centralized.
  • On the Visualizations pane on the right-hand side of the page, click on the Format page
  • Select Canvas background
  • Choose the color you like for the background of the dashboard and reduce the transparency to 0%
  • Go to the View tab and choose a theme for your dashboard
  • Select any theme that pleases you from the list or you can as well download some other themes from the Theme gallery online. Note that the theme you choose will have an effect on the colors, font size, and font type of the visuals.

Creating Measures

In order to ease and realize our proposed dashboard, we will have to make some extra computations in form of new measures. A measure is a calculated

Create a new table

  1. Click on the table icon on the Home tab
  2. A table with a column appears
  3. Rename the table to Calculations/Measures
  4. You will see the new table appearing on the Fields pane. The Calculations/measures table will host the new measures created.

Create a measure for the Total Order

  • Right-click on the Calculations/measure table
  • Select New Measure from the list that pops up
  • Type in the formula
Total Order = DISTINCTCOUNT(sales_data_sample[ORDERNUMBER]) 

Create a measure for the Total Sales

  • Right-click on the Calculations/measure table
  • Select New Measure from the list that pops up
  • Type in the formula
Total Sales = SUM(sales_data_sample[SALES]) 

Create a measure for the Total Quantity

  • Right-click on the Calculations/measure table
  • Select New Measure from the list that pops up
  • Type in the formula
Total Quantity = SUM(sales_data_sample[QUANTITYORDERED])

Create a measure for the Total Customers

  • Right-click on the Calculations/measure table
  • Select New Measure from the list that pops up
  • Type in the formula
Total Customers = DISTINCTCOUNT(sales_data_sample[CUSTOMERNAME])

Create a measure for Total Spend

  • Right-click on the Calculations/measure table
  • Select New Measure from the list that pops up
  • Type in the formula
Total Spend = SUMX(sales_data_sample, sales_data_sample[QUANTITYORDERED] * sales_data_sample[PRICEEACH])

Create a measure for Average spend

  • Right-click on the Calculations/measure table
  • Select New Measure from the list that pops up
  • Type in the formula
Average Spend = 
VAR Orders = 
    SUMMARIZE(
        sales_data_sample,
        sales_data_sample[ORDERNUMBER],
        "Spend Total", 'Calculation/Measure'[Total Spend])
                
RETURN
	AVERAGEX(Orders, [Total Spend])

Adding slicers

Slicers help add interactivity to the charts. Once an item is selected, it reflects in all the charts at once. For this dashboard, we will be creating two slicers

Create the Status slicer

  1. Select Slicer from the Visualizations pane
  2. Select the column Status from the sales_data_sample table on the Fields pane to populate the chart.
  3. On the slicer chart, change the type of slicer to Dropdown

Create the Dealsize Slicer

  1. Select Slicer from the Visualizations pane
  2. Select the column Status from the sales_data_sample table on the Fields pane to populate the chart
  3. On the slicer chart, change the type of slicer to Dropdown.

Adding Cards

We will be adding four different cards to the dashboard

  • Total Customers: This card displays the total customers that have patronized the business so far.
    1. On the visualizations pane, click on Build visual
    2. Select Card from the displayed visuals
    3. From the Calculation/Measure table in the Fields pane, select the Total Customers measure
    4. A card appears with the number of total customers appear.
    5. On the visualizations pane, click on Format visual.
    6. Select General tab and click on Effects dropdown arrow
    7. Turn on the Background button and change the color to anyone you want (I prefer white, 10% darker )
    8. Turn on the Visual border button and select a color of your choice (the theme color takes effect here)
    9. Turn on the Shadow button as well
    10. You can adjust the font type of the words, color, etc., to your taste
  • Total Order: This card displays the total number of orders that have been made so far.
    1. On the visualizations pane, click on Build visual
    2. Select Card from the displayed visuals
    3. From the Calculation/Measure table in the Fields pane, select the Total Order measure
    4. A card appears with the number of total customers appears
    5. On the visualizations pane, click on Format visual.
    6. Select General tab and click on Effects dropdown arrow
    7. Turn on the Background button and change the color to anyone you want (I prefer white, 10% darker )
    8. Turn on the Visual border button and select a color of your choice (the theme color takes effect here)
    9. Turn on the Shadow button as well
    10. You can adjust the font type of the words, color, etc., to your taste
  • Total Sales: This card displays the total sales the business has made so far.
    1. On the visualizations pane, click on Build visual
    2. Select Card from the displayed visuals
    3. From the Calculation/Measure table in the Fields pane, select the Total Sales measure
    4. A card appears with the number of total customers appear.
    5. On the visualizations pane, click on Format visual.
    6. Select General tab and click on Effects dropdown arrow.
    7. Turn on the Background button and change the color to anyone you want (I prefer white, 10% darker)
    8. Turn on the Visual border button and select a color of your choice (the theme color takes effect here)
    9. Turn on the Shadow button as well
    10. You can adjust the font type of the words, color, etc., to your taste

  • Total Quantity: This card displays the total quantity of orders made by customers.
    1. On the visualizations pane, click on Build visual
    2. Select Card from the displayed visuals
    3. From the Calculation/Measure table in the Fields pane, select the Total Quantity measure
    4. A card appears with the number of total customers appear.
    5. On the visualizations pane, click on Format visual.
    6. Select General tab and click on Effects dropdown arrow
    7. Turn on the Background button and change the color to anyone you want (I prefer white, 10% darker)
    8. Turn on the Visual border button and select a color of your choice (the theme color takes effect here)
    9. Turn on the Shadow button as well
    10. You can adjust the font type of the words, color, etc., to your taste

Adding charts

Our dashboard will host four different charts:

  • A line chart showing the total spend and average spend by year
    1. On the visualizations pane, click on Build visual.
    2. Select the line chart from the visuals
    3. From the sales_data_sample table on the Fields pane, add column Orderdate to X-axis
    4. From Calculation/Measure, add column Total spend to Y-axis **and column Average spend to the secondary y-axis
    5. Click on Format visual tab to make some adjustments to the chart. You are free to design the chart any way you want with the tools available such as font type, font color, etc.
  • A table showing the total number of sales made by each country in each year
    1. On the visualizations pane, click on Build visual
    2. Select the matrix chart from the visuals
    3. From the sales_data_sample table on the Fields pane, drag columns Country, Orderdate, Sales to Rows, Columns, and Values boxes in the visualizations pane **
    4. Click on Format visual tab to make some adjustments to the chart. You are free to design the chart any way you want with the tools available such as font type, font color, etc.
  • A bar chart showing the top 5 customers with the highest sales
    1. On the visualizations pane, click on Build visual
    2. Select the stacked bar chart from the visuals
    3. From the sales_data_sample table on the Fields pane, select the columns Sales and Customername
    4. On the filters pane, click on the Customername box
    5. Change the filter type from Basic filtering to Top N
    6. In the empty box under Show items, enter 5
    7. In the By value box, drag the sales column in there
    8. Click on Apply filter
    9. Click on Format visual tab to make some adjustments to the chart. You are free to design the chart any way you want with the tools available such as font type, font color, etc.
  • A column chart showing the total sales made in each product category

a. On the visualizations pane, click on Build visual

b. Select the stacked column chart from the visuals

c. From the sales_data_sample table on the Fields pane, select the

columns Sales and Productline

d. Click on Format visual tab to make some adjustments to the chart. You

are free to design the chart any way you want with the tools available

such as font type, font color, etc.

Arranging the charts

It is important to note that it is not professional to just place the charts in random areas on the dashboard, but one has to follow the rules guiding the arrangement of charts on the dashboard.

  1. The title of the dashboard comes first
  2. The slicers are placed on the right-hand side of the title
  3. The four cards are placed on the next row that follows
  4. The bar chart and the line chart come on the next row
  5. Then finally, the table and the column chart will occupy the last row.

Here is the Final output of the dashboard

We do hope that you found this blog exciting and insightful, for more access to such quality content, kindly sign up to the Resa platform by clicking here.

Thank you for learning with Us!

Table of contents
  1. Who is a customer?
  2. What is customer analytics?
    1. What is the essence of customer analytics?
  3. What are the different customer analytics techniques?
    1. The requirements for this tutorial
    2. Loading data into Power BI
    3. Data transformation
    4. Designing the dashboard
    5. Creating Measures
    6. Adding slicers
    7. Adding Cards
    8. Adding charts
    9. Arranging the charts
resa logo

Empowering individuals and businesses with the tools to harness data, drive innovation, and achieve excellence in a digital world.

Copyright 2025Resagratia. All Rights Reserved.