About the ClientΒ
Kent is one of Indiaβs most recognized names in the manufacturing and distribution sector. With multiple plants, warehouses, and sales networks, the company operates on a scale where data drives nearly every decision. From monitoring inventory in real time to aligning production with sales, accurate reporting is what keeps the entire engine running smoothly.
For years, Kent relied on on-premises SQL Server reporting. Stored procedures generated monthly reports that worked fine when data volumes were smaller. But as the company grew, reports became slow, manual, and resource-heavy.
The real gap, however, was in customer and sales visibility. While Salesforce CRM captured sales pipelines, opportunities, and customer cases, that information lived in its own silo. Operational data lived elsewhere. Sales leaders and operations managers were often working with two different pictures.
Kentβs leadership realized they needed a unified reporting systemβone that could combine Salesforce CRM data with local SQL Server data into a single, cloud-based platform. The goal was simple: faster reporting, real-time pipeline visibility, and interactive dashboards that empowered teams across the business.
ChallengesΒ
Kentβs challenges were both technical and organizational:
- Slow Report Processing
Reports ran for hours, delaying decision-making. By the time results were available, the data was already outdated.
- Manual Dependency
Teams had to trigger stored procedures and manually prepare outputs. This wasted valuable time and created room for errors.
- Scalability Issues
Expanding the reporting scope or adding new KPIs was complicated and slow. The old system wasnβt built for scale.
- Static Outputs
Reports were flat filesβPDFs or Excel sheetsβwith no ability to drill down or interact with data.
- Database Strain
Running reports directly on the transactional SQL Server affected system performance.
- Siloed CRM Data
Salesforce held critical customer and pipeline information, but it was not connected to operational reporting. Leaders couldnβt see sales forecasts and production numbers together in a single dashboard.
ObjectivesΒ
Kentβs modernization program was built around six clear goals:
- Automated Cloud Reporting β Replace manual reporting with fully automated data pipelines.
- Unified Data Sources β Sync data from both Salesforce CRM and local SQL Server into a single cloud-based system.
- 360Β° Business View β Combine operational data (inventory, production, sales) with CRM data (pipeline, opportunities, cases).
- Interactive Dashboards β Build Power BI dashboards for self-service analytics, plus a custom reporting dashboard for leadership.
- Performance Optimization β Free the transactional SQL Server from reporting workloads.
- Future-Ready Foundation β Create an architecture ready for AI forecasting and real-time dashboards.
Implementation StrategyΒ
The solution was designed on Azure + Databricks + Power BI, following the Bronze β Silver β Gold data architecture:
- Bronze Layer β Raw copies of data from Salesforce CRM and SQL Server.
- Silver Layer β Cleaned, standardized, and structured datasets.
- Gold Layer β Business-ready KPIs and curated datasets powering dashboards.
Both Salesforce CRM data and local SQL Server data were continuously synced into Azure Data Lake through Azure Data Factory (ADF). From there, Databricks handled transformations, while Delta Lake optimized storage and querying.
Dashboards were delivered via Power BI for analysts and managers and a custom reporting dashboard for executives, giving two levels of insight from the same unified data foundation.
Azure End-to-End Reporting Architecture
Salesforce and On-Premise SQL Server data flow into Azure Data Factory for ingestion, are processed through Databricks and Delta Lake (Bronze-Silver-Gold layers), and then power both Power BI dashboards and custom reporting dashboards for leadership.
This approach ensured scalability, governance, and clear separation between raw ingestion, transformation, and business-ready data.
Key Features & ModulesΒ
1. Data Ingestion & Storage
- Used ADF with Self-Hosted Integration Runtime to securely extract SQL Server data without exposing it to the internet.
- Connected to Salesforce CRM with the ADF Salesforce connector, enabling incremental updates.
- Built parameterized pipelines for 15+ SQL Server tables and Salesforce objects.
- Stored raw data in Azure Data Lake Storage Gen2 with fine-grained access control.
2. Unified CRM + Local DB Sync
- Configured incremental sync from Salesforce (Leads, Opportunities, Accounts, Cases) and SQL Server (inventory, sales, production).
- Ensured updates were captured in near real time, keeping dashboards always fresh.
- Merged Salesforce and SQL data in Databricks to generate cross-functional KPIs such as:
– Pipeline vs Production Capacity
– Lead Conversion Trends
– Customer Cases vs Sales Impact
– Regional Sales vs Inventory Levels
3. Data Processing β Bronze, Silver, Gold Layers
- Bronze: Raw Salesforce and SQL data stored in Parquet.
- Silver: Cleaned, standardized data with schema alignment.
- Gold: Business logic applied in Databricks SQL + PySpark, rebuilding legacy stored procedures and deriving new KPIs.
4. Performance Optimization
- Converted datasets into Delta tables with partitioning for faster queries.
- Applied Z-ORDER indexing to optimize lookups by transaction date and item code.
- Used serverless SQL endpoints for ad-hoc queries and job clusters for scheduled loads.
- Automated orchestration with ADF triggers.
5. Reporting & Analytics
Power BI Dashboards:
- Gave business teams self-service access.
- Enabled drill-downs by warehouse, region, or sales rep.
- Built on a star schema for consistency and speed.
Custom Reporting Dashboard:
- Designed specifically for executives.
- Showed consolidated KPIs at a glance.
- Focused on clarity and decision-ready summaries rather than deep analysis.
Technology StackΒ
Execution ProcessΒ
- Timeline: 2.5 months
- Team: Dedicated Cloud Data Engineering Squad
Phases:
- Discovery β Assessed SQL Server schema, Salesforce objects, and reporting needs.
- Ingestion Setup β Built secure pipelines for SQL Server + Salesforce CRM.
- Transformation β Implemented Bronze-Silver-Gold model in Databricks.
- KPI Development β Rebuilt legacy logic and created new unified KPIs.
- Dashboard Development β Delivered Power BI dashboards and a custom reporting dashboard.
- Testing & Rollout β Conducted UAT, optimized queries, deployed monitoring.
Results & Impact
The new system delivered immediate, measurable value:
- 90% Faster Reports β From hours to minutes.
- Zero Manual Work β Fully automated pipelines for SQL + Salesforce data.
- Unified View β Combined ERP and CRM data for the first time.
- Real-Time CRM Insights β Salesforce data synced into dashboards within minutes.
- Tiered Dashboards β Power BI for deep analysis, custom dashboard for leadership summaries.
- Better System Performance β SQL Server freed from reporting workloads.
Future ScopeΒ
Kentβs roadmap includes:
- Streaming Salesforce Events β Using Event Hub for real-time dashboards.
- AI Forecasting β Predicting demand, pipeline conversions, and anomalies with Databricks ML.
- Expanded Dashboards β Covering HR, finance, and customer service.
- 360Β° Customer Insights β Adding Salesforce Marketing and Service Cloud for a full customer lifecycle view.
Key TakeawaysΒ
- Kentβs legacy SQL-based reporting slowed down decisions and siloed Salesforce data.
- Syncing Salesforce CRM and SQL Server data into Azure created a single source of truth.
- The layered Bronze-Silver-Gold architecture ensured scalability and governance.
- A dual-dashboard strategy (Power BI + custom leadership dashboard) gave the right level of detail to the right users.
- Kent is now positioned for real-time analytics and AI-driven decision-making.