- Introduction
- Key Features
- Technologies Used
- Data Sources
- Data Cleaning and Preparation
- Data Modeling
- Data Transformation
- Dashboard Design and Visualization
- DAX Calculations
- How to Use
- Results and Insights
- Skills Demonstrated
- Visual Gallery
- Contact
The Online Retail Purchase Patterns Dashboard provides a detailed, interactive analysis of retail sales from 2010–2011. It empowers business users to explore revenue drivers, customer behavior, product trends, and geographic sales performance.
- KPI cards summarizing total sales, customer count, and invoices.
- Top-selling product ranking with conditional formatting.
- Geographic sales mapping.
- Year and month slicers for dynamic filtering.
- Advanced DAX calculations including % of total sales and ranking.
- Interactive tooltips displaying key insights.
- Clean, professional dark theme with optimized layout.
- Tools: Power BI, Microsoft Excel, Power Query
- Languages: DAX (Data Analysis Expressions)
- Data Source: Kaggle Online Retail dataset (2010–2011)
Primary Source
- Excel workbook (uploaded manually to Power BI)
Extraction Method
- Imported directly into Power BI Desktop.
Access
- File included in this repository:
online retail purchase patterns dashboard.pbix
- Raw Dataset:
datasets/online_retail_raw.xlsx
- Cleaned Dataset:
datasets/online_retail_cleaned.xlsx
- Removed ~5,231 duplicate rows.
- Removed rows with null Customer IDs or invalid dates.
- Filtered out negative quantities and non-standard entries.
- Converted data types for accuracy (dates, numeric fields).
- Created year, month, and day columns for time analysis.
Tools Used: Excel, Power Query
- Model: Flat, single-table model for performance and simplicity.
- Relationships: Single fact table (
Year 2010–2011
). - Calculated Columns:
YearOnly
(extracted from InvoiceDate).
- Hierarchies: Year > Quarter > Month > Day.
Performed in Power Query:
- Removed empty and duplicate rows.
- Filtered invalid quantities.
- Validated data types.
- Created date hierarchy columns for time-based filtering.
Layout Principles
- KPI Summary Row: Total Sales, Customers, Invoices.
- Main Charts:
- Bar chart for top products.
- Area chart for monthly sales.
- Map visual for geographic sales.
- Line chart for customer sales trends.
- Slicer Panel: Year and month filters.
- Interactivity: Tooltips, cross-filtering, dynamic slicers.
Design Best Practices
- Dark theme for high contrast.
- Minimal clutter and consistent color scheme.
- Tooltips to enhance user experience.
Measure | Formula | Purpose |
---|---|---|
% of Total Sales | DIVIDE(SUM([TotalPrice]), CALCULATE(SUM([TotalPrice]), ALL('Year 2010-2011'))) |
Product’s share of total revenue. |
Product Sales Rank | RANKX(ALL('Year 2010-2011'[Description]), CALCULATE(SUM([TotalPrice])), , DESC) |
Rank products by revenue. |
Average Order Value | DIVIDE(SUM([TotalPrice]), DISTINCTCOUNT([Invoice])) |
Average value per order. |
Avg Quantity per Order | DIVIDE(SUM([Quantity]), DISTINCTCOUNT([Invoice])) |
Average items per order. |
YearOnly | YEAR([InvoiceDate]) |
Extracted year for filtering. |
- Clone or download this repository.
- Open
online retail purchase patterns dashboard.pbix
in Power BI Desktop. - Use slicers to filter data by year or month.
- Hover over visuals to view detailed tooltips including % of total sales and product rank.
- Top-selling product: DOTCOM POSTAGE (0.02% of total revenue).
- Peak sales months: November and December.
- Largest market: Canada.
- Sales trends showed significant seasonal increases in Q4.
- Data cleaning and preparation (Excel, Power Query).
- Data modeling and DAX calculations.
- Advanced visual design and conditional formatting.
- Interactive dashboard development.
- Comprehensive project documentation.
- Problem-solving and troubleshooting.
LinkedIn: Prince Uwagboe
Email: [email protected]