<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Emmanuel Atemba</title>
    <description>The latest articles on Forem by Emmanuel Atemba (@atemba).</description>
    <link>https://forem.com/atemba</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3731484%2Ffbdd2b2c-94b7-4e85-9198-0879de1a62b0.jpg</url>
      <title>Forem: Emmanuel Atemba</title>
      <link>https://forem.com/atemba</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/atemba"/>
    <language>en</language>
    <item>
      <title>Schemas and Data Modelling in Power BI</title>
      <dc:creator>Emmanuel Atemba</dc:creator>
      <pubDate>Sun, 01 Feb 2026 19:20:27 +0000</pubDate>
      <link>https://forem.com/atemba/schemas-and-data-modelling-in-power-bi-2oa8</link>
      <guid>https://forem.com/atemba/schemas-and-data-modelling-in-power-bi-2oa8</guid>
      <description>&lt;p&gt;In this article we will discuss two major concepts in Power Bi.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Data Modelling&lt;/li&gt;
&lt;li&gt;Schemas&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Data Modeling
&lt;/h2&gt;

&lt;p&gt;Data modelling is the process of identifying, organizing and defining the types of data a business collects and the relationships between them. It uses diagrams, symbols and textual definitions to visually represent how data is captured, stored and used. &lt;/p&gt;

&lt;p&gt;A well-designed data model helps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Understand data requirements&lt;/li&gt;
&lt;li&gt;Ensure proper structure for reporting&lt;/li&gt;
&lt;li&gt;Align with business goals&lt;/li&gt;
&lt;li&gt;Maintain data integrity&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Schema
&lt;/h2&gt;

&lt;p&gt;A schema is the structure of your data model. It shows what tables you have, which columns exists in individual tables and how the tables relate to each other.&lt;/p&gt;

&lt;p&gt;In Power Bi, the type of schema you use will determine:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Report correctness&lt;/li&gt;
&lt;li&gt;Performance&lt;/li&gt;
&lt;li&gt;DAX Complexity and&lt;/li&gt;
&lt;li&gt;Scalability of your model&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Types of Schemas in Power Bi
&lt;/h2&gt;

&lt;p&gt;There are two primary schema types in Power Bi:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The Star Schema&lt;/li&gt;
&lt;li&gt;The Snowflake Schema&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The Star Schema
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ygoqy992o4rkbx10knl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ygoqy992o4rkbx10knl.png" alt=" " width="800" height="543"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Star Schema design has a:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fact Table&lt;/strong&gt;: which is a central table (usualy very large) which that contains all the &lt;u&gt;quantitative data from observations or events&lt;/u&gt; and includes &lt;em&gt;foreign keys&lt;/em&gt; referencing &lt;strong&gt;dimension tables&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dimension tables&lt;/strong&gt;: contain descriptive attributes for business entities related to the facts table. These are the things you will be modeling, and each dimension table is connected to the fact table via a primary key. It's worth noting that these tables are denormalized &lt;/p&gt;

&lt;p&gt;A star schema is designed to simplify relationships and is built for fast querying in analytical tools.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Characteristics of Star Schema&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One central fact table: Which contain all the transaction information and foreign keys to other tables.&lt;/li&gt;
&lt;li&gt;Multiple dimension tables: Which contain descriptive attributes used for filtering, grouping, and slicing data.&lt;/li&gt;
&lt;li&gt;One-to-many relationships: Where each record in a dimension table can be associated with many records in the Fact table. Example a customer placing multiple orders.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Benefits of Star Schema in Power BI&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Performance Optimization: Queries in Power BI are faster because the star schema minimizes the number of joins and simplifies relationships.&lt;/li&gt;
&lt;li&gt;Ease of Use: Dimension tables enable intuitive filtering and grouping, while fact tables support summarization.&lt;/li&gt;
&lt;li&gt;Scalability: The structure is flexible and can accommodate additional dimensions or facts without significant redesign.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Snowflake Schema
&lt;/h2&gt;

&lt;p&gt;The Snowflake Schema is a type of data model which is like the Star Schema in terms of having a central fact table that everything passes through, but the main difference is that the Snowflake Schema has normalized dimension tables as opposed to denormalized dimension tables for the Star Schema.&lt;/p&gt;

&lt;p&gt;So, the Star Schema typically goes down two levels of data hierarchy [Fact Table → Dimension Table] while the Snowflake Schema goes to a third level [Fact Table → Dimension Table → Smaller Dimension Table]. These tables are joined using one-to-many relationship just like in Star Schema.&lt;/p&gt;

&lt;p&gt;This creates a hierarchical structure resembling a snowflake, hence the name. It is primarily used to handle complex data structures while maintaining data integrity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Features of Snowflake Schema&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Normalization&lt;/em&gt;: Dimension tables are normalized into multiple related tables to reduce redundancy and improve consistency. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;For example, a Customer table might link to a City table, which in turn links to a Country table.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;em&gt;Hierarchical Structure&lt;/em&gt;: The schema is built around a central fact table surrounded by normalized dimension tables, creating a multi-level hierarchy.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Joins&lt;/em&gt;: Queries often require more joins due to the normalized structure, which can impact performance on large datasets.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Scalability&lt;/em&gt;: While the schema is scalable for large datasets, its complexity can make it harder to manage and query efficiently.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Advantages of Snowflake Schema&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Data Integrity&lt;/em&gt;: Normalization ensures that data is consistent and reduces redundancy.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Efficient Storage&lt;/em&gt;: It uses less disk space compared to denormalized schemas like the Star Schema.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Detailed Analysis&lt;/em&gt;: The hierarchical structure allows for detailed drill-down analysis.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Disadvantages of Snowflake Schema&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Complexity&lt;/em&gt;: The normalized structure makes the schema harder to understand and maintain.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Performance Overhead&lt;/em&gt;: More joins are required, which can slow down query performance.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Limited Use Cases&lt;/em&gt;: Snowflaking is generally avoided unless necessary, as the space savings are often insignificant compared to the overall data warehouse size.&lt;/p&gt;

&lt;p&gt;Here's is 1-on-1 comparison of the two schema types&lt;/p&gt;

&lt;h2&gt;
  
  
  Star Schema vs Snowflake Schema (Key Factors Only)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Factor&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Star Schema&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Snowflake Schema&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Performance&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;High&lt;/strong&gt; – fewer joins, faster queries&lt;/td&gt;
&lt;td&gt;Lower – more joins slow queries&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scalability&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Scales well&lt;/strong&gt; as data &amp;amp; users grow&lt;/td&gt;
&lt;td&gt;Scales poorly for analytics workloads&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Storage efficiency&lt;/td&gt;
&lt;td&gt;Moderate – some duplication&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;High&lt;/strong&gt; – normalized, less duplication&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Memory usage (VertiPaq)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Efficient compression&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Less efficient compression&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DAX complexity&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Low&lt;/strong&gt; – simple, readable DAX&lt;/td&gt;
&lt;td&gt;High – complex relationships&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Maintenance&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Low&lt;/strong&gt; – easy to extend &amp;amp; fix&lt;/td&gt;
&lt;td&gt;High – fragile as model grows&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Filter behavior&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Predictable&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;More complex &amp;amp; error-prone&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Enterprise BI suitability&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Excellent (default choice)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Limited / niche&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Power BI recommendation&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Strongly recommended&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Avoid unless unavoidable&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Importance of Good Data Modelling in Power BI
&lt;/h2&gt;

&lt;p&gt;Good data modelling is the foundation of effective Power BI reporting. It determines whether insights are accurate, fast, scalable, and trusted across the organization.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Ensures accurate and consistent results&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A well-designed data model:&lt;/li&gt;
&lt;li&gt;Prevents double counting&lt;/li&gt;
&lt;li&gt;Ensures filters behave correctly&lt;/li&gt;
&lt;li&gt;Produces consistent totals across all visuals&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Without good modelling, reports can show conflicting numbers, which quickly erodes trust.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Improves performance&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Power BI’s engine is optimized for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Star schemas&lt;/li&gt;
&lt;li&gt;Fewer relationships&lt;/li&gt;
&lt;li&gt;Low-cardinality dimensions&lt;/li&gt;
&lt;li&gt;Good modelling results in:&lt;/li&gt;
&lt;li&gt;Faster report loading&lt;/li&gt;
&lt;li&gt;Snappier visuals&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Better performance under high user load&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Simplifies DAX calculations&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;With a clean model:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Measures are shorter and easier to read&lt;/li&gt;
&lt;li&gt;Logic is reusable&lt;/li&gt;
&lt;li&gt;There is less need for complex workarounds&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Poor modelling forces complex DAX, increasing errors and maintenance effort.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Enables scalability&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A good data model scales when:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Data volume grows&lt;/li&gt;
&lt;li&gt;New dimensions or KPIs are added&lt;/li&gt;
&lt;li&gt;More users access reports&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This allows the solution to grow without frequent redesigns.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Supports enterprise governance and security&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Proper modelling:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enables Row-Level Security (RLS)&lt;/li&gt;
&lt;li&gt;Centralizes business logic&lt;/li&gt;
&lt;li&gt;Supports shared and certified datasets&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This ensures controlled, consistent, and secure analytics.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Improves maintainability and collaboration&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Well-structured models:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Are easier to understand&lt;/li&gt;
&lt;li&gt;Follow predictable patterns&lt;/li&gt;
&lt;li&gt;Can be maintained by multiple analysts&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This reduces dependency on individuals and supports team collaboration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7. Encourages reuse and standardization&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Good modelling allows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One dataset to support many reports&lt;/li&gt;
&lt;li&gt;Standard KPIs across departments&lt;/li&gt;
&lt;li&gt;A single source of truth&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This reduces duplication and inconsistency.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Final takeaway&lt;br&gt;
Good data modelling is what transforms Power BI from a simple reporting tool into a reliable, enterprise-grade analytics platform&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>analytics</category>
      <category>powerbi</category>
      <category>datascience</category>
      <category>modelling</category>
    </item>
    <item>
      <title>Learn Excel in a week!</title>
      <dc:creator>Emmanuel Atemba</dc:creator>
      <pubDate>Sun, 25 Jan 2026 15:26:58 +0000</pubDate>
      <link>https://forem.com/atemba/learn-excel-in-a-week-5783</link>
      <guid>https://forem.com/atemba/learn-excel-in-a-week-5783</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo8squu31avs74g0gaij6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo8squu31avs74g0gaij6.png" alt=" " width="800" height="472"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Everyone in the tech field or at university has at least heard of Microsoft Excel. However, the extent to which Excel is used—and how powerful it becomes—largely depends on how well you understand it. Some people use Excel simply to display data, such as sales figures or transaction records, while others go further by uncovering insights through charts, graphs, and advanced summaries.&lt;br&gt;
In this article, I aim to highlight what Excel can truly help you achieve. Excel is more than a tool for displaying data; it is a powerful platform for data storytelling and decision-making when used effectively. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Table of Content&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Getting started with excel software &lt;/li&gt;
&lt;li&gt;Formulas in Excel &lt;/li&gt;
&lt;li&gt;Working with Tables in excel &lt;/li&gt;
&lt;li&gt;Working with Pivot Tables in excel &lt;/li&gt;
&lt;li&gt;Charts and Graphs &lt;/li&gt;
&lt;li&gt;Beyond the norm: Building excel dashboards&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;1. Getting Started with Excel&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Before diving into formulas and dashboards, it’s important to understand the basic building blocks of Excel.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Parts of Excel&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Workbook – The Excel file itself&lt;/li&gt;
&lt;li&gt;Worksheet – Individual tabs (e.g., Staging, Analysis, Dashboard)&lt;/li&gt;
&lt;li&gt;Cells – The intersection of rows and columns (e.g., A1, B2)&lt;/li&gt;
&lt;li&gt;Ranges – A selection of multiple cells (e.g., A1:D20)&lt;/li&gt;
&lt;li&gt;Formula Bar – Where formulas are written and edited&lt;/li&gt;
&lt;li&gt;Ribbon – The toolbar containing commands (Home, Insert, Data, etc.)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In most real-world scenarios, data first lands in Excel in a raw, unstructured format—just like the Staging sheet. The goal is to transform this raw data into insights.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcggrtmvdvnhkodqd1s72.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcggrtmvdvnhkodqd1s72.png" alt=" " width="800" height="459"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Formulas in Excel (With Real Sales Data Examples)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Let’s assume the Staging sheet contains raw sales data with columns similar to:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;OrderID, OrderDate, RequiredDate, Region, 
Country, City,CustomerSegment   Channel, 
Salesperson, ProductCategory, SKU, UnitCost, 
UnitPrice   DiscountPct, Quantity
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We’ll convert this data into an Excel Table named &lt;code&gt;SalesData&lt;/code&gt;.&lt;br&gt;
This allows us to write clean, readable formulas using column names.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Simple but Powerful Excel Formulas&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Total Revenue Generated&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Business Question: How much revenue have we generated in total?&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;gt; =SUM(SalesData[Revenue])&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Average Order Value&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Business Question: On average, how much does a customer spend per order?&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;=AVERAGE(SalesData[Revenue])&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Total Units Sold&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Business Question: How many items have we sold overall?&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;=SUM(SalesData[Quantity])&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Number of Orders&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Business Question: How many sales transactions were completed?&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;=COUNTA(SalesData[OrderID])&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Earliest and Latest Sale Date&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Business Question: What is the time range of our sales data?&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;=MIN(SalesData[OrderDate])&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;=MAX(SalesData[OrderDate])&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Intermediate &amp;amp; Advanced Excel Formulas for Sales Analysis&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;These formulas answer real analytical questions businesses care about.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Revenue by Category&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Business Question: How much revenue does each product category generate?

=SUMIFS(
  SalesData[Revenue],
  SalesData[Category],
  A2
)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Where A2 contains a category name (e.g., Electronics).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7. Revenue by Region&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Business Question: Which region is performing best?

=SUMIFS(
  SalesData[Revenue],
  SalesData[Region],
  A2
)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;8. Number of Orders per Customer&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Business Question: Who are our most frequent customers?

=COUNTIFS(
  SalesData[CustomerName],
  A2
)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;9. Monthly Sales Trend&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Business Question: How do sales change month over month?&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;First, extract the month:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;=TEXT([@OrderDate],"mmm-yyyy")&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Then calculate monthly revenue:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;=SUMIFS(&lt;br&gt;
  SalesData[Revenue],&lt;br&gt;
  SalesData[Month],&lt;br&gt;
  A2&lt;br&gt;
)&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;10. Calculate Revenue (If Not Provided)&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Business Question: How do we derive revenue from raw transaction data?

=[@Quantity] * [@UnitPrice]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;📌 Best practice: Always calculate revenue rather than manually entering it.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;11. Identify High-Value Orders&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Business Question: Which orders exceed a certain revenue threshold?

=IF([@Revenue] &amp;gt; 100000, "High Value", "Standard")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;12. Handle Missing or Incorrect Data&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Business Question: How do we avoid formula errors in reports?

=IFERROR(
  [@Quantity] * [@UnitPrice],
  0
)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;13. Lookup Product Price or Category&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Business Question: How do we enrich sales data from a master product list?

=XLOOKUP(
  [@Product],
  Products[ProductName],
  Products[UnitPrice]
)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  3. Tables + Formulas = Faster Analysis
&lt;/h2&gt;

&lt;p&gt;Once your formulas are written inside a Table:&lt;/p&gt;

&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;They automatically copy to new rows&lt;/li&gt;
&lt;li&gt;They update when new sales data is added&lt;/li&gt;
&lt;li&gt;They integrate seamlessly with Pivot Tables and charts&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;-&amp;gt; Calculated columns inside Excel Table&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe4q3j0tjh7qy4qvplpag.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe4q3j0tjh7qy4qvplpag.png" alt=" " width="800" height="67"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;-&amp;gt; Automatically filled to all data rows&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fntwnopeabujyy62di5ix.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fntwnopeabujyy62di5ix.png" alt=" " width="800" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Pivot Tables: When Formulas Are Not Enough&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;While formulas answer specific questions, Pivot Tables help answer exploratory questions, such as:&lt;/p&gt;

&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;Which category drives the most revenue?&lt;/li&gt;
&lt;li&gt;How do sales vary by region and month?&lt;/li&gt;
&lt;li&gt;Who are the top 10 customers?&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;Pivot Tables often replace dozens of &lt;code&gt;SUMIFS&lt;/code&gt;formulas with a drag-and-drop interface.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Pivot Table summarizing revenue by category and region&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F284nf8iogma71n0113pd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F284nf8iogma71n0113pd.png" alt=" " width="484" height="692"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Charts: Turning Answers into Stories&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Once formulas and Pivot Tables provide answers, charts help communicate them:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Line chart → Monthly sales trend

Column chart → Revenue by category

Bar chart → Top customers
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;6. Dashboards: From Analyst to Decision-Maker&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A dashboard built on:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Excel Tables

Pivot Tables

Slicers

Charts
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Allows leadership to answer questions like:&lt;/p&gt;

&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;Are sales improving or declining?&lt;/li&gt;
&lt;li&gt;Which regions need attention?&lt;/li&gt;
&lt;li&gt;What products drive profitability?&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Key Takeaway&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Excel formulas are not just calculations—they are questions translated into logic.&lt;/p&gt;

&lt;p&gt;If you can clearly ask:&lt;/p&gt;

&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;What happened?&lt;/li&gt;
&lt;li&gt;Why did it happen?&lt;/li&gt;
&lt;li&gt;What should we do next?&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;Then Excel becomes one of the most powerful data analysis tools you already own.&lt;/p&gt;

</description>
      <category>msexcel</category>
      <category>excel</category>
      <category>datascience</category>
      <category>data</category>
    </item>
  </channel>
</rss>
