<?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: Justine Kimeli</title>
    <description>The latest articles on DEV Community by Justine Kimeli (@justine_kimeli_0c6993e6d5).</description>
    <link>https://dev.to/justine_kimeli_0c6993e6d5</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%2F3972768%2F6f4a6115-eb41-4e9f-83eb-246fca85dd2f.png</url>
      <title>DEV Community: Justine Kimeli</title>
      <link>https://dev.to/justine_kimeli_0c6993e6d5</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/justine_kimeli_0c6993e6d5"/>
    <language>en</language>
    <item>
      <title>A Step-by-Step Guide: Connecting Power BI to SQL Databases</title>
      <dc:creator>Justine Kimeli</dc:creator>
      <pubDate>Sun, 05 Jul 2026 20:54:47 +0000</pubDate>
      <link>https://dev.to/justine_kimeli_0c6993e6d5/a-step-by-step-guide-connecting-power-bi-to-sql-databases-1dkn</link>
      <guid>https://dev.to/justine_kimeli_0c6993e6d5/a-step-by-step-guide-connecting-power-bi-to-sql-databases-1dkn</guid>
      <description>&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;Many companies and organizations interact with large amount of data from collection to creating insights from it. Transforming these data will bring meaningful insights and there making informed decions for the end users. Power BI is a powerful tool that enables one to create interactive dashboards and reports that communicates what the data is all about. Connecting Power Bi to SQL databases now allows onre to analyze data in real time or through a scheduled time.&lt;br&gt;
In this article demonstrates a step-by-step guide on how to connect Power BI to SQL databases both on local network and cloud-based, and start transforming your data into meaning visualizations.&lt;/p&gt;

&lt;h3&gt;
  
  
  Part 1: Connecting to a local PostgreSQL Database
&lt;/h3&gt;

&lt;p&gt;Ensure that your  PostgreSQL is downloaded and installed in your local machine. Launch Power BI desktop and select get data from the home tab.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Choose SQL Server
From get data,select more,search for database then PostgreSQL database and connect which will require sever connection details.&lt;/li&gt;
&lt;li&gt;Connection Details
Enter the servername and database name. In this case I will user &lt;em&gt;postgres&lt;/em&gt; as username and the server is *&lt;em&gt;localhost:5432
*&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;Choose import data querry mode and enter your login credentials.&lt;/li&gt;
&lt;li&gt;The window will then lists tables and you will select the one to work on with.For data cleaning click Transform data and the load for creating creating new measure and data models.&lt;/li&gt;
&lt;/ol&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%2Fpl1vqdu14czk26dsq8li.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%2Fpl1vqdu14czk26dsq8li.png" alt=" " width="800" height="473"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The navigator window will now show the tables available in the local PostgreSQL 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%2Fyg9esoigiw5ex5n5qkz1.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%2Fyg9esoigiw5ex5n5qkz1.png" alt=" " width="799" height="465"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Part 2: Connecting to a Cloud Based PostgreSQL on Aiven
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Log in to your Aiven account, create a new  service or the one existing and ensure it is running. 
The dashboard has
Host
Port
Database name (usually defaultdb)
Username (usually avnadmin)
Password, for connection details&lt;/li&gt;
&lt;/ol&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%2Fsooey9thc7h51ui4vmoq.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%2Fsooey9thc7h51ui4vmoq.png" alt=" " width="800" height="394"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Download CA certificate, navigate to manage certificate manage,Trusted Root Certificate, right click certificates and import the certificate from your downloads.&lt;/li&gt;
&lt;/ol&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%2F08eobuzxw1hfz4rklw3g.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%2F08eobuzxw1hfz4rklw3g.png" alt=" " width="799" height="486"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open Power BI Desktop, navigate to home tab, Get Data, More, select PostgreSQL, enter login credentials&lt;/li&gt;
&lt;/ol&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%2F2z6oy9ql9v6cuq4f01te.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%2F2z6oy9ql9v6cuq4f01te.png" alt=" " width="800" height="424"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After selecting what you want to transform like the local connection, performing data cleaning and load for modelling and all DAX irregardless of where the data is in whether local database or cloud.&lt;/p&gt;

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

&lt;p&gt;Connecting Power BI to SQL databases whether hosted on local or cloud enables organizations to transform raw data into meaningful and interactive insights.&lt;br&gt;
The steps of connecting Power BI to SQL databases are similar in that the cloud connection require SSL certificate for security access to be grated , otherwise every operation works the same.&lt;/p&gt;

</description>
      <category>reviews</category>
      <category>database</category>
      <category>cloud</category>
      <category>sql</category>
    </item>
    <item>
      <title>Understanding Relationship, Schemas and Joins In Power BI</title>
      <dc:creator>Justine Kimeli</dc:creator>
      <pubDate>Mon, 29 Jun 2026 22:59:24 +0000</pubDate>
      <link>https://dev.to/justine_kimeli_0c6993e6d5/understanding-relationship-schemas-and-joins-in-power-bi-1458</link>
      <guid>https://dev.to/justine_kimeli_0c6993e6d5/understanding-relationship-schemas-and-joins-in-power-bi-1458</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Power BI is a powerful business analytics and visualisation platform used to connect, transform and analyze raw data from various sources. This platform helps organizations to generate reports and dashboards that helps them make better and reliable decisions.&lt;br&gt;
In this article, we are going to learn what are relationship,schemas and joins and how they play a role in performing power querry in Power BI.&lt;/p&gt;

&lt;h2&gt;
  
  
  Relationship in Power BI
&lt;/h2&gt;

&lt;p&gt;In basic terms, relationships means a link between two things. In Power BI, relationship shows how rows in one table are connected to other rows in another table based on a unique key.&lt;/p&gt;

&lt;h1&gt;
  
  
  Types of Relationship
&lt;/h1&gt;

&lt;p&gt;There are 4 types of relationship which includes; one-to-one, one-to-many, many-to-one and many-to-many. This relationship helps in combining information in multiple columns without duplicating it.&lt;/p&gt;

&lt;h1&gt;
  
  
  One-to-One Relationship
&lt;/h1&gt;

&lt;p&gt;This relationship means each row in one table corresponds to exactly one row in another table. A perfect example is a student having one id to access a student portal account.&lt;/p&gt;

&lt;h1&gt;
  
  
  One-to-Many Relationship
&lt;/h1&gt;

&lt;p&gt;This type of relationship that is commonly used in relational databases and in Power BI.It means that one record in a parent table can be associated with many records in a child table, but each record in the child table can be associated with only one record in the parent table.&lt;br&gt;
An example is one student can register for many courses.&lt;/p&gt;

&lt;h1&gt;
  
  
  Many-to-One Relationship
&lt;/h1&gt;

&lt;p&gt;This is basically the reverse of one-to-many type of relationship. An example is that many patients seeks medication from one doctor.&lt;/p&gt;

&lt;h1&gt;
  
  
  Many-to-Many Relationship
&lt;/h1&gt;

&lt;p&gt;This type of relationship means multiple records in both tables share the same values.For example students enroll in multiple courses and each course has may students.&lt;/p&gt;

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

&lt;p&gt;A schema is basically how data is defined or structered in a database. It defines how data is organized including tables, columns, keys,data types and relationship between the tables.&lt;/p&gt;

&lt;h1&gt;
  
  
  Star Schema
&lt;/h1&gt;

&lt;p&gt;A star schema is data modelling technique that is used to warehouse data. It organizes data into a central fact tables with different dimension tables forming a shape that is like a star.&lt;br&gt;
In start schema, fact table stores numerical values and foreign keys that directly links the dimension table while dimension table provides descreptive context behind the numerical values in the fact table.&lt;/p&gt;

&lt;h1&gt;
  
  
  Snowflake Schema
&lt;/h1&gt;

&lt;p&gt;This is a database design where dimension tables are normalized into multiple related sub-tables to reduce duplicate data.&lt;/p&gt;

&lt;h1&gt;
  
  
  Joins In Power BI
&lt;/h1&gt;

&lt;p&gt;A join is a connection between two tables using a common column so that related data can be combined together. Joins are done in power querry editor.&lt;/p&gt;

&lt;h1&gt;
  
  
  Power BI jons
&lt;/h1&gt;

&lt;p&gt;Inner join: It returns matchinhg rows only.&lt;br&gt;
Left outer join: It returns all rows fro the first table and matching rows from the second table.&lt;br&gt;
Right outer join: It returns all rows from the second table and matching rows from the first table.&lt;br&gt;
Full outer join: It returns all rows from both tables.&lt;br&gt;
Left anti join:It returns rows from the table with no match in the second table.&lt;br&gt;
Right anti join: It returns rows from the second table with no match in the first table.&lt;/p&gt;

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

&lt;p&gt;Finally, understanding relationships, schemas, and joins is important for building effective data models in Power BI. Relationships enable tables to work together, while schemas provide a structured framework for organizing data. Joins make it possible to combine data from different sources into a single, meaningful dataset. Mastering relationships, schemas, and joins is therefore a key skill for developing efficient Power BI reports, dashboards and making better insightful decisions.&lt;/p&gt;

</description>
      <category>database</category>
      <category>datascience</category>
      <category>sql</category>
      <category>analytics</category>
    </item>
    <item>
      <title>Linux Fundamentals for Data Engineering</title>
      <dc:creator>Justine Kimeli</dc:creator>
      <pubDate>Sun, 07 Jun 2026 20:11:38 +0000</pubDate>
      <link>https://dev.to/justine_kimeli_0c6993e6d5/linux-fundamentals-for-data-engineering-24pl</link>
      <guid>https://dev.to/justine_kimeli_0c6993e6d5/linux-fundamentals-for-data-engineering-24pl</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Data engineering is the process of collecting, moving, cleaning, storing, and preparing data such that it is easily accessed by data analysts, data scientists, AI systems, and businesses.&lt;br&gt;
Basically data engineering  is building systems that make data available, usable and reliable.&lt;/p&gt;

&lt;p&gt;When learning data engineering, there is much focus tools such  python, SQL and cloud platforms. While these technologies are of importance, there is one data system called linux which is the background in this field of data engineering.&lt;/p&gt;

&lt;p&gt;In this article, I am going to share how linux commands is playing a vital role in data engineering and how it is used in a linux environment.&lt;/p&gt;

&lt;h1&gt;
  
  
  Why Linux is important in Data Engineering
&lt;/h1&gt;

&lt;p&gt;Linux is widely used in real-world data engineering because it provides a stable, efficient, and flexible environment for handling large amounts of data.&lt;/p&gt;

&lt;p&gt;Most companies stores data in a database, processes large datasets, schedules automated workflows, and deploys applications to the cloud. &lt;/p&gt;

&lt;p&gt;Linux is used by data engineers to connect to remote servers,install and configure databases,transfer files between systems,monitor server performance, manage permissions and troubleshoot production issues in a linux environmemt. Therefore, without a basic understanding of Linux, working with most of the projects become challenging.&lt;/p&gt;

&lt;h1&gt;
  
  
  Basic Linux commands
&lt;/h1&gt;

&lt;p&gt;ssh (secure shell) -&amp;gt;This commands allows one to access a remote server which has a host name and authenticate with a 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.amazonaws.com%2Fuploads%2Farticles%2Fr72ds9fcj7ggpw24444l.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%2Fr72ds9fcj7ggpw24444l.png" alt=" " width="605" height="57"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;pwd -&amp;gt; This command is used to show current working directory&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%2F5cdvy8n0l8rxa0k34dxp.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%2F5cdvy8n0l8rxa0k34dxp.png" alt=" " width="513" height="95"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;ls -&amp;gt; Lists all files and directories&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%2Faa52qp1fwfdbe6ugrzfz.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%2Faa52qp1fwfdbe6ugrzfz.png" alt=" " width="799" height="74"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;cd -&amp;gt; This command is used to change a directory&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%2F83oetzr67kqj60st9bvl.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%2F83oetzr67kqj60st9bvl.png" alt=" " width="408" height="26"&gt;&lt;/a&gt;&lt;br&gt;
mkdir -&amp;gt; Create a new directory&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%2Fkcio7lpn0xuzmqiy7ovq.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%2Fkcio7lpn0xuzmqiy7ovq.png" alt=" " width="534" height="28"&gt;&lt;/a&gt;&lt;br&gt;
ls -a -&amp;gt; Displays all files including hidden files&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%2F0l9tazk2ztubuvrfw6an.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%2F0l9tazk2ztubuvrfw6an.png" alt=" " width="798" height="113"&gt;&lt;/a&gt;&lt;br&gt;
ls -l -&amp;gt; Displays long-list of files&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%2Fhhw6am5n2gn42fttk5s8.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%2Fhhw6am5n2gn42fttk5s8.png" alt=" " width="800" height="626"&gt;&lt;/a&gt;&lt;br&gt;
ls -lh -&amp;gt; Displays file size in human- readable format&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%2Fl7r4oqm41jwxhm56l8cl.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%2Fl7r4oqm41jwxhm56l8cl.png" alt=" " width="800" height="636"&gt;&lt;/a&gt;&lt;br&gt;
mv -&amp;gt; Moving files and directories&lt;br&gt;
cp-&amp;gt; Copying files and directories&lt;br&gt;
scp -&amp;gt; secure copying of files from  a local machine to a remote server.&lt;br&gt;
rm -&amp;gt; Removing files&lt;br&gt;
touch -&amp;gt; Create an empty file&lt;br&gt;
echo -&amp;gt; Print text or variables&lt;br&gt;
exit -&amp;gt; Clears the terminal&lt;/p&gt;

&lt;p&gt;Installing postgres&lt;br&gt;
sudo apt install postgresql postgresql contrib -y&lt;br&gt;
Starting postgres -&amp;gt;sudo systemctl start postgresql&lt;br&gt;
Checking the status of postgres -&amp;gt; sudo systemctl status postgresql&lt;/p&gt;

&lt;p&gt;Checking the psql version -&amp;gt; psql --version&lt;/p&gt;

&lt;p&gt;Connecting from Linux server to Postgress&lt;br&gt;
sudo -u postgres psql&lt;/p&gt;

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

&lt;p&gt;Linux is a fundamental skill in data engineering that helps data engineers  access, manage databases, transfer data, automating tasks. Through the practice that I have been doing, I have learned how to access a remote server perform various basic linux commands. I also learnt how to install postgres in linux environment and be able create database, schema, and perform basic SQL querries in linux environment.Finally, linux skills is essential for building, managing, and maintaining reliable data engineering solutions.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
