<?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 Shubham Bhosale  on Medium]]></title>
        <description><![CDATA[Stories by Shubham Bhosale  on Medium]]></description>
        <link>https://medium.com/@bhosales.rs70?source=rss-7f8eab7054de------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jvZ7JsIVs-OCiNwRXyH6sA.png</url>
            <title>Stories by Shubham Bhosale  on Medium</title>
            <link>https://medium.com/@bhosales.rs70?source=rss-7f8eab7054de------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 19:06:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bhosales.rs70/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[Transforming Sales Data Management at Axon with Power BI and SQL]]></title>
            <link>https://medium.com/@bhosales.rs70/transforming-sales-data-management-at-axon-with-power-bi-and-sql-ecd536e845ea?source=rss-7f8eab7054de------2</link>
            <guid isPermaLink="false">https://medium.com/p/ecd536e845ea</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[power-bi]]></category>
            <dc:creator><![CDATA[Shubham Bhosale ]]></dc:creator>
            <pubDate>Sat, 15 Jun 2024 17:39:54 GMT</pubDate>
            <atom:updated>2024-06-15T17:39:54.899Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s data-driven world, the ability to manage and analyze sales data effectively is crucial for any retail business. At Axon, a retailer specializing in classic cars, the lack of a centralized system for sales data management was hindering the sales team’s ability to make informed decisions. This challenge spurred the need for a robust Business Intelligence (BI) solution. Here’s how we transformed Axon’s sales data management using Power BI and SQL.</p><p><strong>Data:</strong></p><p>Download &gt; <a href="https://github.com/shubham700dbzgithub/Axon-Retail-Dashboard">SQL file</a></p><p><strong>Problem Statement:</strong></p><p>A small company Axon, which is a retailer selling classic cars, is facing issues in managing and analyzing their sales data. The sales team is struggling to make sense of the data and they do not have a centralized system to manage and analyze the data. The management is unable to get accurate and up-to-date sales reports, which is affecting the decision-making process.</p><p>To address this issue, the company has decided to implement a Business Intelligence (BI) tool that can help them manage and analyze their sales data effectively. They have shortlisted Microsoft Power BI and SQL as the BI tools for this project.</p><p><strong>Questions:-</strong></p><ol><li>Which product line has the highest total sales?</li><li>What is the trend of sales over the years?</li><li>Who are the top 10 customers by total purchase value?</li><li>How does sales performance vary by employee?</li></ol><p><strong>Database Description</strong></p><p>Our MySQL sample database schema consisted of eight tables:</p><ul><li><strong>Customers:</strong> Stores customer data.</li><li><strong>Products:</strong> Stores a list of scale model cars.</li><li><strong>Product Lines:</strong> Stores a list of product line categories.</li><li><strong>Orders:</strong> Stores sales orders placed by customers.</li><li><strong>Order Details:</strong> Stores sales order line items for each sales order.</li><li><strong>Payments:</strong> Stores payments made by customers.</li><li><strong>Employees:</strong> Stores employee information and organization structure.</li><li><strong>Offices:</strong> Stores sales office data.</li></ul><p><strong>Data Import</strong></p><p>To import the data we need to connect the My SQL workbench with Power BI and to load the SQL file in the workbench follow the steps.</p><p><em>Open My SQL workbench &gt; File &gt; Open SQL Script &gt; Run the query</em></p><p>Now lets import the data from My SQL database to the Power BI follow the steps.</p><p><em>Get data &gt; more &gt; MySQL database &gt; Connect</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ypa_k8K2Xzw2bXOAO8XdRw.png" /></figure><p>Fill the server and the database name do the following.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/1*deWZj1EuYSPRYqLHoVvM-Q.png" /><figcaption>Click on the + icon to get the server name</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vy0_z4_JJkXVqpPFmJ9JRQ.png" /></figure><p>Fill the server as (Hostname : Port) in the server and the name of database you created by running the SQL file the database name should be as it is.</p><p><strong>Data Cleaning</strong></p><p>After getting the files click on transform data option this will open the Power Query Editor where we will be doing the data cleaning and transformation. This included handling missing values, removing duplicates, and verifying data types. Clean data is the foundation of reliable BI reporting.</p><p><strong>Data Modeling</strong></p><p>We created relationships between these tables based on primary and foreign keys to establish a coherent data model. This included linking Orders to Customers, OrderDetails to Orders, Products to ProductLines, and Orders to Offices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3fi2T0DHNdbjQ-Ly9MruyA.png" /></figure><p><strong>Data Analysis</strong></p><p>With the data prepared, we moved on to creating various visualizations in Power BI. Here are some of the key questions we aimed to answer with our visualizations:</p><ol><li>Which product line has the highest total sales?</li></ol><p>We used a bar chart to sum total sales by product line, helping Axon identify their top-selling categories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*Ic-8n8DBsyKa4CTAXpFiHQ.png" /></figure><p>2. What is the trend of sales over the years?</p><p>Lets plot a line chart to see monthly sales data, seasonal trends and sales performance over time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*Jl5pIN_C5lSODxAlYGttxg.png" /></figure><p>3. Who are the top 10 customers by total purchase value?</p><p>Lets create a bar chart to display top 10 customers, it is essential for targeted marketing and customer relationship management.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Bkq99yvewloW9NdSh0ONQ.png" /></figure><p>4. How does sales performance vary by employee?</p><p>Lets create a chart to show total sales by each employee, to identify high performers and those needing support.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*iXBNcxu1cgKhWk5HfnaBow.png" /></figure><h4>Dashboard Creation</h4><p>We assembled these visualizations into a cohesive dashboard, offering Axon’s management an interactive tool to explore and analyze their sales data in real-time. The dashboard provided a comprehensive view of key performance indicators and trends, supporting strategic decision-making.</p><p><a href="https://github.com/shubham700dbzgithub/Axon-Retail-Dashboard"><strong>Axon Retail Sales Dashboard</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3N8lAx2KxRqpLvjH27ApQg.png" /><figcaption>Axon Sales Report</figcaption></figure><p><strong>Results and Insights</strong></p><p>The implementation of our BI solution yielded several valuable insights:</p><ul><li><strong>Highest Sales by Product Line:</strong> We identified the product line that generated the highest revenue, allowing us to prioritize inventory and marketing efforts.</li><li><strong>Sales Trends:</strong> Analyzing sales trends over the years helped us understand seasonality and the effectiveness of our sales strategies.</li><li><strong>Key Customers:</strong> Identifying our top 10 customers by purchase value enabled us to strengthen relationships and target them with personalized promotions.</li><li><strong>Employee Performance:</strong> Analyzing sales performance by employee highlighted our top performers and those who might need additional support.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ecd536e845ea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Analyzing Superstore Sales Data with Power BI: A Comprehensive Case Study]]></title>
            <link>https://medium.com/@bhosales.rs70/analyzing-superstore-sales-data-with-power-bi-a-comprehensive-case-study-b99be3ae4f70?source=rss-7f8eab7054de------2</link>
            <guid isPermaLink="false">https://medium.com/p/b99be3ae4f70</guid>
            <category><![CDATA[data-analysis]]></category>
            <dc:creator><![CDATA[Shubham Bhosale ]]></dc:creator>
            <pubDate>Sun, 09 Jun 2024 07:33:51 GMT</pubDate>
            <atom:updated>2024-06-09T10:40:04.720Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong></p><p>In today’s competitive retail environment, data-driven insights are crucial for managing operations and driving sales. In this case study, we explore how a superstore can leverage Power BI to gain valuable insights from sales data. This project entails data extraction, cleaning, transformation, modeling, and visualization to assist a new store manager in understanding and optimizing store performance.</p><p><strong>Problem Statement:</strong></p><p>Data Extraction, Cleaning, Loading and Transformation</p><p>1. Desk representatives at the stores are not tech savvy hence they directly share the data in the single excel file. As a Power BI Developer, read the data directly from the excel file.</p><p>2. The data coming from the source is in raw form in the flat file; hence clean and prepare (transform) the dataset for efficient use. Delete the empty columns and rows, change the fields to appropriate data types and split the fields and rename the columns appropriately.</p><p>3. Standardize the values in the column Ship mode.</p><p>4. Split the address column to City, State, Country and Pincode.</p><p><strong>Step 1</strong>: <strong>Data Extraction and Preparation</strong></p><p>Reading Data from Excel<br>First, we import the sales data from an Excel file into Power BI Desktop:<br>1. Open Power BI Desktop.<br>2. Click on `Home` &gt; `Get Data` &gt; `Excel` and select your dataset.</p><p><strong>Cleaning the Data</strong></p><p>In Power Query Editor, we perform the following steps:<br>1. Remove any empty columns and rows to ensure clean data.<br>2. Change data types of columns appropriately (e.g., dates, text, numbers).<br>3. Rename columns for clarity, making them more descriptive.</p><p><strong>Standardizing Ship Mode Values</strong></p><p>We standardize values in the Ship Mode column:<br>1. Select the Ship Mode column.<br>2. Use `Replace Values` to change abbreviations like “FC” to “First Class”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hFF3OYyeZvfvRkLSjvITiw.png" /></figure><p><strong>Splitting the Address Column</strong></p><p>If the address is in a single field, we split it into City, State, Country, and Pincode:<br>1. Select the address column.<br>2. Use `Split Column` feature to divide it into the required parts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4lj3SzeUJQI2g8XdcGbvxg.png" /></figure><p><strong>Step 2:</strong> <strong>Data Modeling</strong></p><p>Creating the STAR Schema</p><p>We optimize the dataset by creating a STAR schema with a central Fact table (`Orders`) and three Dimension tables (`Order Details`, `Customer`, `Product`):</p><ul><li>Orders (Fact Table): Contains Order ID, Order Date, Ship Date, Customer ID, Product ID, Quantity, Discount, Buy Price, Price Per Each, and Sales (new calculated column).</li><li>Order Details (Dimension): Includes Ship Mode, Postal Code, Region.</li><li>Customer (Dimension): Contains Customer ID, Customer Name, Segment.</li><li>Product (Dimension): Includes Product ID, Category, Sub-Category, Product Name.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/1*f4rC8kxudwcNHDOW4dCBmA.png" /><figcaption>STAR Schema</figcaption></figure><p>Removing Duplicates and Empty Rows. We ensure each dimension table has unique entries without empty rows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*1vNF1X2F3GFv32--nTCDeg.png" /></figure><p><strong>Step 3:</strong> <strong>Data Analysis</strong></p><p>Calculating Sales (Order Value)<br>We add a new column for Sales in the `Orders` table using DAX:</p><pre>Sales = Orders[Quantity] * Orders[Price Per Each] * (1 - Orders[Discount])</pre><p>Sales from Discounted Products<br>We create a measure to calculate sales from discounted products:</p><pre>Discounted Sales = SUMX(FILTER(Orders, Orders[Discount] &gt; 0), Orders[Sales])</pre><p><strong>Categorizing Cart Value</strong></p><p>Since supermarkets sell bulk items, store managers want to know each order’s cart value. So we will create a column “Cart Value” that categorizes the order value/sales as Low, medium, high or very high using power query with the help of Conditional Column.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sq_qHlfpAchu0wuvD3705w.png" /></figure><p>A pie chart visualizes the distribution of cart values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*JunbNE9TGBtMHIt79nPmMg.png" /></figure><p><strong>Calculating Low Cart Value Sales</strong></p><pre>Low cart sales = CALCULATE(SUM(Orders[Sales]), FILTER(ALL(Orders[Cart Value]), Orders[Cart Value] = &quot;Low&quot;))</pre><p>Lets track the total sales coming from the low cart category and discount more than or equal to 50% to find out the contribution and cause.</p><pre>Low cart sales above 50% discount = CALCULATE(SUM(Orders[Sales]), FILTER(ALL(Orders[Cart Value]), Orders[Cart Value] = &quot;Low&quot;), ALL(Orders[Discount]), Orders[Discount] &gt;= 0.50)</pre><p><strong>Calculating Delivery Days</strong></p><p>We add a column to calculate the number of days taken for delivery. Lets look at the number of days it takes to deliver for each shipment type (refer ship mode) so that delivery issues can be looked at on priority. Use the table view.</p><pre>Delivery Days = DATEDIFF(Orders[Order Date], Orders[Ship Date], DAY)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*8ujysQfdt93q4KVDHt4D0g.png" /></figure><h4><a href="https://github.com/shubham700dbzgithub/Superstore-Retail-Business-Analysis-Using-Power-BI"><strong>Superstore Sales Data Report</strong></a></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OltPbstjmPAwrOwyQYk07g.png" /></figure><h4>Conclusion</h4><p>This Power BI project demonstrates how to transform raw sales data into actionable insights through careful data preparation, modeling, and visualization. By following these steps, the superstore can make informed decisions, optimize operations, and drive sales growth. This case study serves as a practical guide for anyone looking to leverage Power BI for retail data analysis.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b99be3ae4f70" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>