Select Page

Case Study

12/26/2024
Microsoft Fabric | Retail

Migrating On-Premises MySQL & Google Sheets Data to Microsoft Fabric for Real-Time Data Integration and Analytics

A pioneering company in India’s fresh produce supply chain is revolutionizing how fruits and vegetables reach rural communities.
NicePng_pdf-icon

The Client

A pioneering company in India’s fresh produce supply chain is revolutionizing how fruits and vegetables reach rural communities.

Challenges Faced by the Client

The organization faced significant challenges due to the generation of vast amounts of data from various sources, which were hindered by data silos. Data from MySQL databases and Google Sheets remained disconnected, complicating integration and analysis. This resulted in a lack of coherent insights essential for tracking and optimizing key operations, such as inventory management and sales performance.

Complex Data Structures:

Many datasets included complex JSON-formatted columns, adding layers of difficulty to data processing. This complexity made it challenging to extract meaningful insights and slowed down decision-making.

Lack of Real-Time Data Access:

Real-time data was inaccessible, limiting the organization’s ability to respond quickly to business needs. Reporting was done during non-peak hours, often resulting in outdated data when it was most needed for operational decisions.

Manual Data Flattening:

The team faced significant challenges with manual data flattening in PostgreSQL, which was done on a weekly basis. This process consumed valuable time and led to inefficiencies in data storage, as it was slow and prone to errors.

Inefficient Reporting and Analysis:

Reporting was delayed, with data analysis occurring only after a significant lag (the next day). This delay in insights prevented the organization from utilizing the data to its full potential, impacting its ability to make quick business decisions, especially during peak hours.

Real-Time Tracking for Fraud Detection and Efficiency: Enhanced monitoring of driver performance, speed, inventory discrepancies, and route deviations reduced fraud and optimized supply chain operations.

Revenue and Customer Experience Improvements: Real-time dashboards tracked revenue, operational metrics, and delivery progress, ensuring faster deliveries, increased transparency, and improved customer satisfaction.

Solutions

UBTI proposed migrating the client’s data infrastructure to Microsoft Fabric, creating a unified platform for real-time analytics and seamless data integration. Key steps included:

  1. Real-Time Data Integration
  • Ingested streaming data into Microsoft Fabric’s KQL database every 5 minutes during peak hours for real-time analytics.
  • Integrated daily and historical data through the Medallion Architecture into the Lakehouse during nightly jobs.
  • Provided a comprehensive view of operations for informed decision-making.
  • Implemented detailed logging for data loads and sent alerts via email for job failures.
  1. Automated Data Flattening
  • Automated the previously manual and time-consuming process of flattening data in PostgreSQL within Fabric.
  • In KQL, flattening was handled automatically, and in the Lakehouse, we used PySpark notebooks to flatten the data.
  • Improved efficiency and resolved storage issues using a scalable and optimized format.
  1. Real-Time Reporting & Dashboards

Built real-time dashboards refreshed every 5 minutes, enabling operational teams to make quick, data-driven decisions, enhancing business agility, and eliminating reporting delays.
Some of the key reports include:

  • Terminal Status & Performance:
    • Monitor terminal status, active users, operational health, and downtime.
    • Highlight terminals missing Full Product Activation (FPA).
  • Speed & Tracking:
    • Measured average performance speed and displayed the latest data.
    • Analyzed tracking accuracy and operational issues.
  • Jingle Metrics:
    • Tracked total jingle playtime and counted plays per terminal.
  • Revenue & Bhumi Blessings:
    • Monitored revenue and track received, verified, and new Bhumi blessings.
  • Operational Efficiency:
    • Measure Operational Time Ratio (OTR) and monitor inventory discrepancies.
  1. Alerts and Notifications
  • Integrated Data Activator to send real-time alerts via Microsoft Teams and Outlook.
  • Proactive notifications allowed teams to address inventory and sales issues instantly.
  1. External Data Sharing with GraphQL API
  • Implemented role-based access controls to secure data.
  • Developed a GraphQL API to securely share real-time and historical data with external systems.

Enabled flexible data querying and integration while maintaining control over data access.

"Migrating

Solutions Benefits

By moving to Microsoft Fabric, the client experienced several significant improvements:

  1. Unified Data Management: Fabric provided a centralized data platform, eliminating data silos. This unification of data from various sources allowed for more accurate analysis and reporting.
  2. Real-Time Data Access and Analytics: With real-time data processing, the organization could access up-to-date information at any time, especially during peak operational hours. The ability to analyze data as it arrived enabled a swift response to business needs.
  3. Faster Decision-Making: The ability to analyze data in real-time helped operational teams make quicker and more informed decisions. They could now monitor inventory and sales performance dynamically, rather than relying on outdated reports from the previous day.
  4. Reduced Time and Effort on Data Management: The automated flattening of data eliminated time-consuming manual processes and storage inefficiencies. This allowed the team to focus more on analyzing the data rather than preparing it.
  5. Enhanced Operational Efficiency: With the Tracking Report and real-time dashboards, teams gained end-to-end visibility into their operations. This transparency allowed them to identify inefficiencies and optimize processes quickly, with real-time alerts ensuring immediate attention to any operational issues.
  6. Scalability and Flexibility: The scalable architecture of Microsoft Fabric enabled the organization to handle increased data volumes as the business grew, providing the flexibility to adapt to evolving business needs.
  7. External data Sharing using GraphQL APIs: By leveraging GraphQL APIs, the application team could access flattened data directly for reporting, eliminating the need for additional development efforts.

This successful implementation highlights Microsoft Fabric’s capability to drive business transformation and demonstrates UBTI’s proficiency in delivering outstanding data solutions.

About UBTI

We make software that breaks through.

UBTI is a technology company helping empower and transform our partners’ businesses through data, app, and cloud solutions.

Whatever your challenges – siloed data, manual processes, outdated technologies, or a need to modernize – we are the expert partners to help you break through and unleash the full potential of your technology and your business.

Together, let’s solve your core business problems to accelerate your innovation.

Explore more case studies

Attorneys Now Review Case Evidence Faster with UBTI’s AI-Powered Automation

The client is a legal services firm that provides representation and advisory support across a range of personal and business matters. Serving individuals, families, and organizations, they are known for their client-focused approach and commitment to helping clients handle complex legal situations with confidence. With extensive experience in litigation, case management, and legal advisory services, the firm works closely with clients to develop informed strategies and deliver reliable counsel.

read more

Delivering Real-Time Commercial Insights Through Conversational AI Analytics

The client is a popular beverage company that manages and grows a diverse portfolio of consumer-focused brands across multiple markets and distribution networks. They work closely with distributors, retailers, and on-premises & off-premises business partners to strengthen market presence and meet evolving consumer preferences. The brand is known for its customer-first approach, entrepreneurial mindset, and emphasis on building premium beverage experiences.

read more

UBTI Enhances HR and Payroll Management with Bulk Processing and Controlled Automation

The client is a non-profit organization focused on supporting disadvantaged communities through education, healthcare, economic empowerment, and community development initiatives. With operations spanning multiple communities, the organization works to improve the lives of children and families by providing access to education, skills development, healthcare services, and social support programs.

read more