<?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: Young Odhiambo</title>
    <description>The latest articles on DEV Community by Young Odhiambo (@young_odhiambo).</description>
    <link>https://dev.to/young_odhiambo</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%2F3952978%2F1d0188a8-70fb-4751-bc0d-066b33e52ff9.png</url>
      <title>DEV Community: Young Odhiambo</title>
      <link>https://dev.to/young_odhiambo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/young_odhiambo"/>
    <language>en</language>
    <item>
      <title>Connecting Power BI to SQL Databases: A Practical Guide</title>
      <dc:creator>Young Odhiambo</dc:creator>
      <pubDate>Sat, 04 Jul 2026 09:23:03 +0000</pubDate>
      <link>https://dev.to/young_odhiambo/connecting-power-bi-to-sql-databases-a-practical-guide-23m2</link>
      <guid>https://dev.to/young_odhiambo/connecting-power-bi-to-sql-databases-a-practical-guide-23m2</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;In most modern organizations, data is one of the most valuable assets. Companies collect large amounts of information from sales systems, websites, customer platforms, and operational databases. To make sense of this information, businesses use tools that can transform this raw data into clear insights. One of the most widely used tools for this purpose is the Microsoft Power BI platform.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Power BI?
&lt;/h2&gt;

&lt;p&gt;Power BI is a business intelligence and data visualization tool developed by Microsoft. It allows users to connect to multiple data sources, transform raw data into meaningful insights, and present results through interactive dashboards and reports.&lt;/p&gt;

&lt;p&gt;Businesses use Power BI to monitor performance, identify trends, and support decision-making in areas such as sales, marketing and operations. Instead of relying on static spreadsheets, Power BI enables analysts to work with real-time data, ensuring reports remain accurate and up to date.&lt;/p&gt;

&lt;p&gt;Most organizations store their operational and analytical data in SQL databases. SQL databases are designed to store large amounts of structured data in tables. They allow users to query, filter, update, and analyze data efficiently using Structured Query Language (SQL). SQL databases are reliable, secure, and scalable, hence they are widely used in business systems such as sales platforms, customer management systems, and inventory systems.&lt;/p&gt;

&lt;p&gt;Connecting Power BI to a database allows analysts to access this stored data directly. Instead of manually exporting data into spreadsheets, Power BI can retrieve the data automatically, refresh it when the database changes, and build dashboards that always reflect the latest information.&lt;/p&gt;

&lt;p&gt;This article discuss how to connect Power BI to SQL databases, connecting Power BI to local PostgreSQL database, how to connect to cloud database such as Aiven PostgreSQl, and how loaded data are used for analysis.&lt;/p&gt;

&lt;h2&gt;
  
  
  Understanding Power BI
&lt;/h2&gt;

&lt;p&gt;Before connecting to a databases its important to understand the power BI interface. Power BI Desktop is the main application for building reports and dashboards.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqheretkwrqrc6bneejty.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqheretkwrqrc6bneejty.png" alt=" " width="800" height="425"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Power BI Desktop contains a user-friendly interface designed to help build reports efficiently:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ribbon: Contains tabs like Home, Insert, and Modeling with tools for data and visuals.&lt;/li&gt;
&lt;li&gt;Report canvas: The main area where you build and arrange your visuals.&lt;/li&gt;
&lt;li&gt;Fields pane: Displays the tables and columns loaded into Power BI.&lt;/li&gt;
&lt;li&gt;Visualizations pane: Used to select and customize charts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can get the Power BI Desktop here &lt;a href="https://www.microsoft.com/en/power-platform/products/power-bi/desktop?market=af" rel="noopener noreferrer"&gt;Power BI Desktop&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Connecting Power BI Desktop to a Local PostgreSQL
&lt;/h2&gt;

&lt;p&gt;PostgreSQL is a free and open-source database management system used to store, organize and manage data efficiently. The steps below explain how to connect Power BI to a local PostgreSQL database.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1 : Open Power BI Desktop&lt;/strong&gt;&lt;br&gt;
Start by opening Power BI Desktop on your computer.&lt;br&gt;
When the application opens, a blank report canvas appears. This is where you will build your report after loading the data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2 : Get Data&lt;/strong&gt;&lt;br&gt;
On the Home tab of the ribbon, click Get Data.&lt;br&gt;
This button opens a list of available data sources. Power BI supports many data sources including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Excel&lt;/li&gt;
&lt;li&gt;SQL Server&lt;/li&gt;
&lt;li&gt;PostgreSQL&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Web APIs The Get Data feature is the starting point for connecting Power BI to any data source.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Other data sources are as shown on the image.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fevz16swqehl8493vac39.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fevz16swqehl8493vac39.png" alt=" " width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3 : Select PostgreSQL Database&lt;/strong&gt;&lt;br&gt;
From the list of available data connectors, click &lt;strong&gt;more&lt;/strong&gt; to view more options. Scroll down, select &lt;strong&gt;PostgreSQL Database&lt;/strong&gt; and click &lt;strong&gt;Connect&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4 : Enter Database Connection Details&lt;/strong&gt;&lt;br&gt;
After selecting PostreSQL Database and clicking connect, Power BI opens a window requiring to enter the Database connection details.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsm0h477xc86qpytwui57.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsm0h477xc86qpytwui57.png" alt=" " width="800" height="426"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Server&lt;/em&gt; : The location of the database server. If the database is on your computer, use localhost.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Database&lt;/em&gt; : The name of the database you want to connect to.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5 : Provide Logins Details&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;After a connection is made Power BI will ask for authentication details.&lt;br&gt;
You'll need to provide:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Username&lt;/em&gt;&lt;br&gt;
&lt;em&gt;Password&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;These credentials were set up during installation of the PostgreSQL and allows Power BI to securely access the database.&lt;/p&gt;

&lt;p&gt;Once the credentials are entered, click Connect.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 6 : Select Tables To Import&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;After connecting successfully, Power BI opens the Navigator Window which displays all available tables in the database.&lt;br&gt;
You can preview the contents of each table before loading them.&lt;br&gt;
There are two options:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Load&lt;/em&gt; : Import the data directly.&lt;br&gt;
&lt;em&gt;Transform Data&lt;/em&gt; : Clean or modify the data before loading it.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgg7o68yq0jmd3nst6mol.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgg7o68yq0jmd3nst6mol.png" alt=" " width="799" height="425"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Connecting Power BI To Cloud Database (Aiven PostgreSQL)
&lt;/h2&gt;

&lt;p&gt;Cloud platforms like &lt;a href="https://aiven.io/" rel="noopener noreferrer"&gt;Aiven&lt;/a&gt; provide managed PostgreSQL databases that can be accessed remotely.&lt;/p&gt;

&lt;p&gt;Connecting Power BI to PostgreSQL allows users to analyze real-time database data directly inside dashboards.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1 : Get Database Connection Details from Aiven&lt;/strong&gt;&lt;br&gt;
Login to Aiven and inside your dashboard you'll find connection details fo your PostgreSQL service. These details are used by Power BI to locate and connect to your database.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvrqgtjj96mfctzatxghk.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvrqgtjj96mfctzatxghk.png" alt=" " width="800" height="253"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2 : Download and Install the SSL Certificate&lt;/strong&gt;&lt;br&gt;
In Cloud Databases customer data is often encrypted when stored in database tables, temporary files, and backups. External connections can be encrypted by using SSL.&lt;br&gt;
SSL encryption ensures;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Data transferred between Power BI and the database is encrypted.&lt;/li&gt;
&lt;li&gt;Unauthorized users cannot intercept the connection.&lt;/li&gt;
&lt;li&gt;The database server identity is verified.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In Aiven download the CA Certificate from the connection.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq2h2xxhj5swj0zfswc7z.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq2h2xxhj5swj0zfswc7z.png" alt=" " width="583" height="639"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Search for Manage User Certificates in your Desktop and choose Trusted Root Certification to import your Certificate connection.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdb40a2r1hczi0kvegwab.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdb40a2r1hczi0kvegwab.png" alt=" " width="777" height="546"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Browse the files to select the certificate and click next until the importation is finished&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxuvqonpzn9rsfutr93rs.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxuvqonpzn9rsfutr93rs.png" alt=" " width="800" height="672"&gt;&lt;/a&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhdjb8fs2kz29havsr9dr.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhdjb8fs2kz29havsr9dr.png" alt=" " width="800" height="661"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3 : Connect to Power BI&lt;/strong&gt;&lt;br&gt;
Open Power BI desktop as before, click Get Data, click more, scroll down and select PostgreSQL Database.&lt;br&gt;
Copy the Server Name from the service URL(&lt;em&gt;host_name:port_number&lt;/em&gt;) on Connection Information and paste on Power BI.&lt;br&gt;
Input the name of your database and click OK.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu9xe7knman1wbcpn67kl.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu9xe7knman1wbcpn67kl.png" alt=" " width="800" height="414"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Copy the username and password from Aiven, input them on the Power BI credentials window that opens and click &lt;em&gt;connect&lt;/em&gt;.&lt;br&gt;
Select the tables you want to work with and click on &lt;em&gt;load or transform&lt;/em&gt; data depending on what you wish to do with the data.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Feihopv4zvd9071zlygb5.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Feihopv4zvd9071zlygb5.png" alt=" " width="799" height="414"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Successfully loaded data displays on the data pane as shown on figure below.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fabeh8zowgntvw5lqy0mf.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fabeh8zowgntvw5lqy0mf.png" alt=" " width="800" height="415"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;Power BI is a powerful tool that helps organizations transform raw data into meaningful insights. By connecting directly to SQL databases, Power BI allows analysts to access structured data stored in business systems and convert it into interactive dashboards and reports.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>database</category>
      <category>learning</category>
      <category>tools</category>
    </item>
    <item>
      <title>Data Modeling, Joins, Relationships and Schemas</title>
      <dc:creator>Young Odhiambo</dc:creator>
      <pubDate>Mon, 22 Jun 2026 20:46:52 +0000</pubDate>
      <link>https://dev.to/young_odhiambo/data-modeling-joins-relationships-and-schemas-35go</link>
      <guid>https://dev.to/young_odhiambo/data-modeling-joins-relationships-and-schemas-35go</guid>
      <description>&lt;h2&gt;
  
  
  Data Modeling
&lt;/h2&gt;

&lt;p&gt;Data modeling is the process of creating a structured and visual representation of data, defining how data elements relate to one another within a system. It helps translate business requirements into organized data structures that support accurate analysis and effective decision-making.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a Data Model?
&lt;/h2&gt;

&lt;p&gt;A data model is a visual and logical representation of an organization data elements and the relationships between them.&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Improved data organization.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Better data integrity.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Enhanced data security.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Increased scalability.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Types of Data Models.
&lt;/h2&gt;

&lt;p&gt;There are three main types of data models:&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F202i9n3e0g2okllyuak1.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F202i9n3e0g2okllyuak1.webp" alt=" " width="800" height="287"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Conceptual data models.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;They are also referred to as domain models and offer a high-level view of what the system will contain, how it will be organized, and which business rules are involved. Conceptual models are created as part of the process of gathering initial project requirements.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzyj1cvojylz7u4pimr7x.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzyj1cvojylz7u4pimr7x.webp" alt=" " width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Purpose&lt;/strong&gt;: Organize and define business problems, rules and concepts.&lt;br&gt;
&lt;strong&gt;Focus&lt;/strong&gt;: High-level overview of data such as customer data, market data and purchase data.&lt;br&gt;
&lt;strong&gt;Audience&lt;/strong&gt;: Business stakeholders and analysts.&lt;br&gt;
&lt;strong&gt;Example Use&lt;/strong&gt;: Understanding the relationship between customers and their orders before designing the database structure.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Logical data models.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Shows how data entities are related and describes the data from a technical perspective.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxqk8hzycrpz4effnw7qy.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxqk8hzycrpz4effnw7qy.webp" alt=" " width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Purpose&lt;/strong&gt;: Define tables, columns, relationships and constraints that form the data structure.&lt;br&gt;
&lt;strong&gt;Focus&lt;/strong&gt;: Structure of the data without depending on any specific database management system (DBMS).&lt;br&gt;
&lt;strong&gt;Audience&lt;/strong&gt;: Data architects and analysts.&lt;br&gt;
&lt;strong&gt;Example Use&lt;/strong&gt;: Outlining the schema, relationships and rules for customer and order data, which later guides the physical database design.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Physical data models.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Guides the implementation of a database with a detailed representation of a database design.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fegcnhbu5te1f71ssam8m.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fegcnhbu5te1f71ssam8m.webp" alt=" " width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Purpose&lt;/strong&gt;: Define every element needed to construct a database, including tables, columns, keys and constraints (primary key, foreign key, NOT NULL, etc.).&lt;br&gt;
&lt;strong&gt;Focus&lt;/strong&gt;: Actual implementation of the database using queries and the chosen DBMS features.&lt;br&gt;
&lt;strong&gt;Audience&lt;/strong&gt;: Developers and database administrators (DBAs).&lt;br&gt;
&lt;strong&gt;Example Use&lt;/strong&gt;: Creating the database schema and ensuring that all constraints and relationships are enforced in the physical database.&lt;/p&gt;

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

&lt;p&gt;Here we describe the primary techniques used to develop data models.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hierarchical data models&lt;/strong&gt;: Represent one-to-many relationships in a treelike format. In this type of model, each record has a single root or parent, which maps to one or more child tables.&lt;/li&gt;
&lt;/ul&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftgg1ol1bsed7hopbkc2d.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftgg1ol1bsed7hopbkc2d.webp" alt=" " width="800" height="290"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Entity-relationship (ER) models&lt;/strong&gt;: Are a variation of relational models and they provide a graphical representation of entities, their attributes, and the relationships between them.&lt;/li&gt;
&lt;/ul&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5xuyugyjf7s9p5ln8asp.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5xuyugyjf7s9p5ln8asp.png" alt=" " width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Relational Model&lt;/strong&gt;: Relational Mode represent the links between tables by representing data as rows and columns in tables. It is frequently utilised in database design and is strongly related to relational database management systems (RDBMS).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Object-oriented data models&lt;/strong&gt;: Models are similar to ER models in that they represent data as objects with attributes and methods, but object-oriented models abstract entities into objects.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Dimensional data models&lt;/strong&gt;: Models are based on the concept of dimensions, which are used to categorize and organize data, and facts, which are the numeric measurements or values associated with the dimensions.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Ralationship in a Database
&lt;/h1&gt;

&lt;p&gt;A relationship in a DBMS exists when a variable has a connection with the properties stored in different tables. Such relationships help the organization of entities intertwined with each other, ultimately enabling efficient data processing. They're exhibited usually via keys in a table, which is either columns or fields that specify a distinctive arrangement for each record.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key features of database relationships.
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Primary keys&lt;/strong&gt;: Unique identifiers for each record in a table, ensuring that no two rows are identical.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Foreign keys&lt;/strong&gt;: Links between tables, pointing to primary keys in another table to establish relationships.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Data integrity&lt;/strong&gt;: Relationships ensure consistency and prevent errors, such as associating an order with a non-existent customer.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Types of Database Relationships.
&lt;/h2&gt;

&lt;p&gt;Database relationships can be broadly categorized into four types, each serving a specific purpose in connecting data.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;One-to-one (1:1) relationships&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A one-to-one relationship connects one record in a table to exactly one record in another table. This is often used when splitting data into multiple tables for better organization or security.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqh2auy8yqro97gvn6h6c.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqh2auy8yqro97gvn6h6c.webp" alt=" " width="385" height="131"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;One-to-many (1:N) or many-to-one (N:1) relationships&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In a one-to-many relationship, a single record in one table can be associated with multiple records in another table. This is one of the most common relationship types in relational databases.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdi56pv3m5vduq3d1gd1e.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdi56pv3m5vduq3d1gd1e.webp" alt=" " width="800" height="247"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Many-to-many (N: N) relationships&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A many-to-many relationship occurs when multiple records in one table are related to multiple records in another table. This is implemented using a junction table to manage the connections.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fk26p88pc27lscpfdptkr.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fk26p88pc27lscpfdptkr.webp" alt=" " width="288" height="175"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Self-referencing relationships&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In a self-referencing relationship, records in a table are linked to other records within the same table.&lt;/p&gt;

&lt;h1&gt;
  
  
  Database Schemas
&lt;/h1&gt;

&lt;p&gt;A database schema defines the structure and organization of data within a database. It outlines how data is logically stored, including the relationships between different tables and other database objects.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a Schema?
&lt;/h2&gt;

&lt;p&gt;A schema is the blueprint or structure that defines how data is organized and stored in a database.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg12qbdhm2xzmi82vbdlp.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg12qbdhm2xzmi82vbdlp.jpg" alt=" " width="720" height="283"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Types of Database Schemas
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Conceptual Database Schema&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A conceptual schema describes the overall structure of the entire database at a high level.&lt;br&gt;
It focuses on the meaning of data and captures how different entities relate to each other—without worrying about how data is stored physically.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Physical Database Schema&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The physical schema defines how the data is actually stored on disk.&lt;br&gt;
Specifies files, indexes, partitions, storage blocks, access paths, etc.&lt;br&gt;
It represents the lowest level of abstraction, focusing on performance, storage optimization, and data retrieval efficiency.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Logical Database Schema&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The logical schema describes the logical structure of data as it appears to the database designers and developers. Defines tables, columns, primary keys, foreign keys, relationships, and integrity rules. This schema represents a higher level of abstraction and is independent of physical storage details.&lt;/p&gt;

&lt;h2&gt;
  
  
  Difference between Logical and Physical Database 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fywgoy0fo20vds3cqlwrj.jpeg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fywgoy0fo20vds3cqlwrj.jpeg" alt=" " width="800" height="673"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Database Schema Designs
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Flat Model&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A flat model schema is a 2-D array in which every column contains the same type of data/information and the elements with rows are related to each other. It is just like a table or a spreadsheet.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmde2xa1lcd767rkkm2y6.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmde2xa1lcd767rkkm2y6.webp" alt=" " width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Star Schema&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The star schema is a simple and commonly used schema in data warehousing. It consists of a central fact table surrounded by dimension tables, forming a star-like pattern.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu8161zvu7fajc6fs90fv.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu8161zvu7fajc6fs90fv.webp" alt=" " width="800" height="546"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use Cases&lt;/strong&gt;: Star schemas are ideal for straightforward reporting and querying. They are efficient for read-heavy operations, making them suitable for dashboards and summary reports.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The star schema does not necessarily have to be in the shape of a star. Below is also a star schema and is a preferred arrangement for many experts as in this arrangement is easier to visualize filter propagation from dimension to fact tables.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fecaw48yorujll5e9iam0.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fecaw48yorujll5e9iam0.webp" alt=" " width="322" height="156"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Snowflake Schema&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The snowflake schema is a normalized version of the star schema. In this design, dimension tables are further divided into related tables, resulting in a more complex structure.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqw99gmxkuw38bhtfzau5.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqw99gmxkuw38bhtfzau5.webp" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use Cases&lt;/strong&gt;: Snowflake schemas are used in scenarios requiring detailed data models and efficient storage. They are beneficial when dealing with large datasets where data redundancy needs to be minimized.&lt;/p&gt;

&lt;h1&gt;
  
  
  Joins in data modeling
&lt;/h1&gt;

&lt;p&gt;Joins are used to combine data from multiple tables into a single view.&lt;/p&gt;

&lt;h2&gt;
  
  
  Types of Joins
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Inner Join&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An inner join returns only the records that have matching values in both tables being joined. It combines rows from both tables based on a common column known as the join key. The result of an inner join will only include rows where there is a match in both tables.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhfdel2hqtjifxticnyvl.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhfdel2hqtjifxticnyvl.webp" alt=" " width="242" height="163"&gt;&lt;/a&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fksiduakg8m2m8z62nnev.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fksiduakg8m2m8z62nnev.webp" alt=" " width="463" height="305"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Left Outer Join&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This type of join returns all the rows from the left table and matching rows from the right table. If there are no matching rows in the right table, it returns NULL values for the right table columns.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkj3jmggjjpfv5epyfvrg.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkj3jmggjjpfv5epyfvrg.webp" alt=" " width="200" height="125"&gt;&lt;/a&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwcco0zlwzh1nu42zc2b9.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwcco0zlwzh1nu42zc2b9.webp" alt=" " width="464" height="379"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Right Outer Join&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This type of join returns all the rows from the right table and matching rows from the left table. If there are no matching rows in the left table, it returns NULL values for the left table columns.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxw0cjwlpd6biobjow45w.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxw0cjwlpd6biobjow45w.webp" alt=" " width="197" height="127"&gt;&lt;/a&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgguhagucfg7k686qarpg.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgguhagucfg7k686qarpg.webp" alt=" " width="464" height="305"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Full Outer Join&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This type of join returns all the rows from both tables with NULL values in the columns where there is no match.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn4qjkpfsr1k3gksxsan2.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn4qjkpfsr1k3gksxsan2.webp" alt=" " width="200" height="125"&gt;&lt;/a&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn7kum5p42q5d34fwcxvb.webp" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn7kum5p42q5d34fwcxvb.webp" alt=" " width="464" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Summary
&lt;/h1&gt;

&lt;p&gt;Here's the beginner-friendly recap:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data Modeling&lt;/strong&gt; is the process of organizing and connecting your data tables so Power BI knows how they relate to each other.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Schemas&lt;/strong&gt; are the blueprint of your model. The Star Schema is your best friend in Power BI — one fact table surrounded by dimension tables. The Snowflake Schema exists but adds complexity without much benefit in Power BI.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Relationships&lt;/strong&gt; are the lines between tables. They're built on &lt;strong&gt;Primary Keys&lt;/strong&gt; and &lt;strong&gt;Foreign Keys&lt;/strong&gt;, and they define how filters flow through your model. The most common type is &lt;strong&gt;One-to-Many (1:N)&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Joins&lt;/strong&gt; (like Inner Join and Left Join) are how Power BI physically combines rows from different tables when calculating your visuals.&lt;/p&gt;

</description>
      <category>database</category>
      <category>datascience</category>
      <category>data</category>
      <category>career</category>
    </item>
    <item>
      <title>How Excel is Used in Real-World Data Analysis</title>
      <dc:creator>Young Odhiambo</dc:creator>
      <pubDate>Fri, 05 Jun 2026 10:54:36 +0000</pubDate>
      <link>https://dev.to/young_odhiambo/how-excel-is-used-in-real-world-data-analysis-5005</link>
      <guid>https://dev.to/young_odhiambo/how-excel-is-used-in-real-world-data-analysis-5005</guid>
      <description>&lt;h1&gt;
  
  
  &lt;strong&gt;Introduction&lt;/strong&gt;
&lt;/h1&gt;

&lt;h3&gt;
  
  
  What is Excel?
&lt;/h3&gt;

&lt;p&gt;Excel is a spreadsheet application developed by Microsoft that allows users to organize data into rows and columns, helping users analyze data, visualize data, and handle tasks efficiently. &lt;/p&gt;

&lt;h5&gt;
  
  
  Excel is Important because it's;
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Simplifies data handling from basic lists to complex analysis.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Widely used for reports, project tracking and decision-making.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Provides formulas, functions, and tools that help identify trends, patterns, and relationships in data.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Saves time and increases efficiency when handling data-related tasks.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Real-World Uses of Excel in Data Analysis&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Microsoft Excel is a widely used tool in the real world for managing, analyzing, and reporting data. It helps professionals organize information, perform calculations, and create reports using features like formulas, pivot tables, and charts.&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Uses of Excel in Data Analysis
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Data Analysis and Reporting&lt;/strong&gt;&lt;br&gt;
Excel is a powerful tool for analyzing data using formulas, pivot tables, and charts. it turns raw data into actionable insights, supporting data-driven decision-making&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Financial Planning and Budgeting&lt;/strong&gt;&lt;br&gt;
Excel simplifies financial planning by allowing organizations to track expenses, create budgets, and calculate financial metrics. The use of built in functions ensures financial accuracy and precision.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Business Decision Making&lt;/strong&gt;&lt;br&gt;
Excel enables businesses to predict market trends, assess risks, and make data-driven decisions. By using historical data and forecasting  models, businesses can plan for future growth and financial stability.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Excel Features and Formulas
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;SUM Function&lt;/strong&gt; - &lt;em&gt;Adds all numeric values in a selected range. Commonly used to calculate totals.&lt;/em&gt;&lt;br&gt;
&lt;code&gt;=SUM(number1,[number2],...)&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Average Function&lt;/strong&gt; - &lt;em&gt;Calculates the mean range of values&lt;/em&gt;&lt;br&gt;
&lt;code&gt;=AVERAGE(number1,[number2],...)&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;MAX Function&lt;/strong&gt; - &lt;em&gt;Returns the highest value from a range.&lt;/em&gt;&lt;br&gt;
&lt;code&gt;=MAX(number1,[number2],...)&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;MIN Function&lt;/strong&gt; - &lt;em&gt;Finds the lowest value in a range&lt;/em&gt;&lt;br&gt;
&lt;code&gt;=MIN(number1,[number2],...)&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;COUNT Function&lt;/strong&gt; - &lt;em&gt;Counts how many cells in a range contain numeric values.&lt;/em&gt;&lt;br&gt;
&lt;code&gt;=COUNT(number1,[number2],...)&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;SUMIF Function&lt;/strong&gt; - &lt;em&gt;Adds values that meet a specific condition.&lt;/em&gt;&lt;br&gt;
&lt;code&gt;=SUMIF(range, criteria, [sum_range])&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AVERAGEIF Function&lt;/strong&gt; - &lt;em&gt;Calculates the average of values that satisfy a condition.&lt;/em&gt;&lt;br&gt;
&lt;code&gt;=AVERAGEIF(range, criteria, [average_range])&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Personal Reflection
&lt;/h1&gt;

&lt;p&gt;Learning Excel has significantly changed the way I view data. Previously, I saw data as a collection of numbers and records. However, I now understand that data can reveal important patterns, trends, and insights when analyzed properly. Excel has taught me how to organize information efficiently, perform calculations accurately, and present findings in a clear and professional manner. As a result, I now see data as a powerful resource that can support decision-making, improve performance, and drive success in both academic and professional settings.&lt;/p&gt;

</description>
      <category>career</category>
      <category>data</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
