Analysis updated 2026-05-18
Study SQL techniques like window functions and CTEs applied to a real e-commerce dataset.
Learn how to build RFM customer segmentation from order data.
See an example Power BI executive and customer analytics dashboard layout.
Reference example SQL queries for sales, seller, and delivery performance analysis.
| ankitsharma071/brazilian-e-commerce-analytics-powerbi-sql | 0xkinno/neuralvault | 0xlocker/d17-contracts | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | — | TypeScript | Solidity |
| Setup difficulty | easy | hard | hard |
| Complexity | 1/5 | 4/5 | 5/5 |
| Audience | data | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Needs MySQL to run the SQL scripts and Power BI Desktop to open the .pbix dashboard file.
This repository is a business analytics portfolio project built around a public dataset of over 100,000 real orders from Olist, a Brazilian online marketplace. It combines MySQL for data analysis with Power BI for building interactive dashboards, turning raw order and customer records into a set of readable business reports. The project centers on two dashboards. An executive dashboard reports overall numbers such as total revenue, total orders, average order value, total customers, and average review score. A customer analytics dashboard digs deeper into behavior, tracking active customers, how many customers come back to buy again, average spend per customer, and how recently customers have purchased. Alongside these, the project applies RFM segmentation, a common marketing technique that groups customers by how Recently, Frequently, and how much Money they have spent, sorting them into labels like Champions, Loyal, New, Regular, and At-Risk. The SQL work behind the dashboards covers several areas: sales trends by month, state, and product category, customer lifetime and repeat purchase patterns, freight cost and delivery time analysis by product category, and seller performance including revenue and ratings. To build these, the author uses joins, common table expressions, SQL views, case statements, window functions, and ranking functions like NTILE and DENSE_RANK. Some of the specific findings reported are that only 3.12 percent of customers are repeat buyers, that logistics heavy product categories carry noticeably higher freight costs, and that the top 544 sellers generate 80 percent of total marketplace revenue, following the well known 80/20 pattern seen in many businesses. The repository is organized into a dashboard folder holding the Power BI file, an images folder with dashboard screenshots, and a SQL files folder containing separate scripts for sales, RFM, product, seller, and customer analysis. It is presented by the author, a mechanical engineering undergraduate, as a portfolio piece demonstrating SQL and business intelligence skills rather than a tool meant to be installed or run as software.
A portfolio project combining MySQL analysis and Power BI dashboards to explore a Brazilian e-commerce dataset, including customer segmentation and sales insights.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly data.
This repo across BitVibe Labs
Verify against the repo before relying on details.