Kipi.ai / Case Studies / Industry Solution / Optimizing Sales Forecasting by Harnessing Snowflake Cortex and AI for Precision and Efficiency at RNDC

Optimizing Sales Forecasting by Harnessing Snowflake Cortex and AI for Precision and Efficiency at RNDC

Overview

Republic National Distributing Company (RNDC) is one of the leading wine and spirits distributors in the United States, with operations spanning 38 states and the District of Columbia. Given its extensive market presence and vast product portfolio, RNDC faces significant challenges in managing data and forecasting sales across various regions. The company’s ability to effectively predict sales is critical for optimizing inventory management, reducing operational costs, and improving service delivery. However, the scattered nature of its sales data made it difficult to harness data-driven insights for the future, necessitating a robust solution for sales forecasting at a granular level.

Business Challenge

RNDC operates in a highly dynamic and competitive market where sales can be influenced by a multitude of factors such as seasonal trends, consumer preferences, and economic conditions. The ability to accurately forecast sales is paramount for the company, as it directly impacts inventory management, resource allocation, and customer satisfaction. After migrating a large part of its enterprise data to the Snowflake platform, RNDC found that its Descriptive Analytics needs were fulfilled but Predictive Analytics wasn’t.

The key challenges faced by RNDC included:

  1. Scattered Sales Data: Even after the migration to Snowflake, some of the sales data remained siloed and unintegrated, complicating efforts to generate accurate forecasts using Snowflake.
  2. Lack of Granular Forecasting: RNDC needed to create a predictive model that could forecast sales at the most granular level—specifically at the daily level for individual beverage premise combinations.
  3. Inefficient Decision-Making: The absence of accurate, granular forecasts hindered RNDC’s ability to optimize inventory levels, leading to either overstock or stockouts, and affected overall operational efficiency.

To address these challenges, RNDC sought a solution that could integrate its diverse Sales data sources, enable detailed sales forecasting, and empower the business to make data-driven decisions.

Solution

RNDC partnered with kipi.ai’s team of data science experts to implement a comprehensive solution leveraging Snowflake’s time series forecasting capabilities. The solution was designed to address the specific needs of RNDC by providing granular sales forecasts that could be integrated into the company’s operational systems, thereby improving decision-making and operational efficiency.

The solution architecture included the following key components:

  1. Data Sources (Snowflake Tables):
    • Sales Data: This included detailed transaction records such as product IDs, customer IDs, quantities sold, and transaction dates, providing a comprehensive view of sales activity.
    • Customer Data: Information on customer segments, including business type, purchase frequency and volume was integrated to better understand demand patterns.
    • Product Data: Details on each product, including category, price, and seasonal variations, were crucial for creating accurate forecasts.
  2. Data Processing and Storage (Snowflake Tables and Views):
    • Data Integration Layer: This layer was responsible for combining data from various sources, ensuring it was clean, structured, and ready for processing.
    • Data Warehouse/Database: Historical sales, customer, and product data were stored in the Snowflake data warehouse, enabling complex queries and efficient data retrieval for analysis.
  3. Analytics and Modeling:
    • Feature Engineering Module: This module processed the integrated data to generate features suitable for modeling, such as aggregating sales by product and customer segment.
    • Forecasting Models: A multi-series forecasting model, based on the Gradient Boosting Machine (GBM) algorithm, was developed to predict daily sales for each beverage premise combination. This model allowed for the creation of separate forecasts for individual markets, taking into account local variations in demand.
  4. Output and Business Integration:
    • Reporting Tools: The forecasting results were visualized using advanced reporting tools, making it easy for business users to interpret the data and make informed decisions.
    • Operational Systems: The forecasts were integrated into RNDC’s supply chain management and CRM systems, enabling automated decision-making and real-time adjustments to inventory and resource allocation.
  5. Feedback Loop:
    • Model Monitoring and Updating: Continuous monitoring of model performance was implemented, with mechanisms in place to update the models based on new data and feedback. This ensured that the forecasts remained accurate and relevant over time.

Impact

The implementation of the Snowflake Cortex-based sales forecasting solution delivered substantial benefits to RNDC:

  1. Increased Sales Forecasting Accuracy: The ability to generate daily sales forecasts for individual markets significantly improved the accuracy of RNDC’s predictions. This granular forecasting enabled the company to anticipate demand more precisely
  2. Optimized Inventory Management: With accurate sales forecasts at their disposal, RNDC was able to optimize inventory levels, ensuring that the right products were available at the right time in the right quantities. This not only minimized waste but also enhanced the company’s ability to meet customer demand promptly.
  3. Enhanced Resource Management: The integration of sales forecasts into RNDC’s operational systems allowed for more efficient resource allocation. The company could better plan for production, distribution and staffing needs based on anticipated sales, improving overall operational efficiency.
  4. Improved Market Responsiveness: The detailed and accurate forecasts provided RNDC with the agility to respond quickly to market changes. Whether it was adjusting to seasonal demand fluctuations or shifting consumer preferences, RNDC was better equipped to adapt and maintain its competitive edge.
  5. Empowered Decision-Making: By making sales data more accessible and actionable, the solution empowered RNDC’s business users to make informed decisions based on reliable data insights. This shift towards data-driven decision-making had a positive impact across the organization, fostering a culture of innovation and continuous improvement.

Conclusion

The case of RNDC highlights the transformative power of advanced data analytics and AI-driven forecasting in the distribution industry. By implementing a tailored solution that leverages Snowflake’s ML capabilities like Cortex, RNDC was able to overcome the challenges of scattered data and achieve a new level of accuracy in sales forecasting. The result was not only improved operational efficiency but also a stronger ability to serve its customers and respond to market dynamics. This case study underscores the importance of integrating advanced technology into business processes, enabling companies like RNDC to stay ahead in a competitive market and drive sustained growth.

September 04, 2024