Date: 2025-10-11
This article details the comprehensive development of a real-time business intelligence project—the Shopify Sales and Customer Funnel Report. Designed for a small-scale company utilizing the Shopify e-commerce platform, the dashboard provides deep analytical insights into transaction performance, customer behavior, and long-term customer value, enabling data-driven decision-making and supporting future business growth.
The Shopify platform serves as a vital e-commerce engine, allowing individuals and businesses globally to establish online stores, manage sales, process payments, and execute marketing activities. Due to security and data privacy restrictions, the project was executed using a high-level, sample/dummy dataset covering one week of sales in the United States, totalling 7,431 transaction rows.
The overarching goal was to transform this raw sales data into actionable business intelligence by designing an interactive dashboard focused on three primary areas:
The final output comprised two interconnected dashboards: a primary Complete Analysis Dashboard and a Details Tab designed for granular data inspection via drill-through functionality.
The project followed a structured methodology, progressing from requirement gathering and data walkthroughs through to DAX calculation and dashboard development.
Upon connecting the data (an Excel file) to Power BI, the Power Query Editor was used for necessary data quality assurance. Although the data was already cleaned, checks were performed to ensure 100% data validity and 0% errors across all columns. The project was built using a dark theme with green accents, chosen to align with the visual branding and colour palettes typically associated with the Shopify platform.
A critical implementation detail involved creating new columns using DAX to ensure geographical accuracy and detailed time analysis:
Location
was created. This concatenated the City
, Province
, and Country
(City
+ ,
+ Province
+ ,
+ Country
) to precisely guide Power BI in plotting the density and bubble maps, ensuring all locations were correctly situated within the US.Hour
column was generated using the DAX HOUR
function on the Invoice Date
field, enabling granular analysis of customer activity and sales volume throughout the 24-hour cycle.Customer Name
column was created by concatenating the first and last names of customers.The dashboard’s power derives from nine calculated Key Performance Indicators (KPIs), showcasing advanced DAX knowledge across three core business domains.
These metrics focus on high-level revenue and volume statistics, specifically utilising the Subtotal Price
field, which represents revenue before tax:
SUM('Subtotal Price')
.SUM(Quantity)
.AVERAGE('Subtotal Price')
, representing the average revenue per transaction.These required careful filtering to distinguish unique visitors from loyal customers:
DISTINCTCOUNT('Customer ID')
.CALCULATE
, COUNTROWS
, VALUES
, and FILTER
functions to count unique customers only if their distinct count of orders (Order Number
) was equal to one.> 1
), providing an indicator of customer loyalty and trust in the business.These metrics provide insights into long-term customer viability:
Net Sales / Total Customers
.Repeat Customers / Total Customers
.DISTINCTCOUNT('Order Number') / Total Customers
.A key technical learning from this project is the implementation of dynamic analysis across the dashboard elements.
A New Parameter named Select Measure
was created to allow users to switch between Net Sales, Total Quantity, Total Customers, and Repeat Customers. This parameter feeds all supporting visualizations, ensuring the entire dashboard adjusts instantaneously.
To complement this, dynamic chart titles were generated. This involved creating an intermediary calculated column (Dynamic Title
) using nested IF
statements based on the parameter’s order. Specific measures (Map Title
, Trend Title
, etc.) were then created using the SELECTEDVALUE
function to concatenate the selected metric name with a static text string (e.g., “by gateway payment method”), ensuring the titles are always accurate and descriptive of the current view.
The analysis dashboard featured five primary charts:
Regional Overview (Maps and Bar Chart):
Sales Trend Over Time:
Payment Method (Donut Chart): Analysed customer preference for payment gateways. The insight derived was that Shopify Payment was the most preferred method, accounting for over 50% of transactions, followed by PayPal, confirming high customer trust in the platform’s native payment system.
Product Type (Column Chart): Identified the highest-selling product categories. The analysis revealed that footwear—specifically running shoes, tennis shoes, and walking shoes—were the dominant revenue drivers, suggesting the company specialises in sports-related accessories or clothing.
The dashboard was refined using several advanced Power BI interaction features:
Net Sales
, Total Quantity
, Total Customers
, Repeat Customers
) to the drill-through pane. This allows stakeholders to click on a chart element (e.g., a city bubble or a peak hour column) and navigate instantly to the Details Tab, seeing the row-wise raw data responsible for that aggregate figure. This filtered data can then be exported for targeted operational use, such as providing specific city sales data to regional managers.Shopify Analysis
and Details Tab
dashboards, with the current tab being highlighted in green.Gateway
and Province
were added to the left-hand panel, providing flexible filter controls for the entire dashboard.In summary, the Shopify Sales and Customer Funnel Report serves as a comprehensive example of building an advanced, dynamic, and action-oriented BI solution, demonstrating expertise in complex DAX calculation, geo-spatial visualization, and robust interactivity design.