<?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>DEV Community: Melvin</title>
    <description>The latest articles on DEV Community by Melvin (@melvinkeep).</description>
    <link>https://dev.to/melvinkeep</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3952237%2Ff696f977-ca54-40b0-b537-626ed0fbd734.png</url>
      <title>DEV Community: Melvin</title>
      <link>https://dev.to/melvinkeep</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/melvinkeep"/>
    <language>en</language>
    <item>
      <title>Data Modelling, Joins, Relationships &amp; Types of Schemas in Power Bi.</title>
      <dc:creator>Melvin</dc:creator>
      <pubDate>Sun, 21 Jun 2026 12:08:28 +0000</pubDate>
      <link>https://dev.to/melvinkeep/data-modelling-joins-relationships-types-of-schemas-in-power-bi-5gh7</link>
      <guid>https://dev.to/melvinkeep/data-modelling-joins-relationships-types-of-schemas-in-power-bi-5gh7</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;In todays data-driven business environment, organizations generate and store huge amounts of data from various sources. To transform this raw data into meaningful insights, it is important to structure it effectively.&lt;br&gt;
Data modelling provides a framework for representing data, defining relationships between data elements and ensuring consistency and accuracy within analytical systems.&lt;br&gt;
In Power Bi, data modelling plays a critical role in enabling efficient data analysis and reporting. &lt;/p&gt;

&lt;h1&gt;
  
  
  Data Modelling
&lt;/h1&gt;

&lt;h2&gt;
  
  
  What is data modelling?
&lt;/h2&gt;

&lt;p&gt;Data modelling is the process of organizing and connecting data tables together for analysis, visualization and reporting.&lt;br&gt;
It involves creating relationships between tables, creating measures and calculated columns and structuring data in a way that makes analysis and reporting accurate.&lt;br&gt;
In power Bi, a good model typically:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Uses dimension tables&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Enables fast filtering and aggregation&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Minimizes redundancy for perfomance and accuracy&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Separates data into fact tables&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A strong data model is the foundation for accurate dashboards and scalable analytics.&lt;/p&gt;

&lt;h1&gt;
  
  
  Joins
&lt;/h1&gt;

&lt;p&gt;Joins define how two tables are combined based on a related column.&lt;/p&gt;

&lt;h2&gt;
  
  
  Types of joins:
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Inner Join&lt;/strong&gt; -It returns only the matching rows that exist in both the right and left tables. If a value doesn't exist in both tables, the row is thus dropped.&lt;br&gt;
It is used when you only want records that are common in both tables.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Left Join&lt;/strong&gt; - Returns all rows from the left table and matching rows from the rigt. Missing matches become null.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Right Join&lt;/strong&gt;- Returns all rows from the right table and matches from left.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Full Outer Join&lt;/strong&gt; - Returns all rows from both tables, matched where possible.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Relationships in Power Bi
&lt;/h2&gt;

&lt;p&gt;Relationships in power Bi are the vital links that connect two or more data tables based on common columns (keys)&lt;br&gt;
They dictate how filters propagate across the data model allowing you to slice and aggregate information from multiple tables into a single cohesive report without needing to merge them.&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;One-to-Many(1:*)&lt;/strong&gt;- Found when a primary table links to a secondary, larger dataset.&lt;br&gt;
-one customer:many orders&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Many-to-One(*:1)&lt;/strong&gt;- It connects a dimension table with unique values to a facts table containing many instances of the same value.&lt;br&gt;
-Its the most common and recommended relationship.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Many-to Many(:)&lt;/strong&gt;- Used when both tables have repeating values.&lt;br&gt;
-Requires carefull handling as it can cause ambiquity.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;One-to-One(1:1)&lt;/strong&gt;- Used when a value in either table appears exactly once. It is relatively rare.&lt;/p&gt;
&lt;h2&gt;
  
  
  Types of Schemas
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What is a schema in power Bi?&lt;/strong&gt;&lt;br&gt;
A schema refers to the logical structure and organization of tables in a data model.&lt;br&gt;
&lt;strong&gt;Star Schema&lt;/strong&gt;- &lt;br&gt;
A star schema is a foundational data modelling technique that organizes data into a central fact table sorrounded by dimension tables.&lt;br&gt;
&lt;u&gt;Key components&lt;/u&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Fact table- its the central table in a data model. It contains numerical values that you want to anlyze and usually links to dimension tables through keys.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Dimension tables - They are tables that contain descriptive information about the business entities in the tables.&lt;br&gt;
They provide contexts to the numbers stored in fact tables and are used for filtering, grouping and labeling data in reports.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Advantages&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;One central fact table&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Multiple dimension tables&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fast query perfomance&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Snowflake Schema&lt;/strong&gt; &lt;br&gt;
It is a data modelling structure where dimension tables are normalized and split into multiple, related sub-tables to save data storage space and reduce redundancy.&lt;br&gt;
Advantages&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Better data integrity&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Reduced storage&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Disadvantages &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Slightly slower queries&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Requires more joins&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>analytics</category>
      <category>database</category>
      <category>microsoft</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How Excel is Used in Real-World Data Analysis</title>
      <dc:creator>Melvin</dc:creator>
      <pubDate>Sat, 06 Jun 2026 16:24:42 +0000</pubDate>
      <link>https://dev.to/melvinkeep/how-excel-is-used-in-real-world-data-analysis-2jcl</link>
      <guid>https://dev.to/melvinkeep/how-excel-is-used-in-real-world-data-analysis-2jcl</guid>
      <description>&lt;p&gt;Microsoft excel is a spreadsheet program used to collect, analyze, store, calculate and visualize data efficiently.&lt;/p&gt;

&lt;h2&gt;
  
  
  Applications of Excel in real-world data analysis
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Making data-driven business decisions&lt;/strong&gt;: Companies usually collect data e.g sales numbers, customer behaviour. Excel allows that data to be cleaned and structured using tables,dashboards,filters and formulas. Once the data is organized, excel supports better decisions by making data easy to clean, visualize and interpret.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Financial reporting:&lt;/strong&gt; Excel plays a critical role in financial reporting by transforming raw data into meaningful insights that helps businesses, stakeholders understand their perfomance and make data-driven decisions. It helps build financial models, create charts and dashboards used for reporting.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Marketing perfomance:&lt;/strong&gt; Excel is used in marketing perfomance to measure results from campaigns like ads, email marketing and monitor engagement rates on social media platforms e.g facebook, instagram. Thus it's used to create charts, and create comparison on perfomance across different campaigns.&lt;/p&gt;
&lt;h2&gt;
  
  
  Formulas and features of Excel i've learned so far:
&lt;/h2&gt;

&lt;p&gt;Example: A(product) B(region) C(sales)&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;SUMIF() function - it is used to add up values that meet specific condition. Example, if you do want to get the total sales of oranges only.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;=SUMIF(C2:C6,A2:A6,"Orange")

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

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;COUNTIFS() function - it is used to count how many rows meet multiple conditions at the same time. Example, How many times did apple sell in Nairobi?
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;=COUNTIFS(A2:A7,"apple",B2:B7,"Nairobi")

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

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Data validation - it is a feature in excel that controls what type of data can be enterd into a cell. It enables users enter only valid and accurate data. Example, if you only want to enter gender as only male and female.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;In conclusion, learning excel has changed the way I view data because it has shifted my thinking from seeing raw and messy data to seeing cleaned, transformed data that's used in data-driven decion making.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>learning</category>
      <category>datascience</category>
    </item>
  </channel>
</rss>
