<?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>End-to-End Power BI Integration with PostgreSQL: Local and Aiven Cloud</title>
      <dc:creator>Melvin</dc:creator>
      <pubDate>Wed, 22 Jul 2026 14:22:37 +0000</pubDate>
      <link>https://dev.to/melvinkeep/end-to-end-power-bi-integration-with-postgresql-local-and-aiven-cloud-134b</link>
      <guid>https://dev.to/melvinkeep/end-to-end-power-bi-integration-with-postgresql-local-and-aiven-cloud-134b</guid>
      <description>&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;Power BI is a business intelligence and data visualization tool that enables users to transform raw data into interactive dashboards and insightful reports.&lt;br&gt;
PostgreSQL is a robust, open-source relational database management system widely used for storing and managing structured data.&lt;br&gt;
Connecting Power BI to PostgreSQL allows analysts and business users to access live data, perform advanced analysis, and create data-driven visualizations for informed decision-making.&lt;/p&gt;

&lt;p&gt;In this guide, you will learn how to connect Power BI to PostgreSQL in two common environments: a &lt;strong&gt;local PostgreSQL&lt;/strong&gt; database running on your computer and an &lt;strong&gt;Aiven Cloud PostgreSQL&lt;/strong&gt; database hosted in the cloud.&lt;/p&gt;

&lt;h1&gt;
  
  
  Establishing a Local PostgreSQL Database
&lt;/h1&gt;

&lt;p&gt;The first method of connecting Power BI to a data source is by linking it to a local PostgreSQL database hosted on your computer.&lt;/p&gt;

&lt;p&gt;Step 1: Open Power BI Desktop&lt;br&gt;
Launch Power BI Desktop and select Blank report.&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%2F1km4n0687yz5ge2m6cft.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%2F1km4n0687yz5ge2m6cft.png" alt=" " width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 2: Select Get Data&lt;/p&gt;

&lt;p&gt;On the Home tab in the top-left corner of Power BI Desktop, click Get Data. This opens a window displaying the wide range of data sources that Power BI supports.&lt;/p&gt;

&lt;p&gt;From the list of available data sources, search for or scroll to PostgreSQL Database, select it, and then click Connect to proceed.&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%2Ftgl3c30pawc5p3q7q72i.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%2Ftgl3c30pawc5p3q7q72i.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 3: Enter the Database Connection Information&lt;/p&gt;

&lt;p&gt;After selecting PostgreSQL Database, the PostgreSQL Database connection window will appear. Enter the required connection details as follows:&lt;/p&gt;

&lt;p&gt;Server: localhost (or localhost:5432 if specifying the default PostgreSQL port) also 127.0.0.1:5432 works.&lt;br&gt;
Database: postgres (replace this with the name of your PostgreSQL database)&lt;/p&gt;

&lt;p&gt;Once you have entered the required information, click OK to proceed to the authentication step.&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%2F6jckws3h1rhxk26zcfgv.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%2F6jckws3h1rhxk26zcfgv.png" alt=" " width="799" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 4: Enter Your Database Credentials&lt;/p&gt;

&lt;p&gt;After clicking OK, Power BI will prompt you to authenticate using your PostgreSQL database credentials.&lt;/p&gt;

&lt;p&gt;Username: Your PostgreSQL username (for example, postgres)&lt;br&gt;
Password: Your PostgreSQL password&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%2Fgpyy566hamg5841d8d77.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%2Fgpyy566hamg5841d8d77.png" alt=" " width="800" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 4: Load the Tables&lt;br&gt;
Once the connection is successful, Power BI will open the Navigator window.&lt;br&gt;
This window shows all the tables within the database.&lt;/p&gt;

&lt;p&gt;The sample table is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Kenya_Crops_Cleaned_Final&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%2Fwv747cth0n4a7xqn7lkg.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%2Fwv747cth0n4a7xqn7lkg.png" alt=" " width="800" height="447"&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%2F82eihsflbrrmg61ismhn.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%2F82eihsflbrrmg61ismhn.png" alt=" " width="800" height="450"&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%2Fqnq4ddzi0hs446imi0lo.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%2Fqnq4ddzi0hs446imi0lo.png" alt=" " width="800" height="499"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;After selecting the required tables and clicking Load, Power BI imports the data from the local PostgreSQL database into the Power BI model. The loaded tables appear in the Data and Model views, where you can inspect the data, create relationships between tables and begin building reports and dashboards. This completes the data import process and prepares the dataset for analysis and visualization.&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Integrating Power BI with an Aiven PostgreSQL Cloud Database.
&lt;/h1&gt;

&lt;p&gt;Cloud-hosted databases provide a secure and scalable way to store and access data from anywhere. &lt;br&gt;
Integrating Power BI with an Aiven PostgreSQL cloud database enables users to connect directly to cloud-based data, import tables, and create interactive reports and dashboards.&lt;br&gt;
This integration supports real-time data analysis, centralized data management, and seamless business intelligence without relying on a local database.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Open Aiven.io in your web browser and sign in to your account. If you don't already have an account, create one by selecting the Free plan and completing the registration process.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Once the service has been provisioned, ensure it is running by checking that its status is displayed as &lt;strong&gt;Running&lt;/strong&gt; before proceeding.&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%2Fc6gjb712v1p180mlo3n2.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%2Fc6gjb712v1p180mlo3n2.png" alt=" " width="799" height="337"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;With the PostgreSQL service now running, the next step is to connect it to your preferred database management system (DBMS) so you can create, manage, and query your database using Aiven's &lt;strong&gt;connection string&lt;/strong&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%2F7kwza99kyhaj89bvpl3q.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%2F7kwza99kyhaj89bvpl3q.png" alt=" " width="800" height="389"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enter the connection details provided by your Aiven PostgreSQL service into your database management system. These include the &lt;strong&gt;Host&lt;/strong&gt;, &lt;strong&gt;Port&lt;/strong&gt;, &lt;strong&gt;Database Name&lt;/strong&gt;, and &lt;strong&gt;Username&lt;/strong&gt;. Once the details have been entered, you can establish a connection to the cloud database.&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%2F3g04dqif0ej3mplc6zx9.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%2F3g04dqif0ej3mplc6zx9.png" alt=" " width="799" height="458"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Ensure that the Aiven PostgreSQL service is running. A successful connection is typically indicated by a green check mark next to the database name in your database management system (DBMS).&lt;/li&gt;
&lt;li&gt;Download the &lt;strong&gt;CA/SSL certificate&lt;/strong&gt; provided by the Aiven service. This certificate is used to verify the server's identity and establish a secure, encrypted connection between your DBMS and the cloud database. &lt;/li&gt;
&lt;li&gt;An SSL certificate acts as a digital credential that authenticates the server and helps protect data transmitted over the network.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Step 3.1 Installing the SSL Certificate into the Windows Certificate Store
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Open the Windows search bar and type &lt;strong&gt;Manage computer certificates&lt;/strong&gt;, then select the matching result to launch the &lt;strong&gt;Certificate Manager&lt;/strong&gt;. Alternatively, press &lt;strong&gt;Win + R&lt;/strong&gt;, type &lt;strong&gt;certlm.msc&lt;/strong&gt;, and press &lt;strong&gt;Enter&lt;/strong&gt; to open the Certificate Manager directly.&lt;/li&gt;
&lt;li&gt;In the left-hand navigation pane of the &lt;strong&gt;Certificate Manager&lt;/strong&gt;, locate and expand the &lt;strong&gt;Trusted Root Certification Authorities&lt;/strong&gt; folder.&lt;/li&gt;
&lt;li&gt;Right-click the &lt;strong&gt;Certificates&lt;/strong&gt; subfolder under &lt;strong&gt;Trusted Root Certification Authorities&lt;/strong&gt;, select &lt;strong&gt;All Tasks&lt;/strong&gt;, and then click &lt;strong&gt;Import&lt;/strong&gt; to launch the Certificate Import Wizard.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Certificate Import Wizard&lt;/strong&gt;, click &lt;strong&gt;Next&lt;/strong&gt;. When the file browser opens, change the file type filter in the bottom-right corner from &lt;strong&gt;X.509 Certificate&lt;/strong&gt; to &lt;strong&gt;All Files (&lt;em&gt;.&lt;/em&gt;)&lt;/strong&gt;. This allows the &lt;strong&gt;ca.pem&lt;/strong&gt; file to be displayed and selected for import.&lt;/li&gt;
&lt;li&gt; Select the &lt;strong&gt;ca.pem&lt;/strong&gt; file and click &lt;strong&gt;Next&lt;/strong&gt;. Accept the default certificate store location, continue through the remaining prompts, and then click &lt;strong&gt;Finish&lt;/strong&gt; to complete the import. If Windows displays a security warning asking for confirmation, click &lt;strong&gt;Yes&lt;/strong&gt; to proceed with installing the certificate.&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%2Fy9mciy6chawhr84ij2ip.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%2Fy9mciy6chawhr84ij2ip.png" alt=" " width="800" height="450"&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%2Fbreel8wuq0a2i4qshijh.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%2Fbreel8wuq0a2i4qshijh.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Accessing the Aiven PostgreSQL Cloud Database from Power BI
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Launch Power Bi desktop and open blank report&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Go to the Home tab and click Get Data. Select More, then choose PostgreSQL database from the list of available data sources.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Enter the Host and Port details provided by your Aiven PostgreSQL service into the Server field&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%2Fhxfsmxzfxps448xnvxie.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%2Fhxfsmxzfxps448xnvxie.png" alt=" " width="800" height="450"&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%2Fdxjjjzlg7dlqzzuw6waf.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%2Fdxjjjzlg7dlqzzuw6waf.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Connecting Power BI to both local and cloud-based PostgreSQL databases is an essential skill for modern data professionals. While local database connections provide a convenient environment for development and learning, cloud-hosted platforms such as Aiven demonstrate how data is securely managed and accessed in real-world environments.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Mastering both local and cloud database connectivity ensures you are well-equipped to work with modern data platforms and create insightful, data-driven reports that support informed decision-making.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>analytics</category>
      <category>postgres</category>
      <category>database</category>
    </item>
    <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(A2:A6,"Orange",C2:C6)
&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>
