<?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: gikonyo-v</title>
    <description>The latest articles on DEV Community by gikonyo-v (@gikonyov).</description>
    <link>https://dev.to/gikonyov</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%2F3971297%2F9e00fd0b-b3b5-4e81-be0a-e6b225ef5cab.png</url>
      <title>DEV Community: gikonyo-v</title>
      <link>https://dev.to/gikonyov</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gikonyov"/>
    <language>en</language>
    <item>
      <title>Let's Talk Relationships and Joins</title>
      <dc:creator>gikonyo-v</dc:creator>
      <pubDate>Sun, 05 Jul 2026 13:01:44 +0000</pubDate>
      <link>https://dev.to/gikonyov/lets-talk-relationships-and-joins-40k2</link>
      <guid>https://dev.to/gikonyov/lets-talk-relationships-and-joins-40k2</guid>
      <description>&lt;p&gt;Here's something nobody tells you when you start Power BI: the visuals are the easy part.&lt;/p&gt;

&lt;p&gt;You can figure out a bar chart in ten minutes. But the moment your data comes from more than one table and nothing is adding up correctly, that's where most beginners quietly panic. I know I did.&lt;/p&gt;

&lt;p&gt;Relationships and joins. Here's what they actually mean.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Why Your Tables Need to Talk to Each Other&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
Imagine you work at a retail shop. You have two lists:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A &lt;em&gt;Customers table&lt;/em&gt; - names, IDs, locations&lt;/li&gt;
&lt;li&gt;A &lt;em&gt;Sales table&lt;/em&gt; - order IDs, amounts, and the customer ID for each purchase.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;These two tables live separately. But when your boss asks "which customers spent the most last month?", now you need both. You can't answer that question with just one table.&lt;/p&gt;

&lt;p&gt;That's what a &lt;em&gt;relationship&lt;/em&gt; does in Power BI. It creates a bridge between two tables so they can work together in your reports.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;The Key Concept: Primary and Foreign Keys&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
Every relationship needs a common column. A column that appears in both tables.&lt;br&gt;
Like in our tables above &lt;br&gt;
&lt;em&gt;Customers table&lt;/em&gt; has &lt;code&gt;CustomerID&lt;/code&gt;. This is the &lt;em&gt;primary key&lt;/em&gt; ,unique per customer.&lt;br&gt;
&lt;em&gt;Sales table&lt;/em&gt; has &lt;code&gt;CustomerID&lt;/code&gt; too. This is the &lt;em&gt;foreign key&lt;/em&gt;,it references the customer.&lt;/p&gt;

&lt;p&gt;Power BI uses this shared column to match rows across tables. When you drag &lt;code&gt;CustomerName&lt;/code&gt; from one table and &lt;code&gt;TotalSales&lt;/code&gt; from another into the same visual, the relationship is what makes them line up correctly.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Star Schema. The One You'll Use Most&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
Power BI works best with a &lt;em&gt;star schema&lt;/em&gt;. One central table called the &lt;em&gt;fact table&lt;/em&gt; surrounded by supporting tables called &lt;em&gt;dimension tables&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Real-world example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Fact table:&lt;/em&gt; Sales - every transaction, with amounts and IDs&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Dimension tables:&lt;/em&gt; Customers, Products, Dates, Regions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Sales table connects to all of them. From this setup you can answer: &lt;br&gt;
What product sold most in Nairobi in Q1? Pulling from Products, Regions, Dates, and Sales all at once.&lt;br&gt;
It looks like a star on the model view. Hence the name.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Join Types. What Gets Included?&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
When two tables connect, Power BI needs to know &lt;em&gt;what to do when there's no match&lt;/em&gt;. That's where join types come in.&lt;/p&gt;

&lt;p&gt;Inner Join - only rows that match in &lt;em&gt;both&lt;/em&gt; tables. A customer with no sales? Gone. A sale with no matching customer? Also gone. Strictest filter.&lt;/p&gt;

&lt;p&gt;Left Outer Join - keeps everything from the left table, matches where possible. All customers appear, even those who never bought anything. Their sales columns just show blank.&lt;/p&gt;

&lt;p&gt;Full Outer Join - keeps everything from both tables, matches where it can. Nothing gets left out.&lt;/p&gt;

&lt;p&gt;Real-world use: if you're building a report to find &lt;em&gt;customers who haven't purchased yet&lt;/em&gt;, a Left Join is your answer. Inner Join would erase them entirely.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;How It Changes Your Reports&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
Once your relationships are set correctly, Power BI does the heavy lifting. Your slicers filter across tables automatically. Your totals actually make sense. A date filter on your calendar table combs through sales, products, and regions, because the relationships connect them.&lt;/p&gt;

&lt;p&gt;Without this? You're just making pretty charts on broken data. Again, learned it the hard way.&lt;/p&gt;

&lt;p&gt;Get the relationships right first. Everything else follows.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;What tripped you up most when you first set up relationships in Power BI? Drop it below.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>analytics</category>
      <category>beginners</category>
      <category>data</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Let's Talk Excel</title>
      <dc:creator>gikonyo-v</dc:creator>
      <pubDate>Sat, 06 Jun 2026 14:13:51 +0000</pubDate>
      <link>https://dev.to/gikonyov/lets-talk-excel-1pe6</link>
      <guid>https://dev.to/gikonyov/lets-talk-excel-1pe6</guid>
      <description>&lt;p&gt;Excel Isn't Just Grid and Tables. Here's What It Actually Does.&lt;/p&gt;

&lt;p&gt;First time I opened Excel, I stared at a blank grid of rows and columns and thought what am I supposed to do with this? Up until recently, I've learned how create and analyze data in excel. So, let's talk about it...&lt;/p&gt;

&lt;p&gt;What Excel Actually Is&lt;br&gt;
Microsoft Excel is a spreadsheet software that lets you collect, organize, analyze, calculate, and visualize data. The interface looks simple at first, you know, rows running horizontally, columns labeled A, B, C running vertically, and cells where they intersect. But that humble grid is the foundation of some seriously powerful work.&lt;/p&gt;

&lt;p&gt;In real life, Excel shows up in:&lt;br&gt;
&lt;strong&gt;Financial reporting.&lt;/strong&gt; Most businesses if not all, use Excel to track budgets, building up income statements, and monitor cash flow. It's powerful isn't just storing numbers, it's the fact that formulas actually update automatically. Change one figure and everything connected to it recalculates stat.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sorting + filtering data.&lt;/strong&gt; Imagine you have a ton of customer orders and need to find every sale above KES 1,000 from Beginning of the year or month. Excel's filter feature lets you do that in seconds, you can hide irrelevant rows and show exactly what you need. Even sorting by what you want to work with, be it date, by amount, by region etc., any order you choose.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tracking and grading performance.&lt;/strong&gt; Teachers use Excel to manage student scores. With functions like =AVERAGE(), =MEAN(), and =MIN(), a user can instantly find a class average, the mean score, or flag who needs extra support without touching a calculator.&lt;/p&gt;

&lt;p&gt;What stuck with me is;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SUM and AVERAGE functions.&lt;/strong&gt; These were my entry point. Instead of adding numbers manually, &lt;code&gt;=SUM(B1:B5)&lt;/code&gt; adds an entire range in one shot. &lt;code&gt;=AVERAGE(B1:B5)&lt;/code&gt; gives the mean. Simple, but the moment you see a formula update when you change a cell value, that's when it clicks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conditional Formatting.&lt;/strong&gt; This one was eye opener. You set a rule, say; highlight any score below 50 in red, and Excel does it automatically across hundreds of rows. It turns a wall of numbers into something you can visualize at a glance. I used it to errors, and the thing works like Sherlock Holmes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cell References + Dragging.&lt;/strong&gt; This had me raising an eyebrow at first. When you drag a formula down, Excel adjusts the references automatically. Once I understood this, my formulas stopped breaking in mysterious ways.&lt;/p&gt;

&lt;p&gt;It actually changing how I view data.Learning Excel isn't just teaching me a tool, it's changing how I think.&lt;/p&gt;

&lt;p&gt;I now look at information differently. A list of sales figures isn't just numbers, it's more than information, it's actual data,  waiting to be sorted, filtered, and summarized. A column of names with inconsistent formatting isn't a mess, it is a &lt;code&gt;=PROPER()&lt;/code&gt; function away from being clean.&lt;/p&gt;

&lt;p&gt;I'm still learning. But I've gone from staring blankly at a grid to actually asking questions and getting answers.&lt;br&gt;
And that's not a small thing.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;em&gt;Which Excel concept surprised you the most when it finally made sense? Drop it below.&lt;/em&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>data</category>
      <category>microsoft</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
