Skip to content

tinyazure/velocity_metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

🚀 B2B Opportunity Managment:

Velocity Dashboard - Sales Operation

Table of Contents

Overview

Overview

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

Model Overview

This tabular model demonstrates enterprise-level data modeling with advanced DAX calculations, proper relationships, and business intelligence best practices.

Tables

Salespipeline (Fact Table)

Central transaction table tracking all sales opportunities with:

  • opportunity_id - Unique opportunity identifier
  • sales_agent - Sales representative handling the opportunity
  • product - Product being sold
  • account - Customer account
  • deal_stage - Current stage (Won/Lost/Prospecting/etc.)
  • engage_date - Date opportunity was initiated
  • close_date - Date opportunity closed
  • close_value - Deal amount ($)

Accounts (Dimension)

Customer account information:

  • account - Account name
  • sector - Industry sector
  • year_established - Year company was founded
  • revenue - Annual revenue
  • employees - Headcount
  • office_location - Primary office location
  • subsidiary_of - Parent company relationship

Products (Dimension)

Product catalog:

  • product - Product name
  • series - Product line/series
  • sales_price - List price

Salesteams (Dimension)

Sales organization structure:

  • sales_agent - Agent name
  • manager - Direct manager
  • regional_office - Office assignment

📈 Key Measures

Revenue & Deal Metrics

  • sales_revenue - Total revenue from won deals
  • Average_Deal_Amount - Average deal size for won opportunities
  • deals_active_customers - Count of customers with won deals

Opportunity Metrics

  • total_oportunities - Total count of all opportunities
  • won_opportunities - Count of deals marked as Won
  • lost_opportunities - Count of deals marked as Lost
  • closed_opportunities - Combined count of Won + Lost deals

Performance KPIs

  • Win Rate - Percentage of closed deals that were won
  • SalesCicle - Average days from engagement to close (closed deals only)

Calculated Columns

  • SalesCicleCC - Computed sales cycle using DATEDIFF for all rows

🚀 Usage in Power BI

Recommended Visualizations

  • 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

Typical Analysis Patterns

  1. Sales Performance: Filter by sales_agent, measure by sales_revenue
  2. Pipeline Health: Compare won_opportunities vs. lost_opportunities by sector
  3. Cycle Efficiency: Analyze SalesCicle trends by product or team
  4. Customer Insights: Revenue by account sector and established year

📝 Data Lineage

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

🔧 Technical Specifications

Data Model Configuration

  • 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)

DAX Patterns Used

  • CALCULATE - Context modification for measures
  • DISTINCTCOUNT - Unique value counting
  • DATEDIFF - Temporal calculations
  • DIVIDE - Safe division with blank handling
  • AVERAGEX - Row-by-row calculations

💡 Business Insights Enabled

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

link_to_pbi_dashboard

About

This project showcases a sales operations Velocity Dashboard in Power Bi. Designed to track sales velocity, I utilized a public B2B ficticious dataset as the source of data, Google BigQuery for data warehousing and Power BI for advanced data modeling, DAX measure creation, and interactive visualization.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors