<?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: ASHLEY KALONDU</title>
    <description>The latest articles on DEV Community by ASHLEY KALONDU (@ashleyk).</description>
    <link>https://dev.to/ashleyk</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%2F3972448%2F89d1c9b7-3020-49a2-a425-6cf4e0daa171.png</url>
      <title>DEV Community: ASHLEY KALONDU</title>
      <link>https://dev.to/ashleyk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ashleyk"/>
    <language>en</language>
    <item>
      <title>Synergy between PostgreSQL and PowerBi</title>
      <dc:creator>ASHLEY KALONDU</dc:creator>
      <pubDate>Sat, 11 Jul 2026 10:33:19 +0000</pubDate>
      <link>https://dev.to/ashleyk/synergy-between-postgresql-and-powerbi-5epm</link>
      <guid>https://dev.to/ashleyk/synergy-between-postgresql-and-powerbi-5epm</guid>
      <description>&lt;h1&gt;
  
  
  PostgreSQL
&lt;/h1&gt;

&lt;p&gt;PostgreSQL is a database used to store , manage and retrieve structured data. It can be hosted in 2 places &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Locally hosted postgres&lt;/strong&gt;&lt;br&gt;
This database runs on your own computer and can only be accessed through your laptop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cloud hosted&lt;/strong&gt;&lt;br&gt;
In this case the database lives in a server owned by a cloud provider and they offer this access as a service. Examples are like &lt;/p&gt;

&lt;p&gt;1.Azure &lt;br&gt;
2.AWS &lt;br&gt;
3.Google Cloud &lt;br&gt;
4.Aiven &lt;br&gt;
5.Digital Ocean &lt;/p&gt;

&lt;p&gt;To enable you connect remotely, the cloud provider gives you&lt;br&gt;
1.Host&lt;br&gt;
2.Port&lt;br&gt;
3.Database name&lt;br&gt;
4.Username&lt;br&gt;
5.Password&lt;/p&gt;

&lt;h2&gt;
  
  
  Using a DBMS
&lt;/h2&gt;

&lt;p&gt;A &lt;em&gt;DBMS&lt;/em&gt; is a software that enables one interact with their database either its stored locally or in the cloud. &lt;/p&gt;

&lt;p&gt;We usually don't directly interact with PostgreSQL , we need a &lt;em&gt;DBMS&lt;/em&gt; to provide an interface to interact with the database and perform &lt;em&gt;DDL&lt;/em&gt;, &lt;em&gt;DML&lt;/em&gt;, &lt;em&gt;DQL&lt;/em&gt;, &lt;em&gt;DCL&lt;/em&gt;, &lt;em&gt;DCL&lt;/em&gt;, &lt;em&gt;TCL&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Example is &lt;strong&gt;DBeaver&lt;/strong&gt; and you fist choose the database to connect with and in our case is &lt;em&gt;postgreSQL&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%2Fwgb2u85m2tjfrhkiyzsi.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%2Fwgb2u85m2tjfrhkiyzsi.png" alt=" " width="586" height="504"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then we connect using the details &lt;strong&gt;&lt;em&gt;host&lt;/em&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;em&gt;port&lt;/em&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;em&gt;password of your database&lt;/em&gt;&lt;/strong&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%2Ftsewktqpeqi5qnxrv3h9.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%2Ftsewktqpeqi5qnxrv3h9.png" alt=" " width="590" height="611"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For local hosted connection details are usually:&lt;br&gt;
&lt;em&gt;Host&lt;/em&gt;: 127.0.0.1 /localhost&lt;br&gt;
&lt;em&gt;Port&lt;/em&gt;: 5432 and for cloud hosted the provider share the details. &lt;/p&gt;

&lt;h2&gt;
  
  
  Creating and Importing Data
&lt;/h2&gt;

&lt;p&gt;Once connected to a PostgreSQL database through DBeaver, there are two common ways to populate the database:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Creating tables and inserting data using SQL&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Create a schema &lt;br&gt;
Open an SQL script and write SQL commands to create tables.&lt;br&gt;
Define primary keys and foreign keys to establish relationships between the tables.&lt;br&gt;
Insert data into the tables using INSERT statements.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Importing existing data&lt;/strong&gt;&lt;br&gt;
Create a schema&lt;br&gt;
If the data already exists in files such as CSV or Excel import it into the database.&lt;br&gt;
During the importing the tables are loaded into to the schema.&lt;/p&gt;

&lt;h2&gt;
  
  
  Connecting to Power Bi
&lt;/h2&gt;

&lt;p&gt;After our database contains the data , we use Power Bi as the reporting tool. PowerBi connect to many tools to get the data e.g&lt;br&gt;
&lt;em&gt;Excel&lt;/em&gt;&lt;br&gt;
&lt;em&gt;CSV&lt;/em&gt;&lt;br&gt;
&lt;em&gt;Database, in our case PostgreSQL&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%2Fenww1ong34kos3b1d5a0.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%2Fenww1ong34kos3b1d5a0.png" alt=" " width="565" height="417"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Local Connection&lt;/strong&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%2F6gxnuow2dhpvlp2rvsbm.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%2F6gxnuow2dhpvlp2rvsbm.png" alt=" " width="733" height="368"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The server is the host: port , which is 127.0.0.1:5432&lt;/p&gt;

&lt;h2&gt;
  
  
  SSL CERTIFICATE
&lt;/h2&gt;

&lt;p&gt;Local database usually connect directly because Power BI and PostgreSQL are on the same computer, however for Cloud they don't. &lt;br&gt;
For security purposes we need download an SSL certificate which the cloud provider should give and upload it in our laptops in our certificate manager under &lt;em&gt;Trusted Root Certification Authorities&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%2Frnrp5r4bklk2jl2osu7h.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%2Frnrp5r4bklk2jl2osu7h.png" alt=" " width="791" height="159"&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%2Fuehxsvuviiieefzdwtwc.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%2Fuehxsvuviiieefzdwtwc.png" alt=" " width="791" height="348"&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%2F877muip44l3oxtvc0oag.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%2F877muip44l3oxtvc0oag.png" alt=" " width="799" height="303"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this case, Power BI has successfully connected to the Aiven PostgreSQL database. We can transform and clean it using Power Query, create visualizations and develop interactive reports and dashboards.&lt;/p&gt;

</description>
    </item>
    <item>
      <title># POWER BI OVER SPREADSHEETS</title>
      <dc:creator>ASHLEY KALONDU</dc:creator>
      <pubDate>Fri, 10 Jul 2026 11:28:33 +0000</pubDate>
      <link>https://dev.to/ashleyk/-power-bi-over-spreadsheets-hk2</link>
      <guid>https://dev.to/ashleyk/-power-bi-over-spreadsheets-hk2</guid>
      <description>&lt;h2&gt;
  
  
  Flat Tables
&lt;/h2&gt;

&lt;p&gt;Our interactions with spreadsheet expose us to &lt;strong&gt;flat tables&lt;/strong&gt; which is one large table storing all the data. Every row store all the information of one record and it’s easier to read because everything is one place. &lt;/p&gt;

&lt;p&gt;However, many values are repeated across rows, making the table inefficient. This increases storage requirements and makes updating and maintaining the data more difficult.&lt;/p&gt;

&lt;p&gt;Imagine in a instance where a doctor record changes , and he had treated 1000 patients, how would we update his information across 1000 rows? &lt;/p&gt;

&lt;h3&gt;
  
  
  Power BI introduces schemas
&lt;/h3&gt;

&lt;p&gt;Unlike spread sheets, Power Bi is designed to work with &lt;strong&gt;relational tables&lt;/strong&gt; other than one flat table. It can store data across several tables while ensuring the &lt;em&gt;relationship is maintained&lt;/em&gt;. &lt;/p&gt;

&lt;h4&gt;
  
  
  Data modelling/Normalization
&lt;/h4&gt;

&lt;p&gt;In &lt;em&gt;modelling&lt;/em&gt;, Power Bi enables us to move from one flat table to several related tables. &lt;/p&gt;

&lt;p&gt;The table below represents part of a hospital's records. Each row stores information about a patient visit, including details about the attending doctor. Since the same doctor may attend to many patients, the doctor's information such as gender, specialty, and years of experience is repeated across multiple rows.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fz1j1vep0w1vkp7izmeaj.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%2Fz1j1vep0w1vkp7izmeaj.png" alt=" " width="800" height="267"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We can create a separate table to store the doctors' information and establish a relationship with the main table using the &lt;strong&gt;Doctor ID&lt;/strong&gt;. Whenever we need additional information about a doctor, such as their specialty, we use the &lt;strong&gt;Doctor ID&lt;/strong&gt; to reference the Doctors table and retrieve the required 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%2F4wzlmzjfl27uk2hi2vqu.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%2F4wzlmzjfl27uk2hi2vqu.png" alt=" " width="800" height="150"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As you can see, the hospital has only four doctors, so there is no need to repeat their information throughout the hospital records.&lt;/p&gt;

&lt;p&gt;We can do this and create several tables while maintaining a relationship with the fact table using an ID, which in this case is the primary key.  &lt;/p&gt;

&lt;p&gt;Example: In the below table the doctors id is captured in the facts table to maintain the relationship. &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%2Ff938h2frhjk0j79ke53c.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%2Ff938h2frhjk0j79ke53c.png" alt=" " width="772" height="363"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Database normalization&lt;/strong&gt; is organizing data so that the same information is not repeated unnecessarily.&lt;/p&gt;

&lt;p&gt;The &lt;em&gt;main table&lt;/em&gt; is called the &lt;strong&gt;fact table&lt;/strong&gt;. It stores the primary records and contains the IDs used to link to the related dimension tables.&lt;/p&gt;

&lt;p&gt;The separate tables created from the repeated information are called &lt;strong&gt;dimension tables&lt;/strong&gt;. They store description information, such as &lt;em&gt;doctor details&lt;/em&gt;, &lt;em&gt;procedure information&lt;/em&gt;, or &lt;em&gt;hospital departments&lt;/em&gt;. These dimension tables surround the fact table, forming a star known as a &lt;strong&gt;star schema&lt;/strong&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%2Fk94vr8jcd2qqeb6ihjen.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%2Fk94vr8jcd2qqeb6ihjen.png" alt=" " width="782" height="542"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h5&gt;
  
  
  Relationship Cardinality
&lt;/h5&gt;

&lt;p&gt;This represents the relationship between different tables. How many columns in one table match in the other tables&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One-to-One&lt;/strong&gt;: Each record in Table A relates to exactly one record in Table B, there is often little benefit in keeping them separate&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One-to-Many&lt;/strong&gt;: One record in Table A is associated with multiple records in Table B. example 1 record from the doctors table represents many records of the doctor treating various patients &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Many-to-Many&lt;/strong&gt;: Records in both tables can relate to multiple records in the other.&lt;/p&gt;

&lt;p&gt;By using data normalization and relationships with the right cardinality, Power BI enables data to be organized more efficiently than a flat spreadsheet. This reduces data redundancy, improves maintainability, and makes analysis and reporting more effective.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How Excel is Used in Real-World Data Analysis .</title>
      <dc:creator>ASHLEY KALONDU</dc:creator>
      <pubDate>Sun, 07 Jun 2026 12:00:31 +0000</pubDate>
      <link>https://dev.to/ashleyk/how-excel-is-used-in-real-world-data-analysis--1k30</link>
      <guid>https://dev.to/ashleyk/how-excel-is-used-in-real-world-data-analysis--1k30</guid>
      <description>&lt;p&gt;I have used excel for years but in the basic way possible, just the usual enter data and do basic aggregations. What I know is there is a very big world out there on how excel is used, seemed far-fetched to me because I did not get to work on large data sets. &lt;br&gt;
This week, I started getting deeper into excel and for the first team I received a disorganized data and knew how to locate duplicates. &lt;br&gt;
A brief introduction to what Excel is&lt;br&gt;
• In this week I have learnt the comprehensiveness of excel a software for storing, cleaning, analyzing visualizing data. It’s an all-comprehensive tool for a data professional. &lt;br&gt;
3 ways excel can be used in real world data analysis &lt;/p&gt;

&lt;p&gt;• Sales Performance: Excel can be used to map out when a business attained either highest or lowest sales using a pivot table. A visualization can be created of the current sales vis a vis the set targets. We can map out the highest and lowest sold products/service and aid in decision making &lt;br&gt;
• Monitoring and Evaluation: Monitoring and evaluation professionals interact with excel when storing data for all their field activities, they go through the phase of cleaning and mapping out the success of their programs against their donor given targets. This enables them be aware if they are making an impact with their programs in the society.&lt;br&gt;
• Budgeting and Forecasting: Excel is used to map out our budgets usage, double down to which areas have high expenses and also used in creating a forecast of future expenditure.&lt;br&gt;
Mention at least 3 Excel features or formulas you've learned so far and explain how they can be applied&lt;br&gt;
• Sum if and Sum ifs: This function is used when doing conditional aggregates. Data reveals more information when we calculate aggregates and more so conditional ones, this information can be used to drive decisions. For example, in an HR dataset, we can get the sum salary of Female in an IT department in comparison to the Male sum of salary in the same IT department. &lt;br&gt;
• Pivot Table: I came across a pivot table a very strong analytical tool. By using the 3 elements row, column and values and its capabilities sort and order data we are able to analyze and understand the different parameters of our data. &lt;br&gt;
• Central of tendency (Mean, Medium and Mode): The central tendency shows us where the majority of our data lie. If the mean and the median are in a close range with each other the data cluster around a certain value but it there is a big disparity between the 2 it shows our data has extreme outliers.&lt;br&gt;
Your personal reflection: &lt;br&gt;
• Excel is making interaction with data seamless and fun . &lt;/p&gt;

</description>
      <category>analytics</category>
      <category>beginners</category>
      <category>datascience</category>
      <category>microsoft</category>
    </item>
  </channel>
</rss>
