Skip to content
Groot Institute of Technology

How to Create an Interactive Sales Dashboard in Power BI

Let's know about Data Analytics and Power BI

what is power bi 1024x576

By Groot Institute Of Technology · 25 Nov 2026 · 13 min read

Data Analyst

How to Create an Interactive Sales Dashboard in Power BI: A Step-by-Step Guide

Introduction

In today's digital world, businesses generate large amounts of data every day. Sales records, customer information, product details and financial transactions help businesses understand their performance. However, analysing large amounts of raw data manually can be difficult and time-consuming.

This is where Microsoft Power BI becomes useful.

Power BI is a powerful business intelligence and data visualization tool that transforms raw data into meaningful reports and interactive dashboards. It helps businesses monitor sales, analyse profits, identify trends and make better business decisions.

In this practical tutorial, we will learn how to create an interactive Sales Dashboard using Microsoft Power BI. We will work with a sample sales dataset and learn how to import data, clean information, create Key Performance Indicators (KPIs), build charts and add interactive filters.

This project is suitable for beginners, students, aspiring data analysts and professionals who want to develop practical Power BI skills.

1. What Is Microsoft Power BI?

Microsoft Power BI is a business intelligence and data visualization platform developed by Microsoft.

It helps users connect to different data sources, transform raw data, create interactive reports and share business insights.

Power BI can be used for:

  • Sales performance analysis
  • Financial reporting
  • Customer behaviour analysis
  • Business performance monitoring
  • Inventory management
  • Data visualization
  • Management reporting

Important Features of Power BI

Data Connectivity: Power BI connects to Excel, CSV files, SQL databases and many other data sources.

Power Query: It helps clean, transform and prepare data before analysis.

DAX: Data Analysis Expressions (DAX) is used to create calculations, measures and calculated columns.

Interactive Visualizations: Users can create charts, tables, cards, maps and other visual elements.

Power BI Service: Reports can be published online and shared with authorised users.

2. Project Overview: Sales Dashboard

In this project, we will create a Sales Performance Report using sample sales data.

Our report will display the following information:

  • Total Sales
  • Total Orders
  • Total Profit
  • Profit Margin
  • Monthly Sales Trends
  • Sales by Product Category
  • Sales by Region
  • Top 5 Products by Sales

We will also add interactive filters so users can analyse sales according to date, region and product category.

What Will You Learn?

After completing this project, you will understand how to:

  1. Import sales data into Power BI.
  2. Clean and transform data using Power Query.
  3. Create DAX measures.
  4. Build KPI cards.
  5. Create charts and visualizations.
  6. Add interactive slicers.
  7. Design a professional report.
  8. Publish and share your report.

3. Tools and Requirements

Before starting the project, you need the following:

1. Power BI Desktop

Power BI Desktop is the application used to create reports and visualizations.

Download it from Microsoft's official website:

https://www.microsoft.com/en-us/power-platform/products/power-bi/desktop

2. Sales Dataset

You need a sample sales dataset in Excel or CSV format.

Create an Excel file with the following columns:

| Column Name | Description |
|---|---|
| OrderID | Unique order number |
| OrderDate | Date of the order |
| Product | Product name |
| Category | Product category |
| Region | Sales region |
| Sales | Sales amount |
| Profit | Profit earned |

Sample Dataset

You can use the following fictional sample records to practise:

| OrderID | OrderDate | Product | Category | Region | Sales | Profit |
|---|---|---|---|---|---:|---:|
| 1001 | 01-01-2025 | Laptop | Electronics | North | 85000 | 17000 |
| 1002 | 05-01-2025 | Chair | Furniture | South | 15000 | 3000 |
| 1003 | 12-02-2025 | Mobile | Electronics | East | 42000 | 8400 |
| 1004 | 18-02-2025 | Desk | Furniture | West | 22000 | 4400 |
| 1005 | 03-03-2025 | Headphones | Accessories | North | 5000 | 1000 |
| 1006 | 15-03-2025 | Laptop | Electronics | South | 90000 | 18000 |
| 1007 | 20-04-2025 | Chair | Furniture | East | 18000 | 3600 |
| 1008 | 25-04-2025 | Mobile | Electronics | West | 38000 | 7600 |

For a meaningful monthly sales trend, add more sample records across several months.

3. Computer or Laptop

A Windows computer is recommended for running Power BI Desktop.

4. Import Sales Data into Power BI

The first step is importing the sales dataset.

Follow these instructions:

  1. Open Power BI Desktop.
  2. Click the Home tab.
  3. Select Get Data.
  4. Choose Excel Workbook.
  5. Browse and select your Excel sales file.
  6. Select the required worksheet.
  7. Click Load.

Your sales data will now appear in the Data pane.

Why is this step important?

Power BI needs data before it can create charts, calculations and reports. Importing data connects your Excel information to Power BI.

5. Clean and Transform Data Using Power Query

Raw data may contain blank rows, duplicate records, missing values or incorrect data types.

Before creating visualizations, we should prepare the data.

Power BI provides a tool called Power Query Editor for data cleaning and transformation.

How to Open Power Query

  1. Open Power BI Desktop.
  2. Go to the Home tab.
  3. Click Transform Data.
  4. Power Query Editor will open.

Important Data Cleaning Operations

A. Remove Blank Rows

  • Select your sales table.
  • Open the Remove Rows option.
  • Select Remove Blank Rows.

B. Remove Duplicate Records

  • Select OrderID if it uniquely identifies each order.
  • Open Remove Rows.
  • Select Remove Duplicates.

Only remove records that are genuinely duplicated.

C. Change Data Types

Check that your columns have the correct data types.

| Column | Recommended Data Type |
|---|---|
| OrderID | Text or Whole Number |
| OrderDate | Date |
| Product | Text |
| Category | Text |
| Region | Text |
| Sales | Decimal Number |
| Profit | Decimal Number |

D. Handle Missing Values

Check for blank values in important columns. Correct or remove records only when appropriate for the dataset.

After cleaning the data, click Close & Apply.

Your cleaned data is now available in Power BI.

6. Create DAX Measures for Sales Analysis

DAX stands for Data Analysis Expressions.

It is a formula language used in Power BI to perform calculations and analyse data.

We will create four important measures:

  • Total Sales
  • Total Orders
  • Total Profit
  • Profit Margin

Go to the Modeling tab and select New Measure.

Measure 1: Total Sales

Total Sales = SUM(Sales[Sales])

This formula calculates the total sales amount.

Measure 2: Total Orders

Total Orders = DISTINCTCOUNT(Sales[OrderID])

This formula counts the unique orders.

Measure 3: Total Profit

Total Profit = SUM(Sales[Profit])

This formula calculates the total profit earned.

Measure 4: Profit Margin

Profit Margin =
DIVIDE([Total Profit], [Total Sales], 0)

This formula calculates profit as a percentage of sales.

Select the Profit Margin measure and format it as Percentage.

Important: These formulas assume your table is named Sales and your column names match the sample dataset. Change the names if your actual table or columns are different.

7. Create KPI Cards in Power BI

KPI stands for Key Performance Indicator.

KPI cards display important business figures in a simple and understandable format.

We will create four cards:

  1. Total Sales
  2. Total Orders
  3. Total Profit
  4. Profit Margin

Steps to Create a Card

  1. Open Report View.
  2. Select the Card visual from the Visualizations pane.
  3. Drag the Total Sales measure into the card.
  4. Repeat the process for Total Orders.
  5. Create another card for Total Profit.
  6. Create the fourth card for Profit Margin.
  7. Adjust the titles, font sizes and background colours.

Suggested Card Design

  • Total Sales – Blue
  • Total Orders – Light Blue
  • Total Profit – Orange
  • Profit Margin – Yellow

These cards will appear at the top of your report.

8. Create Charts and Visualizations

Charts help businesses understand sales patterns and compare performance.

Let's create four different visualizations.

A. Monthly Sales Trend Using a Line Chart

A line chart shows how sales change over time.

Steps:

  1. Select the Line Chart visual.
  2. Drag OrderDate to the X-axis.
  3. Drag Total Sales to the Y-axis.
  4. Use the date hierarchy or a suitable Month field.
  5. Set the title to Monthly Sales Trend.

This chart helps identify months with higher and lower sales.

For accurate month ordering, use a proper date field or calendar table instead of sorting month names alphabetically.

B. Sales by Category Using a Donut Chart

A donut chart shows how different product categories contribute to total sales.

Steps:

  1. Select the Donut Chart visual.
  2. Drag Category into the Legend field.
  3. Drag Total Sales into the Values field.
  4. Enable data labels if required.
  5. Set the title to Sales by Category.

This chart helps identify which product categories generate the most revenue.

C. Sales by Region Using a Column Chart

A column chart compares sales across different regions.

Steps:

  1. Select Clustered Column Chart.
  2. Drag Region to the X-axis.
  3. Drag Total Sales to the Y-axis.
  4. Set the title to Sales by Region.

This visualization helps businesses compare regional performance.

D. Top 5 Products Using a Bar Chart

A bar chart can display the five products generating the highest sales.

Steps:

  1. Select Clustered Bar Chart.
  2. Drag Product to the Y-axis.
  3. Drag Total Sales to the X-axis.
  4. Open the Filters pane.
  5. Select Product under Filters on this visual.
  6. Change the filter type to Top N.
  7. Enter 5 in the Top field.
  8. Drag Total Sales into the By value field.
  9. Click Apply Filter.

Your chart will display the top five products based on sales.

9. Add Interactive Slicers and Filters

One of the most useful features of Power BI is interactivity.

Slicers allow users to filter dashboard information without modifying the original dataset.

We will add three slicers:

  • Order Date
  • Region
  • Category

Steps to Add a Slicer

  1. Select the Slicer visual.
  2. Drag OrderDate into its field.
  3. Choose a suitable date range option.
  4. Add another slicer using Region.
  5. Add a third slicer using Category.
  6. Arrange the slicers at the top or left side of the report.

Now users can select a particular date range, region or product category and see the relevant charts and figures update.

Example: If a user selects the North region, the sales figures and charts will show the information for that region, provided the visuals are connected to the relevant fields and relationships.

10. Design a Professional Sales Report

A professional report should be simple, attractive and easy to understand.

Follow these design tips:

  • Add the report title at the top.
  • Keep KPI cards in the first row.
  • Place the monthly sales chart in the middle.
  • Add category and regional charts below or beside it.
  • Keep slicers in a visible location.
  • Use consistent colours.
  • Avoid unnecessary visualizations.
  • Use readable fonts and clear titles.

Suggested report title:

Sales Performance Dashboard

A clean design helps users understand business performance quickly.

11. Publish and Share Your Power BI Report

Once your report is complete, you can publish it using Power BI Service.

Follow these steps:

  1. Save your project as a .pbix file.
  2. Sign in to Power BI Desktop with an account that has the required Power BI Service access.
  3. Open the Home tab.
  4. Click Publish.
  5. Select the destination workspace.
  6. Wait for publishing to finish.
  7. Open the report in Power BI Service.

Report vs Dashboard in Power BI

A Power BI report can contain multiple pages with interactive charts and visualizations.

A Power BI dashboard is generally a single-page canvas in Power BI Service containing pinned tiles from reports and other sources.

You can create a dashboard by pinning selected visuals from your published report, where your account and workspace permissions allow it.

Important: Sharing and collaboration may require the appropriate Power BI licence or workspace capacity. A published report is not automatically public. Avoid Publish to web for confidential information because it can make the report accessible to anyone on the internet.

12. Expected Project Output

After completing this project, your report should contain:

  • Total Sales
  • Total Orders
  • Total Profit
  • Profit Margin
  • Monthly Sales Trend
  • Sales by Category
  • Sales by Region
  • Top 5 Products
  • Date, Region and Category Filters

You will have created a practical business intelligence report using Power BI.

13. Common Power BI Errors and Solutions

Problem 1: Data Is Not Loading

Possible solutions:

  • Check whether the Excel or CSV file is accessible.
  • Confirm that the file is not damaged.
  • Check the selected worksheet or table.

Problem 2: Incorrect Date Format

Possible solutions:

  • Open Power Query Editor.
  • Select the OrderDate column.
  • Change its data type to Date.
  • Check that the source dates use a consistent format.

Problem 3: DAX Formula Shows an Error

Possible solutions:

  • Check the table name.
  • Check the column names.
  • Verify brackets and commas.
  • Make sure you are creating a measure rather than a calculated column.

Problem 4: Charts Are Not Responding to Slicers

Possible solutions:

  • Check whether the slicer and chart use related fields.
  • Review your data model relationships.
  • Open Format > Edit interactions.
  • Check whether the slicer is allowed to filter the visual.

Problem 5: Dashboard Totals Are Incorrect

Possible solutions:

  • Check for duplicate records.
  • Verify data types.
  • Review DAX formulas.
  • Confirm report and visual filters.

14. Frequently Asked Questions

Q1. Is Power BI suitable for beginners?

Yes. Beginners can start by importing Excel data, creating basic charts and building simple reports. With practice, they can learn Power Query, DAX and advanced reporting.

Q2. Is Power BI free to use?

Power BI Desktop is available as a free download. Some online sharing, collaboration and advanced service features require paid licensing or suitable workspace capacity.

Q3. What is Power Query in Power BI?

Power Query is a data preparation tool used to import, clean, transform and combine data before analysis.

Q4. What is DAX in Power BI?

DAX stands for Data Analysis Expressions. It is a formula language used to create measures, calculated columns and calculated tables.

Q5. What is a KPI in Power BI?

KPI stands for Key Performance Indicator. It measures important business results such as sales, profit, revenue growth and profit margin.

Q6. Can I use Excel data in Power BI?

Yes. Power BI can connect to Excel workbooks and import tables or worksheets for reporting and analysis.

Q7. What is the difference between a Power BI report and a dashboard?

A report can contain multiple pages and interactive visualizations. A dashboard is generally a single-page canvas created in Power BI Service using pinned tiles.

15. Conclusion

Creating an interactive Sales Dashboard is an excellent way to understand the practical applications of Microsoft Power BI.

In this project, we learned how to import sales data, clean it using Power Query, create DAX measures, build KPI cards, design charts and add interactive slicers.

These skills are useful for students and professionals who want to develop their careers in data analytics and business intelligence.

The best way to improve your Power BI skills is to practise with different datasets and create real-world projects.

Want to Learn Data Analytics and Power BI?

At Groot Institute of Technology, Zirakpur, students can develop practical technology and data analytics skills through structured learning and hands-on projects.

Explore our Data Analytics course to learn tools and techniques used in modern data analysis.

Groot Institute of Technology
Zirakpur, Punjab, India

Website: https://grootinstitute.com/

Explore our courses and take the next step towards building your technology career.

Courses related to this article

  • Data Analyst course at Groot Institute, Zirakpur

    Data Analyst

    Data Analyst Course (Advanced · 24 weeks)

  • Generative AI Neon Learning Poster

    Generative AI Course in Zirakpur

    Learn Generative AI, ChatGPT prompting and practical AI tools at Groot Institute of Technology, Zirakpur. (Beginner · 8 weeks)

  • Python course at Groot Institute, Zirakpur

    Python

    Analyze data, build models, and communicate insights with Python. (Beginner · 14 weeks)

Keep reading