<?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 Odewole mistura on Medium]]></title>
        <description><![CDATA[Stories by Odewole mistura on Medium]]></description>
        <link>https://medium.com/@odewolemistura?source=rss-8cc18962ff13------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*cC0XrZf-cjwK8FVq</url>
            <title>Stories by Odewole mistura on Medium</title>
            <link>https://medium.com/@odewolemistura?source=rss-8cc18962ff13------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 14:07:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@odewolemistura/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[Which Promotion Strategy Worked Best?]]></title>
            <link>https://odewolemistura.medium.com/which-promotion-strategy-worked-best-5e3236a677de?source=rss-8cc18962ff13------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e3236a677de</guid>
            <dc:creator><![CDATA[Odewole mistura]]></dc:creator>
            <pubDate>Thu, 03 Jul 2025 16:13:40 GMT</pubDate>
            <atom:updated>2025-07-03T16:13:40.547Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>An A/B Testing Analysis Using Power BI</strong></p><p>When a fast-food chain planned to launch a new menu item, they weren’t sure which of their three proposed marketing campaigns would work best. So, they did what any data-driven company should do they tested.</p><p>The new product was introduced in 127 store locations spread across 10 different markets. Each store ran one of three promotions, and sales were tracked for four weeks.</p><p>As a data enthusiast, I analyzed this dataset using Power BI to uncover which promotion drove the best result</p><h3>The Data at a Glance</h3><p>The dataset (sourced from Kaggle) contained information on:</p><ul><li>Store locations and their market size (Small, Medium, Large)</li><li>Age of the store</li><li>The promotion each store ran</li><li>Weekly sales figures (in thousands of dollars)</li></ul><h3>Key Questions I Set Out to Answer</h3><ol><li>Which campaign had the <strong>highest total sales</strong>?</li><li>How did each campaign perform <strong>week over week</strong>?</li><li>What impact did <strong>market size</strong> have on campaign performance?</li></ol><h3>What I Found</h3><h3>💰 Overall Sales Performance</h3><ul><li><strong>Total Sales</strong>: $29.3 million</li><li><strong>Average Sales per Store</strong>: $214,000</li><li><strong>Campaign 3</strong> had the highest total sales: <strong>$10.4 million</strong></li><li>Campaign 1 followed closely with <strong>$10 million</strong>, while</li><li>Campaign 2 lagged behind at <strong>$8.9 million</strong></li></ul><h3>📈 Weekly Performance by Campaign</h3><p>Campaigns 1 and 3 remained strong and consistent across all 4 weeks. Campaign 2 consistently underperformed.</p><h3>🌍 Sales by Market Size</h3><p>Campaign 3 also stood out when we looked at performance by market size:</p><ul><li><strong>Large markets</strong>: Campaign 3 averaged <strong>$77K</strong> per store</li><li><strong>Medium markets</strong>: Campaign 1 led slightly with <strong>$47K</strong></li><li><strong>Small markets</strong>: Campaign 1 and 3 were closely matched</li></ul><h3>My Recommendation</h3><p>Based on this analysis, <strong>Campaign 3 is the clear winner</strong>. It performed consistently well across all weeks and dominated in large markets which are likely the most profitable.</p><p>If the goal is to maximize sales, the company should scale Campaign 3 for a broader rollout.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*SXFe0rWQMCVMuA1v7Mjk6Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*kG0ERivOV5OoNsZ9K6bvdw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e3236a677de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Built a Two-Page Excel Dashboard to Analyze Customer & Revenue Trends]]></title>
            <link>https://odewolemistura.medium.com/how-i-built-a-two-page-excel-dashboard-to-analyze-customer-revenue-trends-08dc52984a6e?source=rss-8cc18962ff13------2</link>
            <guid isPermaLink="false">https://medium.com/p/08dc52984a6e</guid>
            <dc:creator><![CDATA[Odewole mistura]]></dc:creator>
            <pubDate>Fri, 20 Jun 2025 10:41:07 GMT</pubDate>
            <atom:updated>2025-06-20T10:41:07.435Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>In today’s data-driven world, understanding your customers and revenue drivers can make or break a business. While tools like Power BI and Tableau dominate the business intelligence space, <strong>Excel still packs a punch</strong> — especially for early analysts and small businesses.</p><p>In this project, I used <strong>Microsoft Excel</strong> to build a <strong>two-page interactive dashboard</strong> that reveals patterns in customer behavior and revenue. The data came from a retail dataset on Kaggle, and with just Power Query, PivotTables, and charts, I uncovered insights that could drive strategic decisions.</p><p>Let’s dive in.</p><h3>🗂️ The Dataset</h3><p>I downloaded a retail dataset from <strong>Kaggle</strong> containing:</p><ul><li>Customer demographics</li><li>Product purchases</li><li>Payment and shipping methods</li><li>Subscription status</li><li>Discounts, promo codes, and reviews</li></ul><p>It was a great playground to practice real-world customer segmentation and revenue analysis.</p><h3>🛠 Tools I Used</h3><ul><li><strong>Microsoft Excel</strong></li><li>Power Query (for segmentation and cleaning)</li><li>Pivot Tables &amp; Pivot Charts</li><li>No coding, just Excel magic. ✨</li></ul><h3>🧼 Data Cleaning in Power Query</h3><p>In Power Query, I:</p><ul><li>Removed duplicates and empty rows</li><li>Standardized inconsistent values (e.g., Gender, Category)</li><li>Created new columns like:</li><li><strong>Age Group</strong> (e.g., 18–29, 30–44, etc.)</li></ul><p>This prepped the data for deep analysis.</p><h3>🔍 Exploratory Analysis: What I Wanted to Know</h3><p>Here are the key questions I aimed to answer:</p><ol><li>What is the age and gender distribution of our customers</li><li>Which shipping types are most popular</li><li>What categories do different age groups buy most?</li><li>Do promo codes and discounts really boost revenue?</li><li>What payment methods dominate?</li><li>How does review rating vary with purchase frequency?</li><li>What time of year sees the most sales?</li></ol><h3>📊 The Dashboard Design</h3><p>I designed two clear, interactive pages in Excel:</p><h3>Page 1: Customer Overview</h3><ul><li>Gender &amp; age segmentation</li><li>Product preferences by demographic</li><li>Shipping &amp; subscription breakdown</li><li>Review analysis by shopping frequency</li></ul><h3>Page 2: Revenue Insights</h3><ul><li>Revenue by category, gender, age</li><li>Seasonal revenue trends</li><li>Discount &amp; promo code performance</li><li>Payment methods and revenue impact</li></ul><p>I added hyperlinked buttons to help users navigate between pages.</p><h3>💡 Interesting Insights</h3><p>Here’s what the data told me:</p><ul><li><strong>Age 45–59</strong> contributed the most to total revenue</li><li><strong>Clothing</strong> was the top category across all age groups</li><li><strong>Free and Express shipping</strong> were preferred, especially by male customers</li><li><strong>Spring and Fall</strong> had peak sales</li><li>Customers who shopped <strong>monthly</strong> left <strong>better reviews</strong></li><li><strong>Credit Card and PayPal</strong> dominated transactions</li><li>Surprisingly, <strong>promo codes didn’t significantly improve revenue</strong></li></ul><h3>📈 Recommendations for Business Growth</h3><p>Based on these insights, here’s what I would advise any retail brand:</p><ol><li><strong>Target 30–59 Age Group</strong>: They bring in the most money — focus your marketing here.</li><li><strong>Reward Monthly Buyers</strong>: They’re loyal and satisfied. Offer loyalty perks.</li><li><strong>Double Down on Clothing &amp; Accessories</strong>: These are your winning products.</li><li><strong>Optimize for Popular Shipping Options</strong>: Offer free/express shipping as incentives.</li><li><strong>Refine Discount Strategies</strong>: Don’t rely on promo codes — try bundle deals instead.</li><li><strong>Prepare for Seasonal Highs</strong>: Launch campaigns in Spring and Fall.</li><li><strong>Simplify Checkout with Preferred Payment Options</strong>: Emphasize Credit Card/PayPal.</li><li><strong>Grow Subscriptions</strong>: Offer more value to convert occasional buyers into loyal members.</li></ol><h3>📌 Final Thoughts</h3><p>This project proved something powerful:</p><blockquote><em>You don’t always need advanced BI tools to do powerful analysis — </em><strong><em>Excel can be a game changer</em></strong><em> when used right.</em></blockquote><blockquote>With the help of Power Query and PivotTables, I turned raw data into clear business insights. Whether you’re a beginner data analyst or a small business owner, this kind of dashboard can drive real, strategic decisions.</blockquote><h3>🧠 Let’s Connect!</h3><p>If you’re passionate about data, Excel, or beginner-friendly analysis, feel free to follow me on [LinkedIn] (odewole mistura).</p><p><em>Thanks for reading. Data tells a story — your job is to make it heard.</em> 📊📢<br> #Excel #DataAnalysis #Dashboard #PowerQuery #RetailAnalysis #DataAnalytics #DataStorytelling👋 Introduction</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LKk0E0D8N2YoxlaqXaOqRQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LDtIq8LjVUeXwh8OSF0Fwg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=08dc52984a6e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ FinSight: Building a Fintech Power BI Dashboard from Scratch]]></title>
            <link>https://odewolemistura.medium.com/finsight-building-a-fintech-power-bi-dashboard-from-scratch-1bc8bb63128b?source=rss-8cc18962ff13------2</link>
            <guid isPermaLink="false">https://medium.com/p/1bc8bb63128b</guid>
            <dc:creator><![CDATA[Odewole mistura]]></dc:creator>
            <pubDate>Sun, 25 May 2025 19:58:31 GMT</pubDate>
            <atom:updated>2025-05-25T19:58:31.644Z</atom:updated>
            <content:encoded><![CDATA[<h3>🚀 Project Overview</h3><p>In today’s fast-evolving financial services landscape, <strong>data is the new currency</strong>. For my portfolio, I built a <strong>two-page Power BI dashboard</strong> analyzing synthetic customer, account, and loan data from a fintech environment. This project reveals critical insights into <strong>customer behavior, account trends, and loan performance</strong> — the core of any financial decision-making process.</p><h3>📊 Tools Used</h3><ul><li><strong>Power BI</strong> — For creating visual dashboards and uncovering patterns</li><li><strong>Power Query</strong> — For data cleaning and transformation</li></ul><p><strong>Kaggle Dataset</strong> — A simulated dataset containing customer profiles, account activities, and loan details</p><h3>🧹 Data Cleaning Process</h3><p>I used <strong>Power Query in Power BI</strong> to clean and shape the data for analysis. Key steps included:</p><ul><li>Removing irrelevant columns</li><li>Standardizing column names and formats</li><li>Correcting data types (e.g., numbers, dates, text)</li><li>Grouping <strong>age</strong> and <strong>income</strong> levels into categories</li><li>Rearranging and aligning columns across related tables</li></ul><h3>📄 Dashboard Structure</h3><p>This dashboard is split into <strong>two analysis pages</strong>, each addressing specific business goals.</p><h3>📍 Page 1: Customer &amp; Account Insights</h3><h3>❓ Key Questions Answered:</h3><ul><li>What regions and account types dominate our customer base?</li><li>How do deposits and withdrawals vary by account type?</li><li>What are customers’ income levels and investment behaviors?</li></ul><h3>📌 Key Insights:</h3><h3>📈 Visuals Included:</h3><ul><li>Customers by region &amp; income level</li><li>Deposits/withdrawals by account type</li><li>Account type distribution</li><li>Investment goals by risk tolerance</li></ul><h3>📍 Page 2: Loan &amp; Credit Performance</h3><h3>❓ Key Questions Answered:</h3><ul><li>What is the approval rate across loan applicants?</li><li>How do financial history and employment status influence loan decisions?</li><li>Which regions and income levels attract higher loan amounts?</li></ul><h3>📌 Key Insights:</h3><ul><li><strong>48% of loans were approved</strong>, 28% pending, 26% rejected</li><li>Customers with <strong>good financial history</strong> had more approvals</li><li><strong>Self-employed</strong> individuals had the highest approval rate</li><li><strong>Medical expenses</strong> were the top loan purpose; <strong>small businesses</strong>, the least</li><li><strong>Australia</strong> received the highest average loan amounts</li><li><strong>Interest rates</strong> increased with income level (Low: 0.08, High: 0.12)</li></ul><h3>📈 Visuals Included:</h3><ul><li>Loan status by financial history and employment status</li><li>Loan purpose distribution</li><li>Region-wise loan amount averages</li><li>Interest rates by income level</li></ul><h3>💡 Key Takeaways</h3><p>This dashboard empowers fintech companies to:</p><ul><li>Understand the <strong>behavioral patterns of different customer groups</strong></li><li>Identify <strong>risk-prone segments and investment preferences</strong></li><li>Optimize <strong>loan approval strategies</strong> using employment and financial history</li><li>Target the <strong>right regions</strong> and demographics for growth</li></ul><h3>🔍 Recommendations</h3><ul><li>Tailor <strong>loan products</strong> for self-employed individuals</li><li>Design <strong>savings incentives</strong> for low-income users</li><li>Use account-type behavior to build <strong>creditworthiness profiles</strong></li><li>Focus marketing efforts in high-performing regions like <strong>Australia</strong></li></ul><h3>⚠️ Limitations</h3><ul><li>Data used is <strong>synthetic</strong> and may not fully represent real-world behavior</li><li>No <strong>time-based analysis</strong> was conducted in this phase</li><li>Lack of <strong>credit scores</strong> in dataset, which would enhance loan analysis</li></ul><h3>📌 Final Thoughts</h3><p>This project is a great example of how <strong>data visualization</strong> and <strong>domain understanding</strong> can come together to drive smarter financial decisions. I look forward to expanding on this with time-series and predictive analytics in future phases.</p><p>👉 <strong>You can explore the project on GitHub here:</strong> <a href="https://github.com/odewolemistura/Fintech-Customer-Account-and-Loan-Performance-Analysis-POWER-BI">https://github.com/odewolemistura/Fintech-Customer-Account-and-Loan-Performance-Analysis-POWER-BI</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*Kh1xk4n7D3WGUvg8XILYPg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*fEki52mb9Lk8dHV7DbqGIA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bc8bb63128b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ From SQL Queries to Sizzling Insights: My Pizza Sales Dashboard Journey with Power BI & DAX]]></title>
            <link>https://odewolemistura.medium.com/from-sql-queries-to-sizzling-insights-my-pizza-sales-dashboard-journey-with-power-bi-dax-0340a73ff60a?source=rss-8cc18962ff13------2</link>
            <guid isPermaLink="false">https://medium.com/p/0340a73ff60a</guid>
            <dc:creator><![CDATA[Odewole mistura]]></dc:creator>
            <pubDate>Sat, 10 May 2025 14:47:01 GMT</pubDate>
            <atom:updated>2025-05-10T14:47:01.208Z</atom:updated>
            <content:encoded><![CDATA[<p>When I first opened the raw dataset of pizza sales, I wasn’t just looking at rows and columns — I was looking at a menu of possibilities. As a data analyst in training, I wanted to create something more than just charts and KPIs. I wanted to build a story-driven dashboard, the kind that could help a pizza business make smarter decisions at a glance.</p><p>So, I fired up SQL Server and Power BI, and this is how it all unfolded.</p><p>🛠️ Tools I Used</p><p><strong>SQL</strong> — to clean the data and calculate foundational KPIs</p><p><strong>Power Query</strong>— for data cleaning</p><p><strong>Power BI</strong> — for data visualization and dashboard design</p><p><strong>DAX (Data Analysis Expressions)</strong> — to build dynamic, calculated measures in Power BI</p><h3>📌 Project Goal</h3><p>Build a pizza sales dashboard that answers key business questions:</p><ul><li>How much are we earning?</li><li>What’s the average customer spending?</li><li>Which pizzas are driving sales — and which ones aren’t?</li><li>What’s the sales trend over time?</li></ul><h3>Key KPIs Tracked</h3><p>Using <strong>SQL</strong>, I started with calculating base KPIs:</p><ul><li><strong>Total Revenue</strong></li><li><strong>Total Orders</strong></li><li><strong>Total Pizzas Sold</strong></li><li><strong>Top &amp; Bottom Selling Pizzas</strong> by revenue, quantity, and order count</li></ul><p>Then, in <strong>Power BI</strong>, I used <strong>DAX</strong> to create dynamic and responsive measures:</p><ul><li>Average Order Value = Total Revenue / Total Orders</li><li>Average Pizzas per Order = Total Pizzas Sold / Total Orders</li><li>Month-over-Month Growth % = ((Current Month Revenue - Previous Month Revenue) / Previous Month Revenue) * 100</li><li>Top Pizza in Each Category = RANKX and filtering using CALCULATE + FILTER</li></ul><p>These measures allowed the dashboard to respond in real-time to filters like pizza size, category, and time period.</p><h3>📊 Dashboard Visuals</h3><p>Here are some of the visuals I built and what they revealed:</p><ul><li><strong>📈 Daily &amp; Monthly Order Trends</strong></li><li>Clear peaks on weekends, especially <strong>Friday and Saturday nights</strong>.</li><li><strong>📆 Sales by Month</strong></li><li>Highest order volumes occurred in <strong>January and July</strong>.</li><li><strong>📐 Percentage of Sales by Pizza Size</strong></li><li><strong>Large-sized pizzas</strong> took the biggest slice of sales.</li><li><strong>🍕 Category-wise Sales Breakdown</strong></li><li><strong>Classic category</strong> dominated in both total orders and revenue.</li><li><strong>🏆 Top 5 Best Sellers</strong></li><li>Based on revenue, order quantity, and number of orders</li><li><strong>😞 Bottom 5 Performers</strong></li><li>Useful for identifying which pizzas may need to be rebranded or promoted</li></ul><h3>🔍 Key Insights</h3><ul><li><strong>The Thai Chicken Pizza</strong> was the <strong>highest revenue generator</strong>.</li><li><strong>The Classic Deluxe</strong> sold the most in <strong>quantity</strong>.</li><li><strong>Classic category</strong> and <strong>Large size</strong> pizzas were the best performers overall.</li><li>Weekends saw a significant spike in orders, ideal for promotions or bundles.</li></ul><h3>📈 Why This Project Mattered</h3><p>Yes, it was about pizza. But more importantly, it was about <strong>learning how to connect SQL and DAX</strong> — how to move from raw transactional data to business-impacting insights.</p><p>This project helped me:</p><ul><li>Strengthen my <strong>data cleaning and KPI calculation</strong> skills in SQL</li><li>Deepen my <strong>understanding of DAX for advanced metrics</strong></li><li>Improve my <strong>dashboard storytelling and design approach</strong> in Power BI</li></ul><p>It’s easy to underestimate the power of simple datasets. But even a pizza sales file can teach you how to speak the language of business through data.</p><h3>🍕 Final Slice</h3><p>Whether you’re just starting out in data or are looking for a fun portfolio project, I highly recommend diving into a relatable dataset like this. Pizza is universal — and so is data storytelling.</p><p>See the dashboard and SQL code below</p><pre>select * from pizza_sales<br><br>--Data cleaning<br>UPDATE pizza_sales <br>SET pizza_size = CASE <br> WHEN pizza_size = &#39;M&#39; THEN &#39;Medium&#39;<br> WHEN pizza_size = &#39;L&#39; THEN &#39;Large&#39;<br> WHEN pizza_size = &#39;S&#39; THEN &#39;Regular&#39;<br> WHEN pizza_size =&#39;XL&#39; THEN &#39;X-large&#39;<br> ELSE &#39;XX-large&#39;<br>END;<br><br>--calculating the total revenue<br>SELECT sum(total_price) As Total_revenue FROM pizza_sales<br><br>--calculating average order value<br>SELECT ROUND(sum(total_price) / count(distinct order_id), 2)  AS Avg_order_value<br>FROM pizza_sales<br><br>--calculating total pizza sold<br>SELECT sum(quantity) As Total_quantity_sold<br>FROM pizza_sales<br><br>--calculating the total order placed<br>SELECT count(distinct order_id) as Total_order_placed<br>FROM pizza_sales<br><br>--Calculating average pizza per order<br>SELECT CAST(CAST(sum(quantity) AS Dec(10,2))/<br> CAST(count(distinct order_id) AS Dec(10,2)) AS Dec(10,2)) AS Avg_order<br>FROM pizza_sales<br><br>--Daily trend for total orders<br>select DATENAME(weekday, order_date) AS Day, <br> COUNT(distinct order_id) As Total_order<br>FROM pizza_sales<br>Group by DATENAME(weekday, order_date)<br>Order by Total_order<br><br>-- percentage of pizza sold by pizza category<br>SELECT pizza_category,<br> ROUND(sum(total_price) *100/<br> (select sum(total_price) From pizza_sales),2) As sales_per_category<br>FROM pizza_sales<br>GROUP BY pizza_category<br><br>-- percentage of pizza sold by pizza size<br>SELECT pizza_size,<br> ROUND(sum(total_price) *100/<br> (select sum(total_price) From pizza_sales),2) As sales_per_size<br>FROM pizza_sales<br>GROUP BY pizza_size<br><br>-- top 5 best selling by revenue<br>SELECT TOP 5 <br> pizza_name,<br> sum(total_price) As Total_revenue<br>FROM pizza_sales<br>GROUP BY pizza_name<br>ORDER BY Total_revenue DESC<br><br>--BOTTOM 5 selling by revenue<br>SELECT TOP 5 <br> pizza_name,<br> sum(total_price) As Total_revenue<br>FROM pizza_sales<br>GROUP BY pizza_name<br>ORDER BY Total_revenue ASC<br><br>--Most Popular Pizza by Category and Size<br>SELECT pizza_category, pizza_size, pizza_name, <br>       SUM(quantity) AS total_quantity,<br>       RANK() OVER (PARTITION BY pizza_category, pizza_size ORDER BY SUM(quantity) DESC) AS rank<br>FROM pizza_sales<br>GROUP BY pizza_category, pizza_size, pizza_name<br><br>-- Best-Selling Pizza per Month<br>SELECT pizza_name, Total_quantity, month<br>FROM (SELECT sum(quantity) as Total_quantity, <br>   pizza_name,<br>   DATENAME(month, order_date) as Month,<br>   RANK() OVER(PARTITION BY DATENAME(month, order_date) ORDER BY sum(quantity)) as rank<br>         FROM pizza_sales<br>GROUP BY pizza_name, DATENAME(month, order_date)) AS Subquery<br>WHERE rank =1<br><br>-- Month-over-Month Revenue Growth % <br>WITH monthly_revenue AS (<br>    SELECT <br>        DATETRUNC(month, order_date) AS month,<br>        SUM(total_price) AS revenue<br>    FROM pizza_sales<br>      GROUP BY DATETRUNC(month, order_date)<br>),<br>revenue_growth AS (<br>    SELECT <br>        month,<br>        revenue,<br>        LAG(revenue) OVER (ORDER BY month) AS prev_month_revenue<br>    FROM monthly_revenue<br>)<br>SELECT <br>    month,<br>    revenue,<br>    prev_month_revenue,<br>    ROUND(((revenue - prev_month_revenue) * 100.0 / prev_month_revenue), 2) AS growth_percentage<br>FROM revenue_growth<br>WHERE prev_month_revenue IS NOT NULL;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5LDUjPbwT6-mmvUI2RgzNA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jQOC5dVoUgoP-4S2OgP9Pg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0340a73ff60a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Good Analysis Starts With Clean Data: A Data Science Job Posting Salary Analysis (Using Power…]]></title>
            <link>https://odewolemistura.medium.com/good-analysis-starts-with-clean-data-a-data-science-job-posting-salary-analysis-using-power-9479d5d5fc39?source=rss-8cc18962ff13------2</link>
            <guid isPermaLink="false">https://medium.com/p/9479d5d5fc39</guid>
            <dc:creator><![CDATA[Odewole mistura]]></dc:creator>
            <pubDate>Mon, 28 Apr 2025 17:39:21 GMT</pubDate>
            <atom:updated>2025-04-28T17:39:21.423Z</atom:updated>
            <content:encoded><![CDATA[<h3>🔍 Good Analysis Starts With Clean Data: A Data Science Job Posting Salary Analysis (Using Power Query)</h3><p>When we think about data analysis, it’s tempting to rush toward dashboards, reports, and insights. But the real success of any analysis lies <strong>before</strong> the visuals — in how clean, reliable, and structured the data is.</p><p>Recently, I worked on a <strong>Data cleaning project</strong> using a <strong>Data Science job posting dataset</strong>. Using <strong>Power Query in Excel</strong>, I cleaned messy real-world data and generated meaningful salary insights based on job roles, company size, and states.</p><p>Here’s how the journey went:</p><p>Project Background</p><p>The dataset included information like; Job Title, Salary Estimate, Company Name, Company Size, Location and Headquarters ,Industry, Sector, Revenue, Competitors .At first glance, it seemed analysis-ready. But like most real-world datasets, it needed serious <strong>cleaning and structuring</strong> before true analysis could happen.</p><p>Data Cleaning Process; I cleaned the data carefully using Power Query with the following steps:</p><ul><li><strong>Duplicated</strong> the original data to preserve the source.</li><li><strong>Checked and removed duplicates</strong>.</li><li><strong>Extracted salary ranges</strong> from text fields and split into minimum and maximum salary columns.</li><li><strong>Standardized salary figures</strong> (converting “K” to full numbers ×1000).</li><li><strong>Grouped job titles</strong> into broader <strong>job roles</strong> for better comparison.</li><li><strong>Extracted U.S. states</strong> from the location field and <strong>merged</strong> with a state mapping table for full names.</li><li><strong>Handled missing or remote locations</strong> by labeling them as “Others.”</li><li><strong>Removed rows</strong> with missing company size.</li><li><strong>Rearranged columns</strong> to improve structure and readability.</li></ul><p>Data Analysis and Insights: After preparing the data, I generated several key insights:</p><p>1. Salary by Job Role</p><ul><li>Calculated average minimum and maximum salaries for each job role.</li><li>Created a summarized view plus a detailed table for each role.</li></ul><p>2. Salary by Company Size</p><ul><li>Analyzed how salary ranges differ by company size (e.g., small, mid-sized, large companies).</li><li>Revealed trends in how company scale impacts compensation.</li></ul><p>3. Salary by State</p><ul><li>Merged the location data with a state mapping table.</li><li>Compared salary averages across U.S. states.</li><li>Categorized remote workers and unknown locations under “Others.”</li></ul><p>4. Salary by Company Size and Role Type</p><ul><li>Combined analysis to see how both company size and role influence salary.</li><li>Created grouped summaries for deeper insights.</li></ul><p>All of these were achieved <em>inside Power Query</em> — no manual formulas, no extra tools!</p><p>Key Takeaways</p><ul><li><strong>Data analysis is only as strong as the data preparation.</strong></li><li><strong>Small errors multiply quickly</strong> if not handled early.</li><li><strong>Power Query is an underrated tool</strong> that makes scalable data analysis possible without writing code.</li><li><strong>Real-world datasets require real patience</strong> — and that’s a skill worth building.</li></ul><p>Final Thoughts; <strong>Good data analysis is invisible until it’s not.</strong><br> When data is messy, the insights are misleading.<br> When data is cleaned thoughtfully, the insights speak for themselves.</p><p>Below are the snapshots of the uncleaned and cleaned dataset and also my generated insights</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t_2bqmuy-ILUcLhsOq7Z0Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gVyJ-hdzempAUYaBncTmLw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nZOZNdeM8roGLUxun_IHZA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vI1yyX7RY3_GKdQ4C3U-Qg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hIMqG8c8mcznjqyxLhZzxQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vI1yyX7RY3_GKdQ4C3U-Qg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9RmQKTg7k6BIic4ciPYXyg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sW6c43IMRX17olGMnisCqg.png" /></figure><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9479d5d5fc39" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[After my excel project, I moved to learning SQL.]]></title>
            <link>https://odewolemistura.medium.com/after-my-excel-project-i-moved-to-learning-sql-2eaa47b5bf99?source=rss-8cc18962ff13------2</link>
            <guid isPermaLink="false">https://medium.com/p/2eaa47b5bf99</guid>
            <dc:creator><![CDATA[Odewole mistura]]></dc:creator>
            <pubDate>Sun, 06 Apr 2025 10:06:05 GMT</pubDate>
            <atom:updated>2025-04-06T10:06:05.936Z</atom:updated>
            <content:encoded><![CDATA[<pre>select * from customers<br>select * from products<br>select * from orders<br>--find customer who has placed at least one order<br>select [customer id],[Customer Name]<br>from customers c<br>where exists (<br> select 1 <br> from orders o<br>    where c.[Customer ID] = o.[Customer ID])<br><br>SELECT distinct C.[customer id], C.[customer name], count(O.[order id]) NumberOfOrders<br>FROM customers C<br>JOIN orders O ON C.[customer id] = o.[customer id]<br>GROUP BY C.[customer id], C.[customer name]<br>HAVING count(O.[order id]) &gt;=1<br><br>--Find the top 5 customers with the highest total order quantity <br>WITH cte_quantity AS (<br>SELECT C.[customer id],<br>       C.[customer name],<br>    sum(quantity) TotalQuantity<br>FROM customers C<br>JOIN orders O<br> ON C.[customer id]= O.[customer id]<br>GROUP BY  C.[customer id], C.[customer name])<br>SELECT top 5 *<br>FROM cte_quantity<br>ORDER by totalquantity desc<br><br>--calculates the total revenue per customer and then filter customers who have spent more than $250<br>WITH cte_revenue AS (<br>SELECT c.[customer id],<br>    c.[Customer Name],<br>    sum(p.[unit price] * O.quantity) TotalRevenue<br>FROM customers c<br>JOIN orders O ON C.[Customer ID] = O.[Customer ID]<br>JOIN products P ON P.[Product ID] = O.[Product ID]<br>GROUP BY c.[customer id], c.[Customer Name])<br>SELECT * <br>FROM cte_revenue<br>where totalrevenue &gt; 250<br>ORDER BY TotalRevenue desc<br><br>--Retrieve all orders, including customer names and product details.<br>select O.[Order ID],O.[Order Date], O.[Customer ID],O.[Product ID], O.Quantity,<br>    C.[customer name],<br>    p.[Coffee Type], P.[Roast Type],<br>    (P.[Unit Price] * O.Quantity) Revenue<br> FROM orders O<br> JOIN customers C ON c.[Customer ID]= o.[Customer ID]<br> JOIN products P ON P.[Product ID] =O.[Product ID]<br><br> --Find customers who have never placed an order.<br> SELECT C.[Customer ID], C.[Customer ID],O.[Order ID]<br> FROM customers C <br> LEFT JOIN orders O ON C.[Customer ID] = O.[Customer ID]<br> WHERE O.[Order ID] IS NULL<br><br>select [customer id],[Customer Name]<br>from customers c<br>where NOT exists (<br> select 1 <br> from orders o<br>    where c.[Customer ID] = o.[Customer ID])<br><br> --Get a list of products that have never been ordered.<br> SELECT p.[product id], o.[order id]<br> FROM products P <br> left JOIN orders O ON P.[Product ID] =O.[Product ID]<br> WHERE [Order ID] is null<br><br> --Rank customers based on their total order quantity<br>WITH CustomerQuantity AS (<br>SELECT C.[customer name], C.[customer id], SUM(O.quantity) TotalQuantity<br>FROM customers C<br>JOIN orders O ON C.[Customer ID]= O.[Customer ID]<br>GROUP BY C.[customer name], C.[customer id])<br>SELECT * ,<br>RANK () OVER (ORDER BY TotalQuantity) as rank <br>FROM CustomerQuantity<br>ORDER BY rank desc<br><br>--For each coffee type, find the most and least expensive unit price.<br>SELECT [coffee type], [unit price]<br>FROM (select [coffee type], [unit price],<br>    RANK() OVER (PARTITION BY [coffee type] ORDER BY [unit price] desc)  MaxRank,<br>    RANK() OVER (PARTITION BY [coffee type] ORDER BY [unit price] asc)  MinRank<br>       FROM products) RankPrices<br>Where MaxRank = 1 Or minrank =1<br><br>--Show the cumulative revenue per customer, ordered by order date<br>SELECT C.[customer name], C.[customer id], O.[order date],<br>  sum(P.[unit price] * O.quantity) over (partition by c.[customer id] order by o.[order date] desc) Revenue<br>FROM customers C<br>JOIN Orders O ON C.[Customer ID] = O.[Customer ID]<br>JOIN Products P ON O.[Product ID] = P.[Product ID]<br><br>--Find all customers whose names start with &#39;J&#39; and live in &#39;ireland&#39; or &#39;united states&#39;<br>SELECT *<br>FROM customers<br>where [customer name] LIKE &#39;j%&#39; AND country in (&#39;ireland&#39;,&#39;United states&#39;)<br><br>--Find orders placed in the last 30 days.<br>SELECT *<br>FROM orders<br>WHERE [order date] between dateadd(day, -30, getdate()) and getdate()<br><br>--Find orders placed in the last 30 days in the dataset.<br>SELECT *<br>FROM orders<br>WHERE [order date] <br>BETWEEN dateadd(day, -30, (select max([order date]) from orders))<br>AND (SELECT max([order date]) from orders)<br><br>--11 Find the average profit per coffee type.<br>select avg(profit) AverageProfit, [coffee type]<br>from products<br>GROUP BY [coffee type]<br><br>--Find the total number of customers who have a loyalty card.<br>select count(*)<br>from customers<br>WHERE [Loyalty Card] = &#39;yes&#39;<br><br>--Find customers who have spent more than the average order value.<br>WITH cte_orderValue AS (<br>SELECT C.[customer name], C.[customer id], (P.[unit price] * O.quantity) ordervalue<br>FROM customers C<br>JOIN  orders O ON C.[Customer ID] = O.[Customer ID]<br>JOIN  Products P ON p.[Product ID] = o.[Product ID]<br>),<br>OrderValueAvg AS (select AVG(P.[unit price] * O.quantity) avgordervalue <br>FROM products P <br>JOIN orders O ON p.[Product ID] = o.[Product ID])<br>SELECT [Customer Name],[Customer ID],SUM(ORDERVALUE) CustomerOrderValue<br>FROM cte_orderValue<br>GROUP BY [Customer Name],[Customer ID]<br>HAVING SUM(ORDERVALUE) &gt; (SELECT avgordervalue FROM OrderValueAvg)<br><br>--Find customers who have spent more than the average order value.<br>SELECT C.[customer name], C.[customer id], sum(P.[unit price] * O.quantity) ordervalue <br>FROM customers C<br>JOIN  orders O ON C.[Customer ID] = O.[Customer ID]<br>JOIN  Products P ON p.[Product ID] = o.[Product ID]<br>GROUP BY C.[customer name], C.[customer id]<br>HAVING sum(P.[unit price] * O.quantity) &gt; <br> (select AVG(P.[unit price] * O.quantity) ordervalue <br>FROM products P <br>JOIN orders O ON p.[Product ID] = o.[Product ID])<br><br>--Find products that have a price higher than any product with a &#39;Light Roast&#39;.<br>select [product id]<br>FROM products<br>WHERE [Unit Price] &gt; ANY(<br>SELECT [unit price] from products where [roast type] = &#39;l&#39;)<br><br>--Find customers who have made more than one order.<br>SELECT distinct C.[customer id], C.[customer name], count(O.[order id]) NumberOfOrders<br>FROM customers C<br>JOIN orders O ON C.[customer id] = o.[customer id]<br>GROUP BY C.[customer id], C.[customer name]<br>HAVING count(O.[order id]) &gt;1</pre><p>After my excel project, I moved to learning SQL. I got introduced to what SQL means and sql languages (DDL, DML,DCL). I learnt what database abd database objects means. I learnt the sql datatype- the string datatype (varchar, char,nchar etc), the numerical datatype (int, tinyint,Dec,smallint etc) and the date datatype. I learnt the sql numerical functions(abs floor, ceiling, rand,pi, round,min, max etc). Then the string functions (concat,len, left, str,replace, replicate charindex etc). I then learnt the date functions (gettdate, dateadd, datename, datediff etc). I learnt the format function to format data to percentage, currency or a specific date format.</p><p>I learnt the basic sql syntax and what they’re used to query ( create, select, update, alter, delete etc). Moved to sql like operator and the wildcards used in conjunction with this operator (%,-,[] etc)</p><p>I learnt aggregate functions used to summarise our data and how they’re used in sql with their syntaxes. I learnt the case statements which enables us to categories records in a fields.</p><p>I learnt the SQL constraints (such as NULL, NOT NULL, IDENTITY, CHECK, DEFAULT, UNIQUE, PRY and FOREIGN keys etc)which are uses to entire rules for a data when creating a table. I learnt to give my sql statements and aliases too.</p><p>I learnt the SQL joins which is used to combine records from two or more tables based on a related field. Types of joins (full outer, inner, left ,right). I learnt the self join too which is used to join a table with itself. I learnt sql union to combine set of two or more select statements from tables that have the same number if columns, datatype and order. I learnt to create views which are temporary tables in the database</p><p>Confidently, I can create a database, create table and the field specifying the datatype and also enforce rules on them with constraints. I can insert records into the field. I can use the select, from, where, group by and having (for aggregate functions), order by syntax to perform a query. I can join two or more tables to answer questions. I can update my table, alter it by dropping or adding a column or changing the column(field) name or datatype.<br>UP NEXT IS PRACTISING ALL I’VE LEARNT IN A REAL DATASET. s</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2eaa47b5bf99" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I started my data analysis journey in January 2025.]]></title>
            <link>https://odewolemistura.medium.com/i-started-my-data-analysis-journey-in-january-2025-35617054476b?source=rss-8cc18962ff13------2</link>
            <guid isPermaLink="false">https://medium.com/p/35617054476b</guid>
            <dc:creator><![CDATA[Odewole mistura]]></dc:creator>
            <pubDate>Tue, 25 Mar 2025 15:58:51 GMT</pubDate>
            <atom:updated>2025-03-25T15:58:51.422Z</atom:updated>
            <content:encoded><![CDATA[<p>I started my data analysis journey in January 2025. In the past weeks, I learned what data analysis entails, the process of analysis, data types, and the tools used to analyse data. Then, I proceeded with the first tool , EXCEL (spreadsheet). I learned what builds up a spreadsheet (columns, rows, and cells). Distinguished between a workbook and a worksheet.</p><p>I learnt the use of some tabs and their ribbons in the excel worksheet (like alignment, paste special, freeze panes and others). I learnt what the terms function and formular meant and then proceeded to conditional formatting which is used to format cells (values) based on conditions.</p><p>I learnt basic formulars like add, subtract, multiply and divide and also what some errors means.. errors like #value, #div/0, ###...ref error. I proceeded to the count and start function (like large, rank, min, max...), then to conditional function like the averageif(s), countif(s), sumif(s)...&amp;other</p><p>I learnt string functions like (trim, concat, left, find, replace...&amp;others) which are essential for data cleaning. I also learnt the date functions (like year, workdays, now, today,month, year, weeknum,...&amp;others) which are also essential for data cleaning.</p><p>I learnt the logical functions (IF(S)).. iferror and the operators AND, OR, NOT. I also learnt math formula like int, round, mod and their use. I proceeded to sorting and filtering which are essential for data cleaning also and to check for duplicates. I learnt cells referening (absolute, relative and mixed).</p><p>I learnt the lookup functions (vlookup, xlookup, hlookup, index and match. I learnt other functions like row(s), column(s), offset.</p><p>I proceeded to data validation which is important for data security and rule enforcement. I moved to introduction to charts where I learnt the different types of charts and where they&#39;re best applied. I proceeded to pivot table which is used to summarise dataset and answer questions. I learnt to create pivot table... how to insert calculated field and calc item.</p><p>I learnt how to create pivot chart and basic formatting of charts.</p><p>I learned to use power query for data cleaning <br>I learned what makes data dirty - inconsistencies, duplicate, wrong format, blank/ missing values, etc</p><p>Power query cleaning process is EXTRACT- TRANSFORM- LOAD (or E-L-T). I learnt how to extract data into power query, transform the data (then cleaning happens here).. to clean the data using the tabs and ribbon in the sheet. I learnt to remove duplicate, remove unwanted columns, merge queries, create calculated columns (custom columns), conditional coulmn, index column (to give the rows unique number), format data type and all other cleaning process. The cleaned data is then load back to excel sheet where pivot table and charts can be created for other analysis.</p><p>FIRST EXCEL PROJECT. I worked on my first Excel project and presented it to my learning colleagues. I used power query to merge 3 tables as one and cleaned the merged table before loading it back to Excel, where I created pivot table to generate insight and visualise it with pivot charts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pglzRLqTxcemNY5rbq3poA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9CtQ1uhvNw8SjCziZ-1Tcg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35617054476b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>