<?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 Mani Chandana Btech on Medium]]></title>
        <description><![CDATA[Stories by Mani Chandana Btech on Medium]]></description>
        <link>https://medium.com/@mani.chandana.btech2024?source=rss-290f0aa61f75------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*zvZfK8IxnXnPztWw</url>
            <title>Stories by Mani Chandana Btech on Medium</title>
            <link>https://medium.com/@mani.chandana.btech2024?source=rss-290f0aa61f75------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 10:02:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mani.chandana.btech2024/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[Sample Superstore Analysis Using Power BI and R]]></title>
            <link>https://medium.com/@mani.chandana.btech2024/sample-superstore-analysis-using-power-bi-and-r-3a7c8d2a669f?source=rss-290f0aa61f75------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a7c8d2a669f</guid>
            <dc:creator><![CDATA[Mani Chandana Btech]]></dc:creator>
            <pubDate>Fri, 16 Oct 2026 13:53:32 GMT</pubDate>
            <atom:updated>2026-10-16T13:53:32.598Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*zqqPURi5YhyZKfDt.jpg" /></figure><p><strong>Introduction</strong></p><p>I created an interactive sales dashboard using the Sample Superstore dataset in Power BI to analyse sales, profit, product categories, and customer segments.</p><p><strong>Dashboard Overview</strong></p><p>The dashboard includes KPI cards, slicers, bar charts, a treemap, and a donut chart to summarise business performance and explore sales patterns across different categories and regions.</p><p><strong>R Visualizations and Analysis</strong></p><p>I integrated R with Power BI to perform more detailed statistical analysis. A <strong>scatter plot</strong> helped examine the relationship between sales and profit, while a <strong>histogram</strong> showed the distribution of sales values. I also used a <strong>correlation heatmap</strong> to study relationships between sales, profit, quantity, discount, and shipping cost. Finally, I created a <strong>monthly sales trend with forecasting</strong> using the Holt-Winters method to explore historical sales patterns and estimate future sales.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*sA1FfxLn4XGTsh--FWRg4Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*7LeJMV54pnkyCsc-g7OEMQ.png" /></figure><p>These R visuals added statistical analysis to the dashboard beyond standard charts, helping me explore relationships, distributions, and possible future trends.</p><p><strong>Conclusion</strong></p><p>This project helped me understand how Power BI and R can work together to create interactive dashboards and perform statistical analysis. It also improved my skills in data visualization, exploratory data analysis, and forecasting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*7heS-u__dyk7aEJpuBtGfw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a7c8d2a669f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adventure Works Sales Analysis Using Power BI and DAX]]></title>
            <link>https://medium.com/@mani.chandana.btech2024/adventure-works-sales-analysis-using-power-bi-and-dax-01314c30fae4?source=rss-290f0aa61f75------2</link>
            <guid isPermaLink="false">https://medium.com/p/01314c30fae4</guid>
            <dc:creator><![CDATA[Mani Chandana Btech]]></dc:creator>
            <pubDate>Sun, 11 Oct 2026 15:42:24 GMT</pubDate>
            <atom:updated>2026-10-11T15:42:24.922Z</atom:updated>
            <content:encoded><![CDATA[<p>In this blog, I used the Adventure Works dataset to analyse sales data using Microsoft Power BI to explore DAX measures and calculate values to study business trends and build an interactive dashboard.</p><p><strong>1. Creating KPI Measures</strong></p><p>I combined the all 3 year sales data and used the product, customer, calendar, category, and territory tables to perform analysis.</p><p>I created DAX measures to calculate important values such as Total Sales, Total Profit, Total Orders, Total Customers, Average Sales, Average Order Value, and Profit Margin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PphLgXFEsqHdFIvzcIZZGw.png" /><figcaption>figure 1:KPI Measures</figcaption></figure><p><strong>2. Creating Additional DAX Measures</strong></p><p>After creating the main KPIs, I added more measures to study order quantities, product prices, customer sales, and returned quantities. I also calculated sales for single-unit and multiple-unit orders.</p><p>These measures helped me understand the dataset beyond the basic sales totals and made it easier to create different types of reports.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dG1QlrV6QqEviL-I6T6-Uw.png" /></figure><p><strong>3. Time-Based Sales Analysis</strong></p><p>Next, I created measures for Monthly Sales, Previous Period Sales, Sales Variance, and Sales Growth Percentage.</p><p>I used these measures to compare sales across different years. The visuals showed that sales increased from 2020 to 2021 and decreased slightly in 2022 compared with 2021.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*odL7C_k2hiRhlAejJbw2Qg.png" /></figure><p><strong>4. Validating Measures Using DAX Queries</strong></p><p>I used Power BI’s DAX Query View to run queries and check the results of my measures. I tested values such as Total Sales, Total Cost, Total Profit, Total Orders, and Total Customers.</p><p>I also used a query to compare yearly sales with previous-period sales and sales growth. This helped me check whether my calculations were working as expected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*allHLdzgcpvtiD6GcMmdXQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*opuCkFL-hOZrgXuCKZtoOg.png" /><figcaption>Figure 4:DAX Queries</figcaption></figure><p><strong>5. Building the Interactive Dashboard</strong></p><p>Finally, I created an interactive dashboard called <strong>Adventure Works Sales Performance Dashboard</strong>. I used a pastel colour theme to make it clear and visually appealing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S-B0sUV16NnPNbSf2XlP6g.png" /></figure><p><strong>Analysis and Findings</strong></p><ul><li>Total sales were <strong>24.91M</strong>, and total profit was <strong>10.46M</strong>, with a profit margin of approximately <strong>41.97%</strong>.</li><li>Sales increased from <strong>6.40M in 2020 to 9.32M in 2021</strong>, showing growth of about <strong>45.58%</strong>. In 2022, sales decreased slightly to <strong>9.19M</strong>, a decline of around <strong>1.49%</strong>.</li><li>The monthly sales chart shows higher sales around May and June, followed by a sharp drop in July. Sales recovered slightly towards December.</li><li>The treemap shows that <strong>Road Bikes, Mountain Bikes, and Touring Bikes</strong> contribute a large share of product sales.</li><li>Australia had the highest regional sales at approximately <strong>7.4M</strong>, followed by Southwest at <strong>4.8M</strong>. Some regions showed very low sales in comparison.</li><li>The bubble chart shows that Bikes generate the highest sales and profit among the displayed categories.</li><li>The customer occupation chart shows that Professionals form the largest customer group, at approximately <strong>29.89%</strong>.</li></ul><p><strong>Conclusion</strong></p><p>Through this practical, I learned how to create DAX measures, compare sales across years, and validate calculations using DAX queries. The dashboard helped me understand sales trends, product performance, regional differences, and customer distribution in one place. I also learned how slicers and different charts make data easier to explore and understand.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=01314c30fae4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring AdventureWorks Sales Data Using Power Query and Power BI]]></title>
            <link>https://medium.com/@mani.chandana.btech2024/exploring-adventureworks-sales-data-using-power-query-and-power-bi-35e16f7e1f5d?source=rss-290f0aa61f75------2</link>
            <guid isPermaLink="false">https://medium.com/p/35e16f7e1f5d</guid>
            <dc:creator><![CDATA[Mani Chandana Btech]]></dc:creator>
            <pubDate>Sat, 22 Aug 2026 15:07:21 GMT</pubDate>
            <atom:updated>2026-08-22T15:15:25.991Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SB6cO6qQNOfTDGWz.jpg" /></figure><h3>From raw sales records to dashboards, DAX analysis, and business insights</h3><p>Data visualization is often thought of as the final step of data analysis — creating charts, dashboards, and visuals that make information easier to understand. But before a dashboard can tell a meaningful story, the data behind it needs to be prepared, transformed, and validated.</p><p>For this practical, I worked with the <strong>AdventureWorks sales dataset</strong> using <strong>Power Query and Power BI</strong>. I started with data transformation, moved into sales analysis, and finally used DAX and conditional logic for more advanced insights.</p><p>What made the practical interesting was that not everything worked perfectly the first time. I encountered a 10-row mismatch while appending data, an issue with the Top 10 customer analysis, and a territory-filtering problem that required fixing the data relationship.</p><p>So, instead of simply creating visuals, the practical became a journey of <strong>understanding the data, finding problems, fixing them, and then turning the results into insights</strong>.</p><h3>Getting to Know the AdventureWorks Dataset</h3><p>The dataset used for this practical was <strong>AdventureWorks</strong>, Microsoft’s sample dataset based on a fictional bicycle business.</p><p>The main table I worked with was <strong>Internet Sales(Combined 2020,2021,2022 Sales data)</strong>, which contains information such as Order Date, Customer Key, Product Key, Order Quantity, Sales Amount, Tax Amount, and Territory Key.</p><p>The sales data is supported by lookup tables such as <strong>Product, Product Subcategory, Product Category, Customer, and Sales Territory</strong>. These tables make it possible to turn numerical keys into useful information such as product names, categories, customer names, regions, and countries.</p><p>This made AdventureWorks a useful dataset for exploring both <strong>data transformation and business-oriented analysis</strong>.</p><h3>Preparing the Data with Power Query</h3><p>The first stage of the practical focused on <strong>Power Query</strong>.</p><h3>Grouping</h3><p>I started by using <strong>Group By</strong> to summarize the sales data from different perspectives. I calculated total sales by product category, average sales by customer, total quantity by product subcategory, average order quantity by territory, order records by customer, and the highest individual sale within each category.</p><p>One interesting result was that <strong>Tires and Tubes</strong> had the highest quantity sold among the product subcategories, with <strong>29,772 units</strong>. This also showed that the products selling the most units aren’t necessarily the ones generating the most revenue.</p><p>For the territory analysis, I merged the grouped data with the Territory Lookup table to replace TerritoryKey with readable Region and Country information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8IuVcrmy2eurW68dnBdVcA.png" /></figure><h3>Pivoting and Unpivoting</h3><p>Next, I experimented with changing the structure of the data.</p><p>I created a table containing Product Category, Sales Amount, Tax Amount, and Order Quantity and then <strong>unpivoted</strong> the numerical columns.</p><p>The resulting Attribute and Value columns were renamed to <strong>Metric</strong> and <strong>Amount</strong>.</p><p>I then pivoted the data back to its original structure and checked the result to make sure the transformation had not changed the underlying information.</p><p>This was a useful introduction to how the same information can be represented in different structures depending on what the analysis requires.</p><h3>Appending Queries</h3><p>For the append operation, I split the Internet Sales data into two halves and then combined them again.</p><p>Initially, there was a <strong>10-row mismatch</strong> between the split data and the original table. I checked the split boundary, corrected it, and then appended the two halves.</p><p>The final combined table contained <strong>56,046 rows</strong>, matching the original dataset.</p><p>This was a small but important reminder that row counts should always be checked after major transformations.</p><h3>Merging Queries</h3><p>Finally, I used <strong>Merge Queries</strong> to enrich the Internet Sales data.</p><p>I merged the sales data with the Product Lookup table using <strong>ProductKey</strong> and expanded information such as:</p><ul><li>Product Name</li><li>Color</li><li>Standard Cost</li></ul><p>I then merged the Product Subcategory and Product Category tables to bring in the product hierarchy.</p><p>The result was much more useful than a table containing only numerical keys.</p><h3>Turning the Data into Sales Insights</h3><p>Once the data was prepared, I moved into Power BI.</p><p>I created visuals to analyze sales by <strong>category, territory, product, customer, year, and month</strong>.</p><p>Some of the main analyses included:</p><ul><li>Total sales by product category</li><li>Total sales by sales territory</li><li>Top 10 products based on sales</li><li>Top 10 customers based on sales</li><li>Average sales by category</li><li>Total quantity by category</li><li>Highest- and lowest-selling products</li><li>Sales by calendar year</li><li>Sales by month</li></ul><p>For the Top 10 customer analysis, I initially ran into an interesting issue. Using <strong>FirstName</strong> for the Top N filter resulted in more than ten customers because different customers can have the same first name.</p><p>The solution was to filter using <strong>CustomerKey</strong>, which uniquely identifies each customer, while still displaying FirstName and LastName in the visual.</p><h3>When the Dashboard Didn’t Look Right</h3><p>The most interesting problem came during the territory analysis.</p><p>My first visual showed <strong>the exact same sales value for every territory</strong>.</p><p>That immediately suggested that something was wrong.</p><p>After investigating, I found that the territory information wasn’t correctly filtering the Internet Sales data. I corrected the connection using:</p><p><strong>TerritoryKey → SalesTerritoryKey</strong></p><p>and then expanded the Region field.</p><p>After rebuilding the visual, each territory displayed its own sales value. The <strong>Top 1</strong> analysis identified <strong>Australia as the highest-revenue territory</strong>, while the <strong>Bottom 1</strong> analysis identified <strong>Central as the least-revenue territory</strong>.</p><p>This was probably my biggest takeaway from the practical: <strong>a visualization can only be as reliable as the data model behind it.</strong></p><h3>Going Beyond Basic Visuals with DAX</h3><p>The advanced tasks introduced <strong>DAX</strong>, allowing me to move beyond simple sums and averages.</p><h3>Ranking Product Categories</h3><p>I used RANKX to rank product categories based on total sales:</p><pre>Category Rank =<br>RANKX(<br>    ALL(&#39;Internet Sales&#39;[CategoryName]),<br>    CALCULATE(SUM(&#39;Internet Sales&#39;[SalesAmount])),<br>    ,<br>    DESC,<br>    DENSE<br>)</pre><ol><li><strong>Bikes</strong></li><li><strong>Accessories</strong></li><li><strong>Clothing</strong></li></ol><h3>Identifying Above-Average Products</h3><p>I created measures for:</p><ul><li>Product Total Sales</li><li>Average Product Sales</li><li>Above Average Sales</li></ul><p>The final classification allowed me to filter the product table and display only products whose sales were above the overall product average.</p><h3>Customer Spending Categories</h3><p>I also grouped customers based on their total sales.</p><p>The categories were:</p><ul><li><strong>0–500 → Low</strong></li><li><strong>501–2,000 → Medium</strong></li><li><strong>Above 2,000 → High</strong></li></ul><p>The resulting customer counts were:</p><ul><li><strong>Low:</strong> 8,587</li><li><strong>Medium:</strong> 3,458</li><li><strong>High:</strong> 5,371</li></ul><p>This gave a simple way of looking at the customer base through spending segments.</p><h3>Category Contribution to Total Sales</h3><p>I created a DAX measure to calculate the percentage contribution of each category:</p><pre>Category Sales % =<br>DIVIDE(<br>    SUM(&#39;Internet Sales&#39;[SalesAmount]),<br>    CALCULATE(<br>        SUM(&#39;Internet Sales&#39;[SalesAmount]),<br>        ALL(&#39;Internet Sales&#39;[CategoryName])<br>    ),<br>    0<br>)</pre><p>The results were particularly interesting:</p><ul><li><strong>Bikes:</strong> approximately 94.9%</li><li><strong>Accessories:</strong> approximately 3.6%</li><li><strong>Clothing:</strong> approximately 1.5%</li></ul><p>So although there were three product categories, Bikes accounted for the overwhelming majority of total sales.</p><h3>A Few More Ways to Look at the Data</h3><p>The final advanced analyses looked at sales from two different perspectives.</p><p>First, I classified dates into <strong>Weekday</strong> and <strong>Weekend</strong> using the day extracted from OrderDate. A clustered column chart showed that <strong>weekday sales were noticeably higher than weekend sales</strong> in this dataset.</p><p>I also created <strong>Sales Bands</strong> to classify individual sales records into:</p><ul><li>Low: ≤ 500</li><li>Medium: ≤ 2,000</li><li>High: &gt; 2,000</li></ul><p>A donut chart was then used to visualize the distribution across these bands.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hDgRnsEQ6iUFECgkGNXYCg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d1fk4IS9_hYdsJMpqMYVcQ.png" /></figure><h3>Key Insights</h3><p>After going through the different analyses, a few results stood out.</p><p><strong>Bikes dominated sales.</strong><br> They ranked first among the product categories and contributed approximately <strong>94.9% of total sales</strong>.</p><p><strong>Australia had the highest revenue among the territories</strong> after the territory relationship was corrected.</p><p><strong>Central had the lowest revenue</strong> in the final territory analysis.</p><p><strong>Weekday sales were higher than weekend sales</strong>, showing a noticeable difference between the two periods.</p><p>The customer segmentation also showed that the largest customer group was the <strong>Low spending category</strong>, with 8,587 customers.</p><h3>What I Learned</h3><p>The biggest lesson from this practical was that <strong>Power BI is not just about creating charts</strong>.</p><p>A large part of the work happens before the visualization is created.</p><p>Power Query taught me how important it is to validate transformations. The 10-row mismatch during the append operation showed why checking row counts matters.</p><p>The merge operations helped me understand how lookup tables turn raw keys into meaningful information.</p><p>The territory issue showed me that even a perfectly configured visual can give misleading results if the underlying relationships are wrong.</p><p>Finally, DAX showed me how Power BI can go beyond basic aggregation. Ranking, averages, classifications, and percentage calculations allowed me to ask more meaningful questions of the data.</p><h3>Conclusion</h3><p>This practical took me through the complete process of working with sales data — from <strong>raw records to transformation, modeling, visualization, and analysis</strong>.</p><p>The most valuable part wasn’t simply getting the final visuals. It was understanding why the data sometimes behaved differently from what I expected and learning how to investigate those problems.</p><p>What started as a collection of sales records eventually became a set of visuals and analyses that could tell a much clearer story about products, customers, territories, and sales performance.</p><p>And perhaps the biggest takeaway is that <strong>good data visualization starts long before the chart is created.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35e16f7e1f5d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Raw Sales Data to Meaningful Insights: Exploring Power Query and Power BI with AdventureWorks]]></title>
            <link>https://medium.com/@mani.chandana.btech2024/from-raw-sales-data-to-meaningful-insights-exploring-power-query-and-power-bi-with-adventureworks-dd05ee2da47c?source=rss-290f0aa61f75------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd05ee2da47c</guid>
            <category><![CDATA[exploring-power-bi]]></category>
            <dc:creator><![CDATA[Mani Chandana Btech]]></dc:creator>
            <pubDate>Sun, 09 Aug 2026 18:08:31 GMT</pubDate>
            <atom:updated>2026-08-09T18:08:31.149Z</atom:updated>
            <content:encoded><![CDATA[<p>How I used Power Query transformations, Power BI aggregations, data cleaning, conditional columns, table merging, and grouped analysis to turn raw AdventureWorks data into analysis-ready information.</p><p>Data visualization is often associated with charts, dashboards, and attractive reports. But one of the biggest lessons I learned while working with Power BI is that <strong>the real analytical work often begins long before the first chart is created</strong>.</p><p>A dashboard can only be as useful as the data behind it. If dates are not structured properly, categories are inconsistent, duplicate records exist, or related tables are not connected correctly, even the most visually impressive dashboard can produce misleading results.</p><p>For this assignment, I worked with the <strong>AdventureWorks dataset</strong> using <strong>Power BI and Power Query Editor</strong>. The objective was not simply to create visualizations, but to understand how raw data can be transformed, cleaned, categorized, combined, and summarized before being used for analysis.</p><p>The dataset contains sales information across 2020, 2021, and 2022, along with supporting lookup tables for products, product subcategories, product categories, customers, calendars, territories, and returns. The three yearly sales files were first combined into a single <strong>Sales Data Combined</strong> table, which became the primary table for most of the subsequent transformations.</p><p>The assignment was divided into three broad stages:</p><ul><li><strong>Part A:</strong> Built-in aggregations using Power BI</li><li><strong>Part B:</strong> Data transformation using Power Query</li><li><strong>Additional Tasks:</strong> More advanced categorization, merging, and grouped analysis</li></ul><p>Together, these tasks provided a practical understanding of how Power BI can be used not only to visualize data, but also to <strong>prepare and structure it for meaningful analysis</strong>.</p><h3>Understanding the AdventureWorks Dataset</h3><p>Before performing any transformation, it was important to understand the structure of the dataset.</p><p>The AdventureWorks data was divided across several related tables. The main files used in the assignment included:</p><ul><li>Sales Data 2020</li><li>Sales Data 2021</li><li>Sales Data 2022</li><li>Product Lookup</li><li>Product Subcategories Lookup</li><li>Product Categories Lookup</li><li>Customer Lookup</li><li>Calendar Lookup</li><li>Territory Lookup</li><li>Returns Data</li></ul><p>The yearly sales files were combined into one table named <strong>Sales Data Combined</strong>. The Product Lookup table contained information such as product name, product cost, and product price, while the subcategory and category lookup tables provided the hierarchy needed to connect individual products to broader product categories.</p><p>This structure is important because real-world datasets are rarely stored in one perfectly organized table. Instead, information is often distributed across multiple related tables.</p><p>For example:</p><p><strong>Sales → Product → Subcategory → Category</strong></p><p>This relationship becomes particularly useful later when calculating total sales by product category.</p><h3>Why Power Query?</h3><p>Power Query acts as the data preparation layer in Power BI. Instead of manually modifying the source files, transformations can be performed systematically inside Power Query.</p><p>Some of the transformations explored in this assignment included:</p><ul><li>Extracting date components</li><li>Creating custom columns</li><li>Creating conditional categories</li><li>Cleaning text</li><li>Replacing missing values</li><li>Changing data type</li></ul><p>The advantage is that these transformations become part of a repeatable data preparation process.</p><h3>Figure 1 — AdventureWorks Dataset and Power Query Workflow</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NTQqmFIXn2R0u4mLqy7jug.png" /><figcaption><em>Figure 1. AdventureWorks dataset structure and the Power Query environment used for data preparation.</em></figcaption></figure><h3>Part A: Starting with Built-in Aggregations</h3><p>The first part of the assignment focused on something fundamental in data analysis: <strong>summarizing data</strong>.</p><p>Before building complicated calculations, it is useful to understand the basic characteristics of a dataset. Power BI provides built-in aggregation functions that allow numerical and categorical fields to be summarized quickly using visuals such as Card visuals.</p><p>The main aggregation functions explored were:</p><ul><li><strong>SUM</strong> — calculates the total</li><li><strong>AVERAGE</strong> — calculates the mean</li><li><strong>COUNT</strong> — counts entries</li><li><strong>DISTINCTCOUNT</strong> — counts unique values</li><li><strong>MIN</strong> — identifies the smallest value</li><li><strong>MAX</strong> — identifies the largest value</li></ul><p>These functions may appear simple, but they form the foundation of much more advanced analytical work.</p><h3>Summarizing Product Prices</h3><p>One of the first exercises involved using the <strong>SUM</strong> function on the ProductPrice column.</p><p>A Power BI Card visual was used to display the total of the product price values. The process was straightforward: the ProductPrice field was added to the Card visual and its aggregation was changed to Sum.</p><p>The next task used <strong>AVERAGE</strong> on the same ProductPrice column. Instead of looking at the total, this provided an overall average product price.</p><p>These two calculations demonstrate how the same field can answer very different questions depending on the aggregation applied.</p><p>For example:</p><blockquote><strong><em>SUM(ProductPrice)</em></strong><em> tells us the combined value of all product prices.</em></blockquote><p>while:</p><blockquote><strong><em>AVERAGE(ProductPrice)</em></strong><em> gives us an overall idea of the typical product price.</em></blockquote><p>This distinction becomes increasingly important when working with large datasets because selecting the wrong aggregation can completely change the meaning of a visual.</p><h3>Counting Orders and Customers</h3><p>The assignment also explored <strong>COUNT</strong> and <strong>DISTINCTCOUNT</strong>.</p><p>COUNT was used to determine the number of entries associated with order information, while DISTINCTCOUNT was applied to CustomerKey to identify the number of unique customers.</p><p>This is an important distinction in sales analytics.</p><p>A dataset may contain thousands of transaction rows, but that does not necessarily mean there are thousands of unique customers. A single customer can make multiple purchases, creating multiple records.</p><p>Therefore:</p><blockquote><strong><em>COUNT = number of records</em></strong></blockquote><p>whereas:</p><blockquote><strong><em>DISTINCTCOUNT = number of unique values</em></strong></blockquote><p>This difference is one of the simplest but most important concepts when working with transactional data.</p><h3>Minimum, Maximum, and Total Quantity</h3><p>The assignment also explored:</p><ul><li>Minimum Product Cost</li><li>Maximum Product Cost</li><li>Total Order Quantity</li></ul><p>Using MIN and MAX allows us to quickly identify the lower and upper boundaries of numerical data.</p><p>Similarly, summing OrderQuantity provides an overall view of the number of products ordered.</p><p>These basic calculations demonstrate an important principle:</p><blockquote><strong><em>Before asking complex analytical questions, understand the basic shape of the data first.</em></strong></blockquote><h3>Part B: Transforming Raw Data with Power Query</h3><p>While Part A focused primarily on summarization, Part B moved into the more interesting part of the assignment: <strong>data transformation</strong>.</p><p>This section involved more than simply calculating numbers. The objective was to create new information from existing fields and prepare the data for deeper analysis.</p><p>Power Query was used to perform transformations involving dates, numbers, text, categories, relationships, and summary tables.</p><p>This section demonstrated just how much analytical value can be created from existing columns.</p><h3>Working with Dates</h3><p>Dates are among the most useful fields in any business dataset because they allow us to analyze patterns over time.</p><p>Instead of treating OrderDate as a single piece of information, Power Query was used to extract different components from it.</p><h3>Date-related transformations included:</h3><ul><li>Order Year</li><li>Month Name</li><li>Quarter</li><li>Week Number</li><li>Day Name</li><li>Date Difference</li></ul><p>For example, extracting the year from OrderDate creates a separate Year field that can be used to group sales by year.</p><p>Similarly, extracting the month allows monthly analysis, while quarter extraction can support quarterly comparisons.</p><p>This transformation turns a single date field into multiple analytical dimensions.</p><h3>Calculating Date Difference</h3><p>Another useful transformation involved calculating the difference between OrderDate and StockDate.</p><p>A new <strong>Date Difference</strong> column was created using Power Query’s date subtraction functionality. The resulting field could then be used for further classification, particularly for analyzing shipping performance.</p><p>This is a good example of how one transformation can become the foundation for another.</p><p>The workflow becomes:</p><p><strong>Order Date + Stock Date</strong></p><p>↓</p><p><strong>Date Difference</strong></p><p>↓</p><p><strong>Shipping Performance</strong></p><p>↓</p><p><strong>Fast / Normal / Delayed</strong></p><p>Instead of simply storing dates, we are extracting a business-oriented concept from them.</p><h3>Figure 2 — Date and Conditional Transformations</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/465/1*_44FL1tIsxeRcyzs4wabHQ.png" /><figcaption><em>Figure 2. Using Power Query to extract date information and create meaningful conditional categories.</em></figcaption></figure><h3>Calculating Customer Age</h3><p>Customer information was also transformed using the Birth Date field.</p><p>Power Query’s Age transformation was used to create a new Age column. The resulting duration can then be represented in years to make the information more useful for analysis.</p><p>This illustrates a broader principle of data preparation:</p><blockquote><strong><em>Raw fields are not always analysis-ready fields.</em></strong></blockquote><p>A birth date may be useful as stored, but an Age field is often much more directly useful when comparing customer groups.</p><h3>Creating Meaningful Categories</h3><p>One of the most interesting parts of the assignment was the creation of <strong>conditional categories</strong>.</p><p>Instead of analyzing every numerical value individually, Power Query can transform continuous numerical data into meaningful groups.</p><p>For example, ProductPrice was used to create:</p><ul><li>Low</li><li>Medium</li><li>High</li></ul><p>price categories.</p><p>Similarly, product profitability was categorized into:</p><ul><li>Loss</li><li>Low Profit</li><li>High Profit</li></ul><p>The Profit column itself was derived from:</p><p><strong>Profit = ProductPrice − ProductCost</strong></p><p>This demonstrates how calculated fields can be combined with conditional logic to turn raw numerical information into categories that are easier to interpret.</p><h3>Why Categorization Matters</h3><p>Imagine having thousands of products with different prices.</p><p>A table containing individual prices may be technically accurate, but it does not immediately communicate patterns.</p><p>A categorical field such as:</p><blockquote><em>Low | Medium | High</em></blockquote><p>makes it easier to compare groups.</p><p>The same principle applies to profit.</p><p>Instead of looking at individual profit values, we can ask:</p><ul><li>How many products fall into the high-profit group?</li><li>Which category contains loss-making products?</li><li>Are expensive products necessarily more profitable?</li></ul><p>These are questions that become easier to explore once the raw data has been transformed.</p><h3>Customer and Sales Categorization</h3><p>Power Query was also used to create categories based on sales values.</p><p>Conditional columns allow different ranges to be mapped to labels, creating a simpler analytical representation of numerical data.</p><p>This approach is particularly useful when designing dashboards because categorical fields can easily be used as:</p><ul><li>Slicers</li><li>Legends</li><li>Axis categories</li><li>Filters</li><li>Segmentation dimensions</li></ul><p>Instead of forcing users to interpret thousands of individual numerical values, the data can be organized into a few meaningful groups.</p><h3>Cleaning and Standardizing Text Data</h3><p>Not every transformation involved numbers.</p><p>A large portion of the assignment focused on <strong>text cleaning and standardization</strong>.</p><p>Product names were transformed using operations such as:</p><ul><li>UPPERCASE</li><li>lowercase</li><li>Trim</li><li>Clean</li><li>Capitalize Each Word</li></ul><p>For example, converting ProductName to uppercase standardizes the representation of the field. Trim removes unnecessary spaces, while Clean removes unwanted or non-printable characters.</p><p>These operations may seem minor, but inconsistent text can cause serious problems during analysis.</p><p>Consider these values:</p><blockquote><em>Mountain Bike<br> mountain bike<br> MOUNTAIN BIKE<br> Mountain Bike</em></blockquote><p>To a human, they may appear to represent the same product. To a computer, inconsistent text can result in separate categories.</p><p>Data cleaning therefore becomes essential before visualization.</p><h3>Figure 3 — Text Cleaning and Transformation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/433/1*i4S5XjRJHINceDWLqPKW-A.png" /><figcaption><em>Figure 3. Text transformation and cleaning operations performed on product and customer information.</em></figcaption></figure><h3>Splitting and Combining Text</h3><p>Power Query also provides tools for restructuring text.</p><p>The ProductName field was split using a hyphen delimiter, while other tasks involved extracting:</p><ul><li>First 8 characters</li><li>Last 5 characters</li></ul><p>ProductName and Color were also merged to create a combined field.</p><p>These operations demonstrate that text fields can be treated as structured data rather than simply strings.</p><p>For example:</p><p><strong>Product Name + Color</strong></p><p>can become:</p><blockquote><em>Product Color</em></blockquote><p>which may be more convenient for reporting.</p><p>Similarly, extracting only the first or last few characters can be useful when dealing with product codes, identifiers, or standardized naming conventions.</p><h3>Handling Missing and Inconsistent Values</h3><p>Data quality problems are common in real-world datasets.</p><p>The assignment included an example where missing or unavailable values in the Color column were represented as NA.</p><p>These values were replaced with:</p><blockquote><strong><em>Unknown</em></strong></blockquote><p>This is a small transformation, but it prevents blanks or inconsistent representations from affecting downstream analysis.</p><p>Another replacement involved changing:</p><blockquote><strong><em>Bike → Bicycle</em></strong></blockquote><p>This demonstrates how Power Query can standardize terminology across a dataset.</p><p>The broader lesson is simple:</p><blockquote><strong><em>Clean data leads to more reliable analysis.</em></strong></blockquote><h3>Numerical Transformations and Data Types</h3><p>Power Query was also used to control how numerical values are represented.</p><p>ProductPrice was rounded up to whole numbers, while ProductCost was rounded to two decimal places. Sales Amount was converted to the <strong>Fixed Decimal Number</strong> data type so that monetary values could be represented appropriately.</p><p>These transformations demonstrate that data preparation is not only about changing values. It is also about ensuring that fields have the correct <strong>type and representation</strong>.</p><p>A sales amount should behave like a monetary value.</p><p>A date should behave like a date.</p><p>A customer identifier should behave like an identifier.</p><p>A categorical field should behave like a category.</p><p>Choosing appropriate data types helps prevent errors and improves the reliability of subsequent analysis.</p><h3>Merging Multiple Tables</h3><p>One of the most important concepts explored in the assignment was <strong>Merge Queries</strong>.</p><p>The AdventureWorks dataset stores product information across multiple related tables.</p><p>The Product Lookup table does not independently contain every level of the product hierarchy. To obtain the broader category information, related lookup tables need to be connected.</p><p>The workflow used was:</p><p><strong>Product Lookup</strong></p><p>↓</p><p><strong>Product Subcategories Lookup</strong></p><p>↓</p><p><strong>Product Categories Lookup</strong></p><p>This was accomplished using matching keys and <strong>Left Outer Joins</strong>.</p><p>The merged information could then be expanded into the Product Lookup table.</p><p>This is an important real-world data analytics concept because databases are often normalized, meaning related information is intentionally distributed across different tables.</p><p>The analyst must therefore understand how these tables relate to one another before attempting analysis.</p><h3>Figure 4 — Merging Product Tables</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/427/1*GTRao4hxPeDd-NVvh8kyLg.png" /><figcaption><em>Figure 4. Connecting related AdventureWorks lookup tables using Merge Queries and key fields.</em></figcaption></figure><h3>Grouping Data for Analysis</h3><p>Once the necessary relationships were established, the data could be summarized using <strong>Group By</strong>.</p><p>One of the major exercises involved grouping sales by Product Category and calculating:</p><blockquote><strong><em>Total Sales</em></strong></blockquote><p>The process involved bringing CategoryName into Sales Data Combined through the Product Lookup and then grouping the resulting data.</p><p>The final output was a summary table showing total sales for each product category.</p><p>This is where data preparation starts turning into actual analytical insight.</p><p>Instead of thousands of individual sales transactions, we now have a compact summary that allows categories to be compared directly.</p><h3>Grouping by Customer</h3><p>Another Group By operation was performed using CustomerKey.</p><p>For each customer, the <strong>average Sales Amount</strong> was calculated.</p><p>This creates a customer-level summary and makes it possible to compare the typical transaction value associated with different customers.</p><p>This is a good example of how the same underlying sales table can support analysis at multiple levels:</p><ul><li>Transaction level</li><li>Product level</li><li>Customer level</li><li>Category level</li><li>Regional level</li></ul><p>The level of aggregation determines the type of question we can answer.</p><h3>Creating an Index</h3><p>An Index column was also added to the Sales Data Combined table.</p><p>The index started from 1 and increased sequentially for each row. This provides a simple sequential reference for the records.</p><p>Although an index is a simple transformation, it demonstrates another useful Power Query feature: generating values based on row position rather than existing source columns.</p><h3>Figure 5 — Grouping, Sorting, and Indexing</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*l6YPOgwxnhWZztdFGlipYA.png" /><figcaption><em>Figure 5. Summarizing sales data using Group By, sorting records, and generating an index column.</em></figcaption></figure><h3>Additional Tasks: Going Beyond Basic Transformations</h3><p>After completing the main Power Query tasks, the assignment included a set of additional exercises designed to bring several concepts together.</p><p>These tasks focused more heavily on creating business-oriented fields from the transformed dataset.</p><h3>Creating Sales Bands</h3><p>Sales Amount was divided into three categories:</p><ul><li><strong>₹0–₹500 → Low</strong></li><li><strong>₹501–₹2,000 → Medium</strong></li><li><strong>Above ₹2,000 → High</strong></li></ul><p>This creates a simple segmentation of individual sales records.</p><p>The advantage of this approach is that it allows sales transactions to be analyzed by band rather than requiring every transaction value to be considered independently.</p><h3>Measuring Shipping Performance</h3><p>The previously calculated Date Difference was then used to classify shipping performance.</p><p>The categories were:</p><ul><li><strong>0–3 days → Fast</strong></li><li><strong>4–7 days → Normal</strong></li><li><strong>Above 7 days → Delayed</strong></li></ul><p>This is a good example of a transformation pipeline.</p><p>The process can be visualized as:</p><p><strong>OrderDate + StockDate</strong></p><p>↓</p><p><strong>Date Difference</strong></p><p>↓</p><p><strong>Shipping Performance</strong></p><p>↓</p><p><strong>Fast / Normal / Delayed</strong></p><p>A field created during one task becomes the input for another task.</p><p>This is one of the most useful characteristics of Power Query: transformations can build on one another.</p><h3>Creating a Month-Year Field</h3><p>The assignment also created a Month-Year field from OrderDate.</p><p>The desired format was:</p><blockquote><strong><em>Jan-2020</em></strong></blockquote><p>rather than displaying the complete date.</p><p>Month-Year fields are especially useful in time-series analysis because they provide a compact way to represent monthly observations.</p><p>However, when using Month-Year in a visualization, it is important to retain the underlying chronological order so that months do not appear alphabetically.</p><h3>Splitting Customer Names</h3><p>Customer information was further transformed by splitting a combined customer name into:</p><ul><li>First Name</li><li>Last Name</li></ul><p>The split was performed using a space delimiter.</p><p>This makes customer information more flexible for analysis.</p><p>For example, separate first and last name fields can be used to:</p><ul><li>Filter customers</li><li>Create personalized reports</li><li>Sort customer records</li><li>Build more readable tables</li></ul><p>Again, a seemingly simple transformation improves the usability of the dataset.</p><h3>Combining Product Category and Subcategory</h3><p>The product hierarchy was also brought together into a single field.</p><p>The Product Lookup table was connected to both the Product Subcategories and Product Categories tables. Once the required fields were available, CategoryName and SubcategoryName were merged into a combined classification field.</p><p>This creates a more readable product hierarchy.</p><p>Instead of having to interpret two separate fields, a report can display a combined classification such as:</p><blockquote><strong><em>Bikes — Mountain Bikes</em></strong></blockquote><p>or a similar category-subcategory representation.</p><p>This is particularly useful when designing report filters or hierarchical views.</p><h3>Creating a Percentage-Based Band</h3><p>One of the more interesting additional exercises involved creating a percentage-based band.</p><p>The original AdventureWorks sales data did not contain a direct discount percentage field. Therefore, the assignment derived a percentage using:</p><p><strong>(ProductPrice − ProductCost) / ProductPrice × 100</strong></p><p>The resulting values were then divided into bands:</p><ul><li><strong>≤ 40% → Low</strong></li><li><strong>≤ 43% → Medium</strong></li><li><strong>Above 43% → High</strong></li></ul><p>The assignment treats this as a <strong>price-cost margin proxy</strong>, rather than an actual discount field, because the original dataset does not contain a direct discount percentage.</p><p>This was an important analytical exercise because it demonstrated how an analyst can derive new metrics from existing information when the exact required field is not directly available.</p><p>At the same time, it highlights the importance of naming derived metrics carefully. A calculated proxy should not automatically be treated as an original business metric.</p><h3>Regional Sales Analysis</h3><p>The final additional task brought together multiple aggregation concepts.</p><p>Sales data was grouped by Region/Territory and three measures were calculated:</p><ul><li><strong>Total Sales</strong></li><li><strong>Average Sales</strong></li><li><strong>Total Quantity</strong></li></ul><p>This creates a regional summary that can be used to compare sales performance across territories.</p><p>This final task was particularly useful because it demonstrates that Group By can perform multiple aggregations simultaneously.</p><p>For each region, instead of creating three separate analyses, one grouped table can provide:</p><blockquote><em>How much did the region sell?</em></blockquote><blockquote><em>What was the average sales amount?</em></blockquote><blockquote><em>How many products were sold?</em></blockquote><p>This is much closer to the type of summary that would eventually appear in a business dashboard.</p><h3>Figure 6 — Final Analytical Transformations</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/446/1*lrWmgqMtxVDz77EkNL7EOA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*O07EqfOFmeqe9aMDnPc-MQ.png" /><figcaption><em>Figure 6. Final Power Query transformations combining categorization, derived fields, and regional aggregation.</em></figcaption></figure><h3>What This Assignment Taught Me About Power BI</h3><p>At first glance, an assignment involving dozens of Power Query operations can seem like a collection of unrelated tasks.</p><p>But after completing the entire workflow, the relationship between the different transformations becomes much clearer.</p><p>The assignment can essentially be viewed as a data preparation pipeline:</p><h3>1. Start with raw data</h3><p>Sales, products, customers, dates, categories, and territories exist in separate tables.</p><p>↓</p><h3>2. Combine relevant data</h3><p>Merge related lookup tables using appropriate keys.</p><p>↓</p><h3>3. Clean the data</h3><p>Handle missing values, inconsistent text, duplicates, and data types.</p><p>↓</p><h3>4. Transform the data</h3><p>Extract dates, manipulate text, calculate values, and create indexes.</p><p>↓</p><h3>5. Create meaningful categories</h3><p>Build price ranges, profit categories, sales bands, and shipping performance groups.</p><p>↓</p><h3>6. Aggregate the data</h3><p>Group by category, customer, or region.</p><p>↓</p><h3>7. Analyze and visualize</h3><p>Use the resulting structured data in Power BI reports and dashboards.</p><p>This pipeline represents one of the most important ideas I took away from the assignment:</p><blockquote><strong><em>Visualization is only the final layer of the analytical process.</em></strong></blockquote><p>The quality of the visualization depends heavily on the quality of the data preparation underneath it.</p><h3>Power Query vs Power BI: Understanding Their Roles</h3><p>One of the biggest takeaways from this practical was understanding the distinction between <strong>Power Query</strong> and <strong>Power BI visuals</strong>.</p><p>Power Query is primarily concerned with:</p><ul><li>Data cleaning</li><li>Data transformation</li><li>Data preparation</li><li>Combining tables</li><li>Creating calculated columns</li><li>Reshaping data</li></ul><p>Power BI is then used to:</p><ul><li>Summarize information</li><li>Create measures</li><li>Build visuals</li><li>Add filters and slicers</li><li>Present insights interactively</li></ul><p>In simple terms:</p><blockquote><strong><em>Power Query prepares the data.</em></strong></blockquote><blockquote><strong><em>Power BI communicates the data.</em></strong></blockquote><p>The two work together rather than competing with each other.</p><h3>Why Data Preparation Matters More Than It Seems</h3><p>A common misconception in data visualization is that the most important part is selecting the right chart.</p><p>But consider a simple example.</p><p>Suppose a dashboard displays sales by product category.</p><p>If the category information is missing from the sales table, the chart cannot be created correctly.</p><p>If product categories are inconsistently named, the chart may show duplicate categories.</p><p>If sales values are stored using an inappropriate data type, calculations can become unreliable.</p><p>If duplicate records are present, totals can be inflated.</p><p>If dates are not structured correctly, time-series analysis can become difficult.</p><p>Therefore, the chart itself is only the final representation of a much larger process.</p><p>The real workflow is:</p><p><strong>Data Quality → Data Transformation → Data Modeling → Aggregation → Visualization → Insight</strong></p><h3>A Few Important Lessons from the Project</h3><h3>1. Aggregation must match the question</h3><p>SUM, COUNT, AVERAGE, MIN, MAX, and DISTINCTCOUNT may all operate on data, but they answer different questions.</p><p>Choosing the wrong aggregation can produce a technically valid number with the wrong meaning.</p><h3>2. Relationships between tables matter</h3><p>The Product Category information was not directly available in the sales table.</p><p>It had to be obtained through related lookup tables.</p><p>Understanding keys and relationships is therefore essential when working with relational datasets.</p><h3>3. Data cleaning is part of analysis</h3><p>Removing duplicates, replacing missing values, cleaning text, and setting appropriate data types may not look visually impressive, but they have a major impact on the reliability of the final analysis.</p><h3>4. Derived fields can make data more useful</h3><p>Fields such as:</p><ul><li>Age</li><li>Profit</li><li>Sales Band</li><li>Shipping Performance</li><li>Month-Year</li><li>Price Range</li></ul><p>are not necessarily present directly in the source data.</p><p>They are created because they make the data easier to analyze.</p><h3>5. One transformation can support another</h3><p>The Date Difference field becomes the foundation for Shipping Performance.</p><p>The product lookup merges provide the information needed for Category-level sales analysis.</p><p>This demonstrates that data preparation is not simply a sequence of isolated operations. It is a connected workflow.</p><h3>The Bigger Picture</h3><p>Working through the AdventureWorks dataset changed the way I think about Power BI.</p><p>It is easy to associate Power BI with dashboards and charts because those are the most visible parts of the platform.</p><p>But the less visible part — the data preparation layer — is equally important.</p><p>A well-designed dashboard is built on decisions that happened much earlier:</p><ul><li>Which tables should be combined?</li><li>Which fields should be transformed?</li><li>Which values should be categorized?</li><li>How should missing values be handled?</li><li>Which aggregation should be used?</li><li>Which relationships are required?</li></ul><p>These decisions determine whether the final dashboard is merely attractive or genuinely useful.</p><h3>Conclusion</h3><p>This assignment provided a practical introduction to the complete journey from <strong>raw data to analysis-ready information</strong> using Power Query and Power BI.</p><p>Starting with the AdventureWorks dataset, the work progressed from simple aggregations to increasingly complex transformations. Basic functions such as SUM, AVERAGE, COUNT, DISTINCTCOUNT, MIN, and MAX provided an initial understanding of the data. Power Query then expanded this foundation through date transformations, conditional columns, text cleaning, numerical transformations, table merging, duplicate handling, sorting, grouping, and indexing.</p><p>The additional tasks demonstrated how these techniques can be combined to create more meaningful business-oriented fields such as Sales Band, Shipping Performance, Month-Year, combined product classifications, percentage-based bands, and regional summaries.</p><p>The biggest lesson from the assignment was that <strong>good data visualization starts with good data preparation</strong>.</p><p>Power BI may ultimately display the charts, cards, tables, and dashboards, but Power Query is where much of the underlying analytical structure is created.</p><p>The complete workflow can therefore be summarized as:</p><blockquote><strong><em>Raw Data → Clean → Transform → Combine → Categorize → Aggregate → Visualize → Understand</em></strong></blockquote><p>And that is perhaps the most valuable lesson from this practical: <strong>a powerful visualization is not created by the chart alone — it is created by the quality of the data and decisions behind it.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd05ee2da47c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comparative Analysis of Five Data Visualization Tools Using an AI Job Salaries Dataset-A Blog]]></title>
            <link>https://medium.com/@mani.chandana.btech2024/comparative-analysis-of-five-data-visualization-tools-using-an-ai-job-salaries-dataset-a-blog-700cdf50ce1c?source=rss-290f0aa61f75------2</link>
            <guid isPermaLink="false">https://medium.com/p/700cdf50ce1c</guid>
            <dc:creator><![CDATA[Mani Chandana Btech]]></dc:creator>
            <pubDate>Fri, 17 Jul 2026 16:58:39 GMT</pubDate>
            <atom:updated>2026-07-17T16:58:39.222Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/738/0*9zMvR2jEjCP6HcjU" /></figure><p><strong>Five Tools, One Dataset: What I Learned Comparing Excel, Python, Tableau, Looker Studio, and Qlik</strong></p><p><strong>Why Visualisation Actually Matters</strong></p><p>Anyone who has stared at a spreadsheet with ten thousand rows knows the feeling — the numbers are all there, technically, but none of them mean anything until you can <em>see</em> them. A table tells you that salary_in_usd has a value of 79833 in row two and 260000 in row three. A chart tells you that senior-level machine learning roles pay roughly double what mid-level analytics roles do, and it tells you in about half a second. That gap — between data existing and data being understood — is the entire reason visualisation exists as a discipline.</p><p>For this Power BI lab, we were asked to step outside Power BI itself and explore how four other platforms handle the same job: turning raw rows into insight. I picked Microsoft Excel, Python, Tableau, Google Looker Studio, and Qlik Sense, built three visuals in each, and compared how they felt to use, not just what they produced. What follows is that comparison, built entirely around one dataset.</p><p><strong>The Dataset</strong></p><p>The dataset I used is a global AI and data science salary dataset taken from Kaggle ,covering roles from 2020 through 2022. It has just over 600 records with fields like:</p><ul><li>work_year — the year the salary was reported</li><li>experience_level — EN (Entry), MI (Mid), SE (Senior), EX (Executive)</li><li>employment_type — full-time, part-time, contract, freelance</li><li>job_title — over 50 distinct titles, from Data Analyst to Principal Data Scientist</li><li>salary and salary_currency — the original figures, in local currency</li><li>salary_in_usd — the standardised figure I used for comparison across countries</li><li>employee_residence and company_location</li><li>remote_ratio — how much of the role is remote</li><li>company_size — S, M, or L</li></ul><p>It’s a genuinely nice dataset for this kind of exercise because it’s messy enough to be interesting (currencies, countries, wildly different job titles) but clean enough that every tool could load it without a fight.</p><p><strong>Tool 1: Microsoft Excel</strong></p><p>Excel is where most of us start, and for good reason — PivotTables and PivotCharts get you 80% of the way to real insight with almost no learning curve.</p><p><strong>About the tool:</strong> Excel has been around since 1985, and honestly, that’s the whole reason it still matters — nearly every organisation on earth already has a licence for it, and nearly every employee already half-knows how to use it. That’s not nothing. Its charting engine sits on top of two features: PivotTables, which summarise raw rows into aggregated numbers, and PivotCharts, which turn that summary into a bar, line, or pie without any extra setup. Drag experience_level into rows, drag salary_in_usd into values, set it to average instead of sum, and the chart builds itself. Recent versions have quietly added a few sharper chart types too — waterfall, treemap, funnel — so it’s not entirely stuck in 2007 anymore. What it can’t do is interactivity in any real sense; a PivotChart is a snapshot, not something a viewer can click through and explore on their own. But for getting from a raw table to a defensible first-pass chart in under two minutes, nothing else on this list comes close.</p><p><strong>Visual 1 — Average Salary by Experience Level (Bar Chart)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*wmYHYGLnsmdKE0x-emWQiw.png" /></figure><p><strong>Purpose:</strong> Show whether pay actually scales the way you’d expect across the four experience levels.</p><p><strong>Observation:</strong> Entry level averages around $61,600. Mid level jumps to roughly $88,000. Senior level comes in near $138,600, and Executive level tops out just under $200,000.</p><p><strong>Analysis:</strong> The curve isn’t linear — the jump from Senior to Executive is bigger than any of the earlier jumps, which suggests executive-track AI roles are a different pay bracket entirely rather than just “one step up” from senior.</p><p><strong>Visual 2 — Top 10 Highest Paying AI Job Titles (Horizontal Bar)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*JyoWIjgXOguQpklhSM63gw.png" /></figure><p><strong>Purpose:</strong> Identify which specific job titles command the highest average pay, independent of experience level.</p><p><strong>Observation:</strong> Data Analytics Lead sits at the top, averaging around $405,000, with Principal Data Engineer and Financial Data Analyst close behind. Several of these titles average well above $150,000.</p><p><strong>Analysis:</strong> What stood out here is that leadership-adjacent titles (“Lead,” “Principal,” “Director”) dominate this list, but a couple of specialist titles like Financial Data Analyst break in too — meaning niche domain expertise can rival management tracks in pay.</p><p><strong>Visual 3 — Average AI Salary Trend by Year (Line Chart)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*4-iI6dJCrhQlfhSFOpy_zg.png" /></figure><p><strong>Purpose:</strong> Track how average salaries moved across the three years in the dataset.</p><p><strong>Observation:</strong> Average salary rose from about $95,800 in 2020 to $99,850 in 2021, then jumped more sharply to $124,500 in 2022.</p><p><strong>Analysis:</strong> The acceleration between 2021 and 2022 is the real story — pay grew slowly at first, then took off, which lines up with the well-documented spike in demand for AI talent during that period.</p><p><strong>Tool takeaway:</strong> Excel’s PivotChart engine is fast and requires zero coding, but formatting anything beyond a basic bar or line chart gets clunky quickly, and it can’t handle interactivity the way the other tools can.</p><p><strong>Tool 2: Python</strong></p><p>Python gives up Excel’s drag-and-drop convenience in exchange for full control — every pixel of the chart is something you decided on.</p><p><strong>About the tool:</strong> Python is the odd one out on this list — it’s not a visualisation tool at all, it’s a general-purpose programming language, and everything shown here was built through two of its libraries specifically: Matplotlib and Seaborn. Matplotlib is the older, lower-level engine — it draws the actual figure, the axes, the ticks, the legend — and almost every other Python plotting library, including Seaborn, is quietly built on top of it. Seaborn sits above that layer and adds the statistical intelligence: it can draw a KDE curve over a histogram, fit and colour a box plot by category, or build a correlation heatmap in essentially one line, all with far better default styling than raw Matplotlib gives you out of the box. There’s no drag-and-drop here — every title, colour, and bin width is a line of code — but that trade-off buys real statistical honesty. Box plots, kernel density curves, and correlation matrices aren’t things Excel, Tableau, Looker Studio, or Qlik build well natively; they’re squarely Python’s territory. The output is a static image rather than a live dashboard, which is exactly why it tends to sit earliest in the workflow — it’s where you go to actually understand what the data is doing before deciding how to present it to someone else.</p><p><strong>Visual 1 — Distribution of AI Salaries (Histogram with KDE)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*Mxf7bKm3Ri-fGWDjrnzQ5Q.png" /></figure><p><strong>Purpose:</strong> Understand the overall shape of the salary data — is it symmetric, skewed, does it have outliers?</p><p><strong>Observation:</strong> The distribution is heavily right-skewed, with most salaries clustered between $50,000 and $150,000, a peak around $90,000, and a long thin tail stretching out to $600,000.</p><p><strong>Analysis:</strong> That tail matters a lot — it means the mean salary figures used elsewhere in this blog are being pulled upward by a small number of very high earners, so the median would tell a more conservative (and probably more typical) story.</p><p><strong>Visual 2 — Salary Distribution by Experience Level (Box Plot)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/586/1*l77wfrgzylvMC8jyrE6A1Q.png" /></figure><p><strong>Purpose:</strong> Compare not just averages but the full spread and outliers within each experience level.</p><p><strong>Observation:</strong> Executive level has both the highest median (~$170,000) and the widest spread, including an extreme outlier near $600,000. Entry level has the tightest, lowest-sitting box.</p><p><strong>Analysis:</strong> The box plot exposes something the bar chart in Excel couldn’t — Executive salaries aren’t just higher, they’re far less consistent, meaning “Executive” covers a much wider range of actual pay outcomes than the label suggests.</p><p><strong>Visual 3 — Correlation Between Numerical Features (Heatmap)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*9D4lzVObuTmomDDFGRaWOA.png" /></figure><p><strong>Purpose:</strong> Check whether any numeric fields are statistically related to each other.</p><p><strong>Observation:</strong> salary_in_usd doesn’t correlate strongly with anything else numeric in the dataset — the highest relationship it has is a weak 0.17 with work_year, and its correlation with remote_ratio is even smaller.</p><p><strong>Analysis:</strong> This was a useful reality check — it confirms that salary in this dataset is driven mostly by categorical factors (role, experience, location) rather than the numeric fields alone, which is exactly why the categorical breakdowns in the other tools matter more than any single correlation coefficient.</p><p><strong>Tool takeaway:</strong> Python (via Matplotlib/Seaborn) is unmatched for statistical honesty — box plots, KDE curves, correlation matrices — but every visual is static, and there’s no dashboard to click through afterward.</p><p><strong>Tool 3: Tableau</strong></p><p>Tableau is where visualisation starts to feel less like reporting and more like exploring.</p><p><strong>About the tool:</strong> Tableau grew out of a Stanford research project on visualising relational databases and eventually became one of the names that basically defined the modern BI category, well before Power BI existed. The whole interface is built around one idea: you drag fields onto shelves labelled Columns, Rows, Color, Size, and Detail, and Tableau’s rendering engine — VizQL — translates that combination into the right chart automatically, without you ever writing a query. Its “Show Me” panel goes a step further and actively recommends chart types based on what you’ve selected, which is how I ended up trying treemaps and packed bubble charts I wouldn’t have thought to build from scratch. It connects natively to dozens of data source types and holds up well on large datasets. The version used here is Tableau Public, which is free but publishes every workbook openly online; the paid Desktop and Server tiers exist mainly to keep things private and add enterprise-level governance. The interface takes real time to get comfortable with — it’s not intuitive on day one — but almost every visual in this blog that felt genuinely “explorable” rather than just illustrative came out of Tableau.</p><p><strong>Visual 1 — Average AI Salary by Company Location (Filled Map)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/1*N91YYvaCN7GbqXitOFdj_Q.png" /></figure><p><strong>Purpose:</strong> See how average pay differs geographically at a glance.</p><p><strong>Observation:</strong> The United States sits highest at roughly $157,500 average, with Canada, Australia, and a handful of others also shaded darker green. Most of the rest of the world sits in a much lighter band, often below $50,000.</p><p><strong>Analysis:</strong> The map format does something a table can’t — it makes the US/rest-of-world pay gap visually undeniable in a way that rows of numbers would just blur together.</p><p><strong>Visual 2 — Average Salary by AI Job Title (Treemap)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/755/1*wiziMR3E3FT1zZqDLcsgmw.png" /></figure><p><strong>Purpose:</strong> Show both the pay level and the relative “presence” of each job title in one view.</p><p><strong>Observation:</strong> Data Analytics Lead, Principal Data Engineer, and Financial Data Analyst appear as the largest, darkest blocks, while common titles like Data Scientist and Data Engineer appear as smaller, lighter blocks despite being far more numerous in the dataset.</p><p><strong>Analysis:</strong> This is the clearest illustration in the whole project of a key data literacy point — the highest-paid job titles are often the rarest ones, so headline “top paying job” lists can be misleading if you don’t also check how many people actually hold that title.</p><p><strong>Visual 3 — Number of AI Professionals by Job Title (Packed Bubble Chart)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/879/1*_mpNQWTPoHJK9m5BH-frPw.png" /></figure><p><strong>Purpose:</strong> Flip the previous view around and show volume instead of pay — which titles actually show up most often.</p><p><strong>Observation:</strong> Data Engineer, Data Scientist, and Data Analyst form by far the largest bubbles, dwarfing the specialist titles that dominated the treemap.</p><p><strong>Analysis:</strong> Read together, visuals 2 and 3 tell a complete story that neither could tell alone: the roles that pay the most aren’t the roles most people actually work in, and the roles most people work in pay solidly but not spectacularly.</p><p><strong>Tool takeaway:</strong> Tableau’s strength is combining several dimensions into a single readable shape — maps, treemaps, bubble packs — but it has a steeper interface to learn and Tableau Public won’t keep your workbook private.</p><p><strong>Tool 4: Google Looker Studio</strong></p><p>Looker Studio (formerly Data Studio) is built for one thing above all — living, shareable dashboards that update automatically from a connected source.</p><p><strong>About the tool:</strong> Looker Studio used to be called Google Data Studio before Google folded it into the Looker brand, and the rename didn’t really change what it’s for — it’s a free, entirely browser-based reporting tool built around the idea that a dashboard should be something you send as a link, not something you export and re-send every time the numbers change. You connect a data source (in this case a spreadsheet, though it just as easily connects to BigQuery, Google Analytics, or a database), drop charts onto a canvas, and the report stays wired to that source permanently — refresh the underlying sheet and the dashboard updates on its own, no export-and-resend cycle required. Its chart library is smaller and less adventurous than Tableau’s — you get the standard bar, line, pie/donut, scorecard, and geo map types rather than treemaps or packed bubbles — but it more than makes up for that with viewer-side filtering, a genuinely painless sharing model, and a default layout that already looks like a finished report rather than a working sketch.</p><p><strong>Visual 1 — Distribution of AI Professionals by Experience Level (Donut Chart)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*H_AUsVZij284f5Pa44eklg.png" /></figure><p><strong>Purpose:</strong> Show the proportional makeup of the workforce by experience level.</p><p><strong>Observation:</strong> Senior level makes up 46.1% of the dataset, Mid level 35.1%, Entry level 14.5%, and Executive level just 4.3%.</p><p><strong>Analysis:</strong> This changes how the earlier pay figures should be read — Executive salaries look dramatic, but they represent a tiny sliver of the workforce, while Senior and Mid level, which make up over 80% of professionals combined, are really where the “typical” AI career sits.</p><p><strong>Visual 2 — Scorecards (Average Salary, Total Professionals, Average Remote Ratio)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*-lEw9qJe5mwdWrooSaKicg.png" /></figure><p><strong>Purpose:</strong> Surface the three most important headline numbers at a glance, the way an executive summary would.</p><p><strong>Observation:</strong> Average AI salary sits at $112,297.87, the dataset contains 607 records, and the average remote ratio is 70.92%.</p><p><strong>Analysis:</strong> That remote ratio is arguably the most interesting single number in the entire dataset — it confirms that AI and data roles were overwhelmingly remote-friendly during this period, which is easy to lose sight of when you’re focused only on pay charts.</p><p><strong>Visual 3 — Distribution by Company Size and Experience Level (Stacked Bar)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*7It4afPndlcV4cisAkNNPQ.png" /></figure><p><strong>Purpose:</strong> See how experience levels are distributed differently across small, medium, and large companies.</p><p><strong>Observation:</strong> Medium-sized companies show the largest and most evenly spread bars across experience levels, while the smallest company-size category has a noticeably smaller and more compressed bar overall.</p><p><strong>Analysis:</strong> This suggests mid-sized companies are the biggest overall employers of AI talent in the dataset and also the ones building out full seniority ladders, rather than hiring only at one level.</p><p><strong>Tool takeaway:</strong> Looker Studio’s scorecards and live-updating charts make it the best of the five for a “dashboard someone checks every Monday,” but its chart-type variety is more limited than Tableau’s or Qlik’s.</p><p><strong>Tool 5: Qlik Sense</strong></p><p>Qlik’s defining feature is associative filtering — click any value in any chart and every other chart on the sheet instantly re-filters around it.</p><p><strong>About the tool:</strong> Qlik is actually older than most people assume — the company built its first product back in the early 1990s, long before “business intelligence” was a mainstream term — and its signature idea is what it calls the associative engine. Most BI tools work through pre-defined drill paths: you decide in advance that clicking a country will filter down to a city, and nothing more. Qlik doesn’t work that way. It holds every field in memory simultaneously and lets you click any value in any chart, at which point every other chart on the sheet instantly re-filters around that selection, whether or not anyone designed that relationship ahead of time. That makes it unusually good for open-ended exploration, where you genuinely don’t know the question yet and want the software to surface connections rather than confirm ones you already suspected. Its chart library also leans toward less common types — funnel charts, gauges, Sankey-style flow diagrams — that are built specifically to show progression and relationship rather than flat comparison. The user community is noticeably smaller than Tableau’s or Power BI’s, which made a couple of formatting quirks harder to look up, but the associative engine itself is arguably the single most powerful piece of technology across all five tools.</p><p><strong>Visual 1 — Distribution of AI Professionals by Experience Level (Funnel Chart)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*PnkobYUVi9L0wrFPmJcung.png" /></figure><p><strong>Purpose:</strong> Visualise experience level as a narrowing progression rather than separate categories.</p><p><strong>Observation:</strong> Starting from Senior level at 100% (used as the funnel’s base), the chart narrows to 76.1% at Mid level, 32.1% at Entry level, and 9.3% at Executive level.</p><p><strong>Analysis:</strong> Framing it as a funnel rather than a donut (as in Looker Studio) makes the seniority pyramid feel intuitive — it visually reinforces that the workforce thins out sharply as you move toward executive roles.</p><p><strong>Visual 2 — Average AI Salary (Gauge Chart)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/919/1*Use4R1DWw1hbZsIp17gjZQ.png" /></figure><p><strong>Purpose:</strong> Present the single headline salary figure with a sense of scale against a plausible min/max range.</p><p><strong>Observation:</strong> The gauge shows $112.3k against a scale running from 0 to 250k, with the needle landing a little under halfway.</p><p><strong>Analysis:</strong> A gauge does something a scorecard number alone can’t — it instantly communicates that $112,300 sits comfortably in the “solid but not exceptional” zone of the full salary range, without the viewer needing to know the range beforehand.</p><p><strong>Visual 3 — Flow of Professionals from Experience Level to Company Size (Sankey/Flow Chart)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*XXGVqiFWwbPTNSZ_z1Y73Q.png" /></figure><p><strong>Purpose:</strong> Trace how professionals at each experience level are distributed across company sizes.</p><p><strong>Observation:</strong> Senior-level professionals (280 records) flow heavily toward medium-sized companies (326 records), and Mid level (213 records) shows a similarly strong pull toward Large companies (198 records), with visibly thinner flows toward Small companies throughout.</p><p><strong>Analysis:</strong> This is the one visual across all five tools that shows a genuine relationship between two categorical fields at once, and it confirms what the Looker Studio stacked bar hinted at — medium and large companies, not small ones, are absorbing the bulk of experienced AI talent.</p><p><strong>Tool takeaway:</strong> Qlik’s associative engine and flow-style charts make relationships between fields easy to see, but the platform has the smallest community and fewest tutorials of the five, which made troubleshooting slower.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*XrBoyXyjgT_SDFb4gR9P7A.png" /></figure><p><strong>Conclusion</strong></p><p>Working through the same dataset five separate times was, honestly, more useful than doing it once and moving on — each tool kept surfacing a slightly different truth about the same salaries. Excel was the fastest way to get a first look. Python was the only one that told me the truth about outliers and skew instead of just showing me averages. Tableau made geography and scale visually obvious in a way tables never could. Looker Studio turned the whole thing into something I’d actually want to check again next month. And Qlik’s flow chart was the single visual across the entire project that best captured how two different fields actually relate to each other.</p><p>If I had to pick one winner, I wouldn’t — the honest answer is that the “best” tool depends entirely on the question you’re asking and who has to look at the answer afterward. A one-off statistical check belongs in Python. A living dashboard for a manager belongs in Looker Studio. A rich exploratory deep-dive belongs in Tableau or Qlik. And when you just need an answer in the next five minutes, Excel still wins. Visualisation tools aren’t really competing with each other — they’re specialised for different moments in the same underlying job: turning 607 rows of salary data into something a person can actually understand and act on.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=700cdf50ce1c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>