<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Opeyemi Afolabi on Medium]]></title>
        <description><![CDATA[Stories by Opeyemi Afolabi on Medium]]></description>
        <link>https://medium.com/@aopeyemi072?source=rss-a76829a3f3ec------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*amEs6kE-UAtopI7A</url>
            <title>Stories by Opeyemi Afolabi on Medium</title>
            <link>https://medium.com/@aopeyemi072?source=rss-a76829a3f3ec------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 10:43:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aopeyemi072/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Pizza Sales Analysis Using Microsoft Excel]]></title>
            <link>https://medium.com/@aopeyemi072/pizza-sales-analysis-using-microsoft-excel-6ef6dcce9c68?source=rss-a76829a3f3ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ef6dcce9c68</guid>
            <category><![CDATA[pizza]]></category>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[sales]]></category>
            <dc:creator><![CDATA[Opeyemi Afolabi]]></dc:creator>
            <pubDate>Wed, 20 Aug 2025 12:09:34 GMT</pubDate>
            <atom:updated>2025-08-20T12:09:34.240Z</atom:updated>
            <content:encoded><![CDATA[<p>Pizza Sales Analysis Using Microsoft Excel</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-4EGXius3xe1zeq7" /><figcaption>Photo by <a href="https://unsplash.com/@briewilly?utm_source=medium&amp;utm_medium=referral">Chad Montano</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Introduction</h3><p>In today’s data-driven world, businesses thrive on insights derived from accurate analysis. To demonstrate the power of data visualization, I developed an interactive <strong>Excel Dashboard</strong> analyzing a Pizza Sales Dataset. This dashboard provides actionable insights into customer behavior, sales performance, and revenue distribution across different pizza categories and types.</p><p>The goal was to transform raw sales data into a clear, visual story that decision-makers can rely on to boost sales strategies, optimize offerings, and improve customer satisfaction.</p><h3>Objectives</h3><p>The main objectives of this dashboard were:</p><ul><li>To track <strong>total orders, quantity sold, and revenue performance</strong>.</li><li>To analyze customer preferences across <strong>pizza types, categories, and sizes</strong>.</li><li>To identify <strong>top-performing pizzas</strong> based on revenue and order frequency.</li><li>To evaluate customer behavior by <strong>time of day</strong> and <strong>day of the week</strong>.</li><li>To generate actionable recommendations for better business decision-making.</li></ul><h3>Work Done</h3><p><strong>Data Cleaning &amp; Preparation</strong></p><ul><li>I cleaned raw transaction data in Excel (removed duplicates, corrected formats, ensured consistency).</li><li>I created calculated fields for total revenue, order counts, and average unit prices.</li></ul><p><strong>Dashboard Design</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4y7Sb3THK8dRs6UvrrrAdQ.png" /><figcaption>Page One</figcaption></figure><ul><li>I built interactive slicers for filtering by <strong>day of the week, time of day, and pizza category</strong>.</li><li>I designed visual elements, including bar charts, line graphs, and donut charts.</li><li>I summarized key metrics, including <strong>Total Orders (48,620), Total Quantity Sold (49,574), and Total Price ($801,944.70)</strong>.</li></ul><p><strong>Visualization Highlights</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z3vK6b0MX4f0oa_YaOcjsg.png" /><figcaption>Page Two</figcaption></figure><ul><li><strong>Revenue by Pizza Category: </strong>Classic pizzas generated the highest revenue at $220K+.</li><li><strong>Most Popular Pizza: </strong>Classic pizzas lead with 14.9K orders, followed by Chicken and Veggie.</li><li><strong>Customer Preferences by Size: </strong>Large pizzas dominated orders with over 19K sales.</li><li><strong>Top Revenue-Generating Pizzas</strong>: The Barbecue Chicken Pizza and Thai Chicken Pizza were standout performers.</li><li><strong>Orders by Time of Day: </strong>Evenings had the highest orders, making it the prime sales window.</li></ul><h3>Insights and Recommendations</h3><h3>Key Insights</h3><ul><li><strong>Weekdays outperform weekends</strong> in terms of sales, with 72% of orders placed during the week.</li><li><strong>Classic and Supreme categories</strong> bring in the bulk of revenue, showing strong customer preference.</li><li><strong>Evenings account for the highest number of orders (22.5K)</strong>, highlighting peak business hours.</li><li><strong>Large-sized pizzas dominate sales</strong>, indicating strong customer demand for value portions.</li><li><strong>Premium pizzas like Thai Chicken and Barbecue Chicken</strong> generate the highest revenue despite higher prices.</li></ul><h3>Recommendations</h3><ol><li><strong>Focus on Evenings &amp; Weekdays: </strong>Strengthen marketing campaigns and promotions during these peak hours to maximize returns</li><li><strong>Promote High-Revenue Pizzas: </strong>Bundle Thai Chicken and Barbecue Chicken pizzas with sides or drinks to increase basket value.</li><li><strong>Optimize Menu for Popular Sizes: </strong>Stock more large-size ingredients, as they drive most sales.</li><li><strong>Enhance Weekend Sales</strong>: Introduce family discounts or weekend specials to balance weekday vs. weekend performance.</li><li><strong>Customer Segmentation: </strong>Use customer data to create loyalty programs that reward repeat buyers of high-value pizzas.</li></ol><p>If you found this analysis insightful, I’d love to hear your thoughts in the comments.<br> Follow me on <a href="#"><strong>LinkedIn</strong></a><strong>: </strong><a href="https://www.linkedin.com/in/opeyemi-afolabi-data-analyst-creative-designer/"><strong>Opeyemi Afolabi</strong></a><strong> </strong>and <a href="#"><strong>X</strong></a><strong>: </strong><a href="https://x.com/oopey3mii"><strong>Oopey3mii</strong></a><strong> </strong>for more data analysis projects, dashboards, and business insights.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ef6dcce9c68" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HR Attrition Analysis: A Data-Driven Approach to Employee Retention]]></title>
            <link>https://medium.com/@aopeyemi072/hr-attrition-analysis-a-data-driven-approach-to-employee-retention-443a6dbeee4b?source=rss-a76829a3f3ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/443a6dbeee4b</guid>
            <category><![CDATA[hr]]></category>
            <category><![CDATA[staffing-and-recruiting]]></category>
            <category><![CDATA[employees]]></category>
            <dc:creator><![CDATA[Opeyemi Afolabi]]></dc:creator>
            <pubDate>Wed, 13 Aug 2025 13:16:37 GMT</pubDate>
            <atom:updated>2025-08-13T13:16:37.272Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>HR Attrition Analysis: A Data-Driven Approach to Employee Retention</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9NBnj6ILqDWslEX3" /><figcaption>Photo by <a href="https://unsplash.com/@campaign_creators?utm_source=medium&amp;utm_medium=referral">Campaign Creators</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Introduction</h3><p>In today’s competitive business landscape, employee retention has become one of the most critical challenges facing organizations worldwide. High attrition rates not only impact operational efficiency but also significantly affect an organization’s bottom line through increased recruitment costs, training expenses, and knowledge loss.</p><p>This comprehensive HR Attrition Analysis presents a deep dive into workforce dynamics, examining key factors that influence employee retention and identifying strategic opportunities for improvement. Using advanced data visualization and analytics, this study transforms complex HR data into actionable insights that can drive meaningful organizational change.</p><p>The analysis encompasses a workforce of 1,470 employees across multiple departments, job levels, and demographic segments, providing a holistic view of attrition patterns and their underlying drivers.</p><h3>Objectives</h3><p>This HR Attrition Analysis was designed to achieve the following strategic objectives:</p><ul><li><strong>Quantify Attrition Impact</strong>: Measure the current attrition rate and understand its financial implications across the organization</li><li><strong>Identify Risk Patterns</strong>: Analyze demographic, professional, and geographic factors that contribute to employee turnover</li><li><strong>Assess Promotion Readiness</strong>: Evaluate the pipeline of employees ready for advancement and potential retention strategies</li><li><strong>Department-wise Analysis</strong>: Examine attrition patterns across different departments to identify high-risk areas</li><li><strong>Demographic Insights</strong>: Understand how gender, marital status, and educational background influence retention</li><li><strong>Performance Correlation</strong>: Analyze the relationship between employee ratings and attrition risk</li><li><strong>Geographic Impact</strong>: Assess how distance from workplace affects employee retention</li></ul><h3>Work Done</h3><h3>Data Collection and Processing</h3><p>The analysis was conducted using a comprehensive HR dataset encompassing 1,470 employees with multiple data points including:</p><ul><li>Employee demographics covering gender, age, and marital status</li><li>Professional information spanning job level, department, role, and salary</li><li>Performance metrics including ratings and promotion eligibility</li><li>Geographic data measuring distance from workplace</li><li>Attrition status and behavioral patterns</li></ul><h3>Dashboard Development</h3><p>Created an interactive Power BI dashboard featuring:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K47_gswm7fzCo8nTviKmrQ.png" /><figcaption>Page One</figcaption></figure><p><strong>Executive Summary Panel:</strong></p><ul><li>Total workforce overview of 1,470 employees</li><li>Gender distribution analysis showing 60% male, 40% female</li><li>Average monthly income metrics at 6.50K</li><li>Total organizational income tracking at 10M</li></ul><p><strong>Attrition Metrics:</strong></p><ul><li>Current attrition count: 117 employees representing 8% attrition rate</li><li>Active workforce: 1,353 employees representing 92% retention rate</li><li>Promotion pipeline: 72 employees ready for advancement representing 5%</li></ul><p><strong>Analytical Visualizations:</strong></p><ol><li><strong>Job Level Distribution</strong>: Five-tier hierarchy analysis showing employee distribution across organizational levels</li><li><strong>Distance Impact Analysis</strong>: Geographic clustering showing workforce distribution by proximity to workplace</li><li><strong>Educational Background Mapping</strong>: Skills and qualification analysis across different educational fields</li><li><strong>Department Performance</strong>: Cross-departmental analysis of attrition and promotion patterns</li><li><strong>Demographic Insights</strong>: Gender-based income analysis and marital status impact on retention</li></ol><h3>Advanced Analytics</h3><p>Implemented filtering capabilities allowing for:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bN0rfeFxqUq7QTrR57jZ6w.png" /><figcaption>Page Two</figcaption></figure><ul><li>Gender-based analysis</li><li>Job level segmentation</li><li>Department-wise deep dives</li><li>Performance rating correlations</li></ul><h3>Insights</h3><p><strong>1. Attrition Overview</strong></p><ul><li><strong>Current State</strong>: 8% attrition rate with 117 employees leaving, while maintaining 92% retention</li><li><strong>Financial Impact</strong>: With an average salary of 6.50K monthly, annual turnover cost is approximately 9.1M</li><li><strong>Positive Indicator</strong>: 95% of workforce is not immediately due for promotion, suggesting stable career satisfaction</li></ul><p><strong>2. Demographic Patterns</strong></p><ul><li><strong>Gender Distribution</strong>: 60–40 male-female ratio indicates relatively balanced workforce</li><li><strong>Income Equity</strong>: Monthly income analysis shows competitive compensation structure</li><li><strong>Marital Status Impact</strong>: Married employees totaling 673 represent the largest segment, followed by single at 470 and divorced at 327 employees</li></ul><p><strong>3. Organizational Structure</strong></p><ul><li><strong>Job Level Distribution</strong>: Healthy pyramid structure with 543 Level 1 employees, 534 Level 2, and decreasing numbers at higher levels</li><li><strong>Department Performance</strong>: Research &amp; Development shows highest attrition at 74 employees, followed by Sales at 36 and HR showing minimal attrition</li><li><strong>Educational Diversity</strong>: Life Sciences at 606 and Medical at 464 backgrounds dominate, with technical degrees at 159 and marketing at 132 also represented</li></ul><p><strong>4. Geographic Insights</strong></p><ul><li><strong>Distance Factor</strong>: 71.7% of workforce lives close to workplace, with 28.3% working overtime</li><li><strong>Retention Correlation</strong>: Proximity appears to influence retention rates positively</li></ul><p><strong>5. Performance Indicators</strong></p><ul><li><strong>High Performers</strong>: 85% of workforce totaling 1,244 employees maintains high ratings</li><li><strong>Improvement Opportunities</strong>: 15% representing 226 employees show potential for performance enhancement</li></ul><h3>Recommendations</h3><p><strong>Short-term Vision spanning 0–3 months:</strong></p><ol><li><strong>Research &amp; Development Focus</strong></li></ol><ul><li>Implement targeted retention programs for R&amp;D department</li><li>Conduct exit interviews to understand specific pain points</li><li>Review compensation and career advancement opportunities</li></ul><p><strong>2. Distance-Based Support</strong></p><ul><li>Introduce flexible work arrangements for employees living far from workplace</li><li>Consider transportation allowances or remote work options</li><li>Evaluate satellite office possibilities</li></ul><p><strong>3. Performance Enhancement</strong></p><ul><li>Develop improvement plans for the 15% of employees with low ratings</li><li>Implement mentorship programs pairing high and low performers</li><li>Provide additional training and development opportunities</li></ul><p><strong>4. Promotion Pipeline Development</strong></p><ul><li>Create clear advancement pathways for the 72 employees ready for promotion</li><li>Establish succession planning for key roles</li><li>Implement leadership development programs</li></ul><p><strong>Medium-term Strategies spanning 3–12 months:</strong></p><p><strong>5. Department-Specific Interventions</strong></p><ul><li>Develop tailored retention strategies for each department</li><li>Address unique challenges in high-attrition areas</li><li>Strengthen middle management capabilities</li></ul><p><strong>6. Compensation Review</strong></p><ul><li>Conduct market analysis to ensure competitive positioning</li><li>Consider performance-based incentive structures</li><li>Review benefits packages, particularly for high-risk segment</li></ul><p><strong>Long-term Vision spanning 12+ months:</strong></p><p><strong>7. Cultural Transformation</strong></p><ul><li>Build employee engagement initiatives</li><li>Strengthen organizational culture and values alignment</li><li>Implement regular pulse surveys and feedback mechanisms</li></ul><p><strong>8. Predictive Analytics</strong></p><ul><li>Develop early warning systems for attrition risk</li><li>Implement machine learning models for retention prediction</li><li>Create personalized retention strategies</li></ul><p><strong>9. Employer Branding</strong></p><ul><li>Enhance recruitment and retention through strong employer brand</li><li>Leverage high-performing employees as brand ambassadors</li><li>Develop comprehensive employee value proposition</li></ul><h3>Expected Outcomes</h3><p><strong>Financial Impact:</strong></p><ul><li>Reduce attrition costs by 30–40% within 12 months</li><li>Improve productivity through better retention</li><li>Optimize recruitment and training expenses</li></ul><p><strong>Organizational Benefits:</strong></p><ul><li>Enhanced employee satisfaction and engagement</li><li>Improved knowledge retention and institutional memory</li><li>Stronger succession planning and leadership pipeline</li><li>Better competitive positioning in talent market</li></ul><h3>Conclusion</h3><p>This comprehensive HR Attrition Analysis reveals both challenges and opportunities within our workforce landscape. With an 8% attrition rate and strategic insights into demographic, departmental, and performance patterns, we have a clear road map for improvement.</p><p>The analysis demonstrates that while our organization maintains a relatively stable workforce, targeted interventions in high-risk areas like Research &amp; Development, distance-related challenges, and performance enhancement can significantly improve retention outcomes.</p><p>By implementing the recommended strategies across immediate, medium-term, and long-term horizons, we can transform these insights into measurable improvements in employee satisfaction, organizational performance, and financial outcomes.</p><p>The power of data-driven HR analytics lies not just in understanding what happened, but in predicting what might happen and taking proactive steps to shape positive outcomes. This analysis provides the foundation for that transformation.</p><h3>Let’s Connect</h3><p>Thank you for taking the time to explore this comprehensive HR Attrition Analysis. I believe that the right insights can transform organizational cultures and drive meaningful change.</p><p><strong>Connect with me on:</strong></p><ul><li>💼 <strong>LinkedIn</strong>: <a href="https://www.linkedin.com/in/opeyemi-afolabi-data-analyst-creative-designer/">Opeyemi Afolabi</a></li><li>🐦 <strong>Twitter/X</strong>: <a href="https://x.com/oopey3mii">Oopey3mii</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=443a6dbeee4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pharmaceutical Sales Analysis Dashboard: A Power BI Project]]></title>
            <link>https://medium.com/@aopeyemi072/pharmaceutical-sales-analysis-dashboard-a-power-bi-project-941941a6e1af?source=rss-a76829a3f3ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/941941a6e1af</guid>
            <category><![CDATA[sales]]></category>
            <category><![CDATA[drugs]]></category>
            <category><![CDATA[pharmacy]]></category>
            <dc:creator><![CDATA[Opeyemi Afolabi]]></dc:creator>
            <pubDate>Wed, 13 Aug 2025 12:28:21 GMT</pubDate>
            <atom:updated>2025-08-13T12:28:21.759Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Pharmaceutical Sales Analysis Dashboard: A Power BI Project</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*i05ik7kjvrgXiDG3" /><figcaption>Photo by <a href="https://unsplash.com/@szra_raa?utm_source=medium&amp;utm_medium=referral">sizura ramadhani</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Introduction</h3><p>The pharmaceutical industry generates vast amounts of sales and distribution data across multiple channels. Transforming this raw data into actionable insights is crucial for informed decision-making.<br> This project showcases an interactive <strong>Power BI dashboard</strong> developed from a pharmaceutical sales dataset. The dashboard highlights sales performance across years, channels, sub-channels, managers, and sales teams, enabling stakeholders to track trends, identify top performers, and make strategic business decisions.</p><h3>Objectives</h3><p>The primary goals of this project were to:</p><ul><li>Transform raw CSV data into a clean, analyzable format in Power BI.</li><li>Visualize pharmaceutical sales across different channels and sub-channels by quantity and price.</li><li>Identify top-performing months, managers, and sales teams over selected periods.</li><li>Create an interactive and visually appealing dashboard that allows filtering by year, month, and channel.</li><li>Provide clear, actionable insights to improve business performance.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eVDs4-s_GrGGKZOfEHbBaA.png" /><figcaption>Home Page</figcaption></figure><h3>Work Done</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*KdRa3LaenxYBjIZVmPQ7Uw.jpeg" /><figcaption>Work Done</figcaption></figure><ol><li><strong>Data Preparation: </strong>I<strong> c</strong>onverted the “Year” column from integers to a proper year data type for accurate time-based filtering.</li><li><strong>Channel Analysis: </strong>I<strong> c</strong>reated bar charts showing <strong>Total Quantity</strong> and <strong>Total Price</strong> for Pharmacy and Hospital channels.</li><li><strong>Sub-channel Analysis: </strong>I<strong> </strong>designed comparative visuals for Retail, Government, Institution, and Private sub-channels.</li><li><strong>Time-based Trends: </strong>I visualized monthly sales performance for 2018 to identify peak and low-performing months.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9ncd19380uMyfnqIplibAg.png" /><figcaption>Page One</figcaption></figure><p><strong>5. Manager &amp; Sales Team Performance: </strong>I developed charts to show top managers and sales teams by sales volume for specific years (2018, 2020) and over multiple years (2017–2020).</p><p><strong>6. Quarterly Insights: </strong>I displayed sales quantity for specific quarters (Q1 2020 and Q4 2019).</p><p><strong>7. Design &amp; Interactivity: </strong>I applied a consistent <strong>purple theme</strong>, slicers for Month, Year, Channel, and Sales Team, and added icons for a professional touch.</p><p><strong>8. Dashboard Integration: </strong>I combined all visuals into a two pages <strong>interactive Power BI dashboard</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vXhSAmfhApffbCBc7x2gdg.png" /><figcaption>Page Two</figcaption></figure><h3>Insights &amp; Recommendations</h3><h3>Key Insights</h3><ul><li><strong>Channel Performance:</strong> Pharmacy and Hospital channels recorded almost equal sales value, with Pharmacy slightly leading in price and quantity.</li><li><strong>Sub-channel Leaders:</strong> Retail and Government sub-channels generated the highest sales, followed by Institution and Private.</li><li><strong>Top Month in 2018:</strong> March achieved the highest sales volume, making it a key month for revenue spikes.</li><li><strong>Manager Excellence:</strong> Britanny Bold emerged as the top-performing manager in 2018 with sales exceeding <strong>1 billion</strong> units.</li><li><strong>Sales Team Highlights:</strong> Certain teams consistently outperformed others, suggesting strong team leadership and market reach.</li></ul><h3>Recommendations</h3><ul><li><strong>Leverage Peak Periods:</strong> Replicate the strategies used during high-performing months like March to boost sales in other months.</li><li><strong>Focus on High-Yield Sub-channels:</strong> Allocate more resources and marketing towards Retail and Government channels.</li><li><strong>Reward and Retain Top Talent:</strong> Recognize top managers and teams to maintain high motivation and reduce turnover.</li><li><strong>Seasonal Campaign Planning:</strong> Use quarterly sales trends to plan targeted campaigns before expected peaks.</li></ul><p>Connect with me on <a href="https://linkedin.com/">LinkedIn</a>: <a href="https://www.linkedin.com/in/opeyemi-afolabi-data-analyst-creative-designer/">Opeyemi Afolabi</a> and follow me on X: <a href="https://x.com/oopey3mii">Oopey3mii</a> for more data analytics projects and insights.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=941941a6e1af" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Analyzing Employee Data with SQL: Unlocking Workforce Insights at Splendor Investments]]></title>
            <link>https://medium.com/@aopeyemi072/analyzing-employee-data-with-sql-unlocking-workforce-insights-at-splendor-investments-62e3b4b2e6e6?source=rss-a76829a3f3ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/62e3b4b2e6e6</guid>
            <category><![CDATA[employee-benefits]]></category>
            <category><![CDATA[employees]]></category>
            <category><![CDATA[salary-survey]]></category>
            <dc:creator><![CDATA[Opeyemi Afolabi]]></dc:creator>
            <pubDate>Fri, 08 Aug 2025 13:28:34 GMT</pubDate>
            <atom:updated>2025-08-08T13:28:34.203Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Analyzing Employee Data with SQL: Unlocking Workforce Insights at Splendor Investments</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RG7ufhCUN-CSFK-c" /><figcaption>Photo by <a href="https://unsplash.com/@krakenimages?utm_source=medium&amp;utm_medium=referral">krakenimages</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Introduction</h3><p>In today’s competitive business environment, understanding your workforce isn’t just a task for HR; it’s a strategic advantage. As part of my final project at Splendor Investments, I undertook an analytical journey using SQL to delve deeply into employee data and uncover patterns that can inform better decision-making.</p><p>In this article, I walk you through how SQL can transform raw employee data into <strong>actionable insights</strong>, and how these insights can shape workforce planning, diversity efforts, compensation policies, and more.</p><h3>Project Objectives</h3><ul><li>I used <strong>SQL</strong> to query and analyze employee datasets.</li><li>I uncovered key trends related to demographics, compensation, and retention.</li><li>I delivered HR and business performance <strong>insights.</strong></li><li>I prepared the foundation for <strong>visual storytelling</strong> through dashboards using Power BI.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zFcj1zl6M7i6AECl1JnrEw.png" /><figcaption>Dashboard with Power BI</figcaption></figure><ul><li>I showcased technical and analytical capabilities through a real-world case</li></ul><h3>Work Done</h3><p>I worked with a dataset from <strong>Splendor Investments</strong>, which included fields such as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U5OdFQimtWgGhJNak6bPpg.png" /><figcaption>Visualization in Power BI</figcaption></figure><ul><li>Employee ID, Full Name, Department, Job Title</li><li>Business Unit, Gender, Ethnicity, Age</li><li>Annual Salary, Bonus %, Hire Date, Exit Date</li><li>Location info (City, Country)</li></ul><p>Using <strong>15 well-structured SQL queries</strong>, I explored:</p><p><strong>Headcount by Department</strong></p><p><strong>Age Averages by Department and City</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z-mHoJ5XJvqUkySLcfiSjA.png" /><figcaption>SQL code</figcaption></figure><p><strong>Top Earners in the Company</strong></p><p><strong>Salary Trends Over Time</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/915/1*YUfSM16mWsG4H4-FA-j2FQ.png" /></figure><p><strong>Diversity Statistics (Gender &amp; Ethnicity)</strong></p><p><strong>Bonus Percentage Comparisons</strong></p><p><strong>Employee Turnover Metrics</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/918/1*TT7cqSKW_LKQlBe41fydNw.png" /></figure><p><strong>Tenure Analysis</strong></p><p><strong>Early Exit Trends</strong></p><p><strong>Performance vs Compensation</strong> (via bonus)</p><h3>SQL Query Snapshot</h3><p>Here’s a snippet of what the SQL logic looked like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z-mHoJ5XJvqUkySLcfiSjA.png" /><figcaption>SQL Codes</figcaption></figure><p>These queries provided me with the technical framework to begin mapping employee behavior and compensation patterns.</p><h3>Insights and Recommendations</h3><p>Here are the key Insights and Recommendations from the SQL analysis:</p><h3>Department Distribution</h3><ul><li><strong>Finding:</strong> Uneven employee distribution across departments</li><li><strong>Recommendation:</strong> Departments with lower headcounts may need support or restructuring depending on workload.</li></ul><h3>Exit Within First Year</h3><ul><li><strong>Finding:</strong> A considerable number of employees left within 12 months of hire.</li><li><strong>Recommendation:</strong> Reassess onboarding processes and manager support during the first year.</li></ul><h3>High Bonus = High Motivation?</h3><ul><li><strong>Finding:</strong> Certain departments like Sales and Tech had higher average bonus percentages.</li><li><strong>Recommendation:</strong> Replicate incentive structures from high-bonus departments in other units to boost performance.</li></ul><h3>Diversity Gaps</h3><ul><li><strong>Finding:</strong> Some ethnic groups were underrepresented in leadership roles.</li><li><strong>Recommendation:</strong> Incorporate DEI initiatives into talent pipeline development.</li></ul><h3>Salary Growth Trends</h3><ul><li><strong>Finding:</strong> Average salaries showed steady growth over time.</li><li><strong>Recommendation:</strong> Maintain transparency in compensation growth to improve retention and attract talent.</li></ul><h3>Age and Retention</h3><ul><li><strong>Finding:</strong> Employees over age 30 had longer average tenure and higher bonus consistency.</li><li><strong>Recommendation:</strong> Invest in mid-career growth plans and mentorship programs to retain experienced staff.</li></ul><h3>Conclusion</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nyWLZq63IUHgQa4-AWj5bA.png" /></figure><p>This project highlights the <strong>value of structured SQL queries</strong> in analyzing workforce data, driving strategic HR decisions, and preparing datasets for <strong>visual storytelling</strong> in tools like Power BI. With 15 focused questions, we unveiled patterns that could otherwise go unnoticed in traditional HR reports.</p><h3>Let’s Connect!</h3><p>Thanks for reading! <br> <strong>Follow me on </strong><a href="#"><strong>LinkedIn</strong></a><strong>: </strong><a href="https://www.linkedin.com/in/opeyemi-afolabi-data-analyst-creative-designer/"><strong>Opeyemi Afolabi</strong></a><strong> </strong>for more data insights<br> <strong>Connect on </strong><a href="#"><strong>X </strong></a><strong>: </strong><a href="https://x.com/oopey3mii"><strong>Oopey3mii</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=62e3b4b2e6e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unlocking Market Intelligence: A Comprehensive SQL Analysis of West African Brewery Performance]]></title>
            <link>https://medium.com/@aopeyemi072/unlocking-market-intelligence-a-comprehensive-sql-analysis-of-west-african-brewery-performance-9005237aca5c?source=rss-a76829a3f3ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/9005237aca5c</guid>
            <dc:creator><![CDATA[Opeyemi Afolabi]]></dc:creator>
            <pubDate>Tue, 22 Jul 2025 09:38:21 GMT</pubDate>
            <atom:updated>2025-07-22T09:38:21.496Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Unlocking Market Intelligence: A Comprehensive SQL Analysis of West African Brewery Performance</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*22_7ualyoUD5aHzG" /><figcaption>Photo by <a href="https://unsplash.com/@yesmorecontent?utm_source=medium&amp;utm_medium=referral">YesMore Content</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>Introduction</strong></p><p>In today’s competitive beverage industry, understanding market dynamics across different territories is crucial for achieving sustainable growth. When tasked with analyzing brewery performance across West Africa’s diverse linguistic and cultural landscape, I leveraged advanced SQL analytics to uncover hidden patterns that informed strategic business decisions.</p><p>This project represents a comprehensive analysis of three years of brewery data (2017–2019) spanning five countries: Nigeria, Ghana, Togo, Benin, and Senegal. What started as a routine data analysis quickly evolved into a comprehensive market intelligence study, revealing surprising insights about consumer behavior, territorial performance, and profit optimization strategies.</p><p>The challenge was clear: transform raw transactional data into actionable business intelligence that could drive million-dollar strategic decisions across Anglophone and Francophone markets.</p><p><strong>Objective</strong></p><p>The primary goal was to conduct a comprehensive analysis of brewery operations across West African territories to:</p><ul><li><strong>Evaluate territorial performance</strong> between Anglophone (Nigeria, Ghana) and Francophone (Togo, Benin, Senegal) markets</li><li><strong>Identify profit optimization opportunities</strong> and validate strategic decisions made by territory managers</li><li><strong>Analyze brand performance</strong> and consumer preferences across different cultural contexts</li><li><strong>Provide data-driven recommendations</strong> for market expansion and product positioning</li><li><strong>Establish baseline metrics</strong> for future performance monitoring and strategic planning</li></ul><p>This analysis would serve as the foundation for executive decision-making regarding resource allocation, market prioritization, and brand portfolio optimization across the region.</p><h3>Work Done</h3><h3>Database Optimization and Setup</h3><p>I began by optimizing the database structure to ensure efficient query performance:</p><p>SQL</p><pre>ALTER TABLE Breweries</pre><pre>ALTER COLUMN YEARS VARCHAR(15);</pre><p>This modification was crucial for handling multi-year temporal analysis efficiently.</p><h3>1. Territorial Profit Analysis</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*ygXWnIBqAlBuywTSLsfpEw.png" /></figure><p><strong>Market Segmentation Study</strong> I developed sophisticated queries to compare performance between linguistic regions:</p><p>· Calculated total profits for Anglophone territories (Nigeria, Ghana)</p><p>· Analyzed Francophone market performance (Togo, Benin, Senegal)</p><p>· Created comparative metrics to identify market opportunities</p><p><strong>Strategic Decision Validation</strong> When the territory manager implemented profit maximization strategies in 2020, I designed queries to measure the impact and validate the decision’s effectiveness.</p><h3>2. Temporal Performance Analysis</h3><p><strong>Peak Performance Identification</strong> Using advanced SQL aggregation, I identified:</p><p>· The highest-performing year across all territories</p><p>· Countries that consistently outperformed others in 2019</p><p>· Seasonal patterns through monthly profit analysis (December 2018 focus)</p><p><strong>Minimum Performance Analysis</strong> I implemented MIN() functions to identify underperformance periods, providing insights into market challenges and recovery opportunities.</p><h3>3. Brand Intelligence Analysis</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/737/1*7JlzGU8O58WZ-bqnVQCtbw.png" /></figure><p><strong>Francophone Market Brand Analysis</strong> Created comprehensive queries to identify the top three consumer brands across French-speaking territories over two years, revealing:</p><p>· Cross-cultural brand preferences</p><p>· Market penetration patterns</p><p>· Consumer loyalty indicators</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/731/1*k0U7vr7MF3k8SNQqXOUKLw.png" /></figure><p><strong>Ghana-Specific Market Research</strong> Developed targeted analysis for the Ghanaian market to identify the top two consumer choice brands, providing localized market intelligence.</p><p><strong>Premium Product Analysis</strong> Examined malt brand preferences in Anglophone regions (2018–2019), focusing on premium product market penetration.</p><p><strong>Nigerian Market Leadership Study</strong> Conducted detailed analysis of the highest-selling brands in Nigeria for 2019, establishing clear market hierarchy.</p><h3>4. Consumption Pattern Analysis</h3><p><strong>Nigerian Beer Market Deep Dive</strong> Analyzed consumption patterns for major brands including Budweiser, Eagle Lager, Hero, Trophy, and Castle Lite, providing insights into:</p><p>· Volume consumption trends</p><p>· Brand preference rankings</p><p>· Market share distribution</p><p><strong>Regional Consumption Comparison</strong> Developed country-level consumption analysis to identify:</p><p>· Market saturation levels</p><p>· Growth opportunities</p><p>· Regional preference variations</p><h3>Technical Implementation Highlights</h3><p>· <strong>Advanced Aggregation</strong>: Utilized SUM(), MIN(), TOP() functions for comprehensive data summarization</p><p>· <strong>Conditional Filtering</strong>: Implemented precise WHERE clauses for targeted analysis</p><p>· <strong>Grouping Strategies</strong>: Applied GROUP BY for categorical and temporal analysis</p><p>· <strong>Performance Optimization</strong>: Designed efficient queries for large-scale dataset processing</p><h3>Key Insights</h3><h3>1. Market Dynamics Revealed</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*91RSWVDrBrHgkPkN7B_D8A.png" /><figcaption>Visualization done in Microsoft Excel</figcaption></figure><p><strong>Territorial Performance Gaps</strong> The analysis revealed significant performance disparities between Anglophone and Francophone markets, with English-speaking territories showing 23% higher profit margins on average.</p><p><strong>Strategic Decision Impact</strong> The 2020 profit maximization strategy implemented by Mr. Stone proved highly effective, resulting in measurable improvements in overall territorial performance.</p><h3>2. Consumer Behavior Patterns</h3><p><strong>Cultural Influence on Brand Preferences</strong> Francophone territories showed distinct brand loyalty patterns, with consumers favoring different product categories compared to Anglophone markets.</p><p><strong>Premium Market Opportunities</strong> The malt beverage segment demonstrated strong growth potential in Anglophone regions, indicating untapped premium market opportunities.</p><h3>3. Seasonal and Temporal Insights</h3><p><strong>Peak Performance Timing</strong> December 2018 emerged as a critical profit period, suggesting seasonal consumption patterns that could inform marketing campaign timing.</p><p><strong>Year-over-Year Growth Patterns</strong> 2019 showed the strongest overall performance, validating strategic initiatives implemented in previous years.</p><h3>4. Brand Portfolio Intelligence</h3><p><strong>Market Leaders Identified</strong> Nigerian market analysis revealed clear brand hierarchies, with specific brands dominating volume sales and profit generation.</p><p><strong>Cross-Territory Brand Performance</strong> Certain brands showed strong performance across multiple territories, indicating potential for regional expansion strategies.</p><h3>Recommendations</h3><h3>1. Strategic Market Expansion</h3><p><strong>Francophone Market Development</strong></p><p>· Increase investment in French-speaking territories to bridge the performance gap</p><p>· Develop localized marketing strategies that resonate with Francophone consumer preferences</p><p>· Consider strategic partnerships with local distributors to improve market penetration</p><h3>2. Brand Portfolio Optimization</h3><p><strong>Focus on High-Performers</strong></p><p>· Increase marketing budget allocation for top-performing brands identified in the analysis</p><p>· Develop premium product lines, particularly malt beverages, in Anglophone markets</p><p>· Consider phasing out or repositioning underperforming brands</p><h3>3. Seasonal Strategy Implementation</h3><p><strong>Peak Period Maximization</strong></p><p>· Develop targeted marketing campaigns for identified peak consumption periods</p><p>· Optimize supply chain operations to capitalize on seasonal demand patterns</p><p>· Implement dynamic pricing strategies during high-demand months</p><h3>4. Data-Driven Decision Making</h3><p><strong>Performance Monitoring System</strong></p><p>· Establish monthly performance dashboards using the developed SQL queries</p><p>· Implement automated alerting for performance deviations</p><p>· Create executive reporting templates for consistent strategic communication</p><h3>5. Market-Specific Strategies</h3><p><strong>Nigerian Market Leadership</strong></p><p>· Leverage strong Nigerian market position for regional expansion</p><p>· Develop Nigerian-focused premium products for export to neighbouring markets</p><p><strong>Ghana Market Penetration</strong></p><p>· Increase focus on the two top-performing brands in Ghana</p><p>· Develop targeted consumer engagement campaigns</p><p>Also, follow me on social media for more tech content, data projects, and SQL deep dives:</p><p>LinkedIn: <a href="https://www.linkedin.com/in/opeyemi-afolabi-data-analyst-creative-designer/">Opeyemi Janet Afolabi</a></p><p>X(Twitter): <a href="https://x.com/oopey3mii">oopey3mii</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9005237aca5c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bank Customer Analysis with Microsoft Excel]]></title>
            <link>https://medium.com/@aopeyemi072/bank-customer-analysis-with-microsoft-excel-57e800eaebc0?source=rss-a76829a3f3ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/57e800eaebc0</guid>
            <category><![CDATA[visualization]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[Opeyemi Afolabi]]></dc:creator>
            <pubDate>Fri, 02 May 2025 10:51:20 GMT</pubDate>
            <atom:updated>2025-05-02T10:51:20.177Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0zVIN1NGQ1Ow1Rfi" /><figcaption>Photo by <a href="https://unsplash.com/@pampouks?utm_source=medium&amp;utm_medium=referral">Nick Pampoukidis</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>Introduction</strong></p><p>This document provides an overview of the data cleaning process undertaken for a financial dataset involving customer details, transactions, loans, and accounts. The project aims to enhance data quality and improve insights through effective data pre-processing and analysis with effective summarization and manipulation.</p><p><strong>Objectives</strong></p><p>- To identify and rectify inconsistencies, duplicates, and missing data values.</p><p>- To structure the data appropriately for analysis.</p><p>- To create dashboards and pivot tables for summarizing key KPIs(Key Performance Indicators).</p><p>- To derive actionable analysis from cleaned data.</p><p><strong>Problem Statement</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U5VeKkpp_OIqVpYil4MZlw.png" /><figcaption>Project Brief</figcaption></figure><p>The dataset used in this project consisted of several sheets containing customer information, account details, loan data, and transaction records. However, the raw data presented multiple challenges. Some of the issues included:</p><p>- Duplicate customer records, leading to inflated counts in analysis.</p><p>- Missing critical fields such as customer ID, account numbers, or transaction timestamps.</p><p>- Inconsistent formats in dates, currency, and text values.</p><p>- Unstructured transaction descriptions that were difficult to categorize or filter.</p><p>- Lack of relationship clarity between data points across different sheets (e.g., linking customers to loans or transactions).</p><p>These problems made it difficult to derive accurate business insights and impaired reporting capabilities.</p><p><strong>Work Done</strong></p><p>- I conducted a preliminary audit of each sheet to identify quality issues.</p><p>- I applied data cleaning techniques such as:</p><p>• Removing duplicate entries using unique identifiers.</p><p>• Standardizing date formats and converting inconsistent data types.</p><p>• Imputing missing values based on logical inference or removing unusable records.</p><p>- I merged related sheets to establish relational transparency among customer, loan, account, and transaction data.</p><ul><li>I created pivot tables to summarize data such as loan distribution by amount and type, customer demographics, and transaction volume by time.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*56zdQkhlnAss-8u9H9WOqw.png" /><figcaption>Pivot Tables</figcaption></figure><p>- I developed an Excel dashboard for visualization and quick reference of key metrics and trends.</p><p>- I inserted Slicers to the dashboard for quick reference of some KPIs</p><ul><li>I downloaded and made use of icons for my KPIs.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PPBYM-uzn84WdLqGj8AEaQ.png" /><figcaption>Dashboard</figcaption></figure><p><strong>Insights</strong></p><p>- The majority of loans are concentrated among a specific customer population.</p><p>- A pattern of frequent low-value transactions indicates possible customer behavior trends.</p><p>- Certain account types are linked with higher transaction volumes.</p><p><strong>Recommendations</strong></p><p>- Establish a standardized data entry format and validation rules at the source level to minimize input errors.</p><p>- Maintain a unique key system across all datasets to facilitate relational data operations.</p><p>- Schedule periodic data cleansing routines to maintain high-quality datasets.</p><p>- Invest in automated data processing tools (Microsoft Excel) to flag irregularities in real time.</p><p>- Encourage regular training for staff handling data to understand the importance of data quality and integrity.</p><p>- Expand the dashboard with sorting and real-time updates to support decision-making and performance monitoring.</p><p>Let’s connect via <a href="https://www.linkedin.com/in/opeyemi-afolabi-data-analyst-creative-designer/">LinkedIn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=57e800eaebc0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>