| Velocity Dashboard | KPI's to be replicated |
|---|---|
Ckick here to Browse the Velocity Dashboard |
The report is based on key performance indicators (KPIs) relevant to the eCommerce industry. For this project, the following four KPIs will be queried and analyzed using SQL and Google BigQuery Public dataset: 1. Revenue and Year-over-Year Revenue Growth 2. Number of Unique Buyers 3. Purchases per Second (calculated on a daily basis) 4. Deliveries completed in under 48 hours |
This tabular model demonstrates enterprise-level data modeling with advanced DAX calculations, proper relationships, and business intelligence best practices.
Central transaction table tracking all sales opportunities with:
opportunity_id- Unique opportunity identifiersales_agent- Sales representative handling the opportunityproduct- Product being soldaccount- Customer accountdeal_stage- Current stage (Won/Lost/Prospecting/etc.)engage_date- Date opportunity was initiatedclose_date- Date opportunity closedclose_value- Deal amount ($)
Customer account information:
account- Account namesector- Industry sectoryear_established- Year company was foundedrevenue- Annual revenueemployees- Headcountoffice_location- Primary office locationsubsidiary_of- Parent company relationship
Product catalog:
product- Product nameseries- Product line/seriessales_price- List price
Sales organization structure:
sales_agent- Agent namemanager- Direct managerregional_office- Office assignment
sales_revenue- Total revenue from won dealsAverage_Deal_Amount- Average deal size for won opportunitiesdeals_active_customers- Count of customers with won deals
total_oportunities- Total count of all opportunitieswon_opportunities- Count of deals marked as Wonlost_opportunities- Count of deals marked as Lostclosed_opportunities- Combined count of Won + Lost deals
Win Rate- Percentage of closed deals that were wonSalesCicle- Average days from engagement to close (closed deals only)
SalesCicleCC- Computed sales cycle using DATEDIFF for all rows
- KPI Cards: Win Rate, Average Deal Amount, Sales Revenue
- Line Charts: Revenue trends by month/quarter
- Funnel Chart: Deal progression through stages
- Scatter Plot: Deal value vs. sales cycle days
- Table: Opportunity details with agent/account names
- Sales Performance: Filter by sales_agent, measure by sales_revenue
- Pipeline Health: Compare won_opportunities vs. lost_opportunities by sector
- Cycle Efficiency: Analyze SalesCicle trends by product or team
- Customer Insights: Revenue by account sector and established year
Data Flow:
Google BigQuery (crmsalespipeline dataset)
└── Public relations tables:
├── accounts
├── products
├── salespipeline (with transformations)
├── salesteams
Power Transformations:
- Product name standardization (GTXPro → GTX Pro)
- Date formatting for fiscal analysis
- Aggregation calculations for KPIs
- Fact Table Grain: One row per opportunity
- Time Dimension: Automatic calendar tables
- Relationship Type: One-to-Many (dimensional relationships)
- Filter Direction: Single direction (from dimensions to facts)
- CALCULATE - Context modification for measures
- DISTINCTCOUNT - Unique value counting
- DATEDIFF - Temporal calculations
- DIVIDE - Safe division with blank handling
- AVERAGEX - Row-by-row calculations
This model supports comprehensive sales analytics:
- Win/Loss Analysis - Understand conversion rates by segment
- Territory Performance - Compare results across regions
- Product Analysis - Revenue and volume by product line
- Team Efficiency - Sales cycle and win rate by agent/manager
