<?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: rapidlashes</title>
    <description>The latest articles on DEV Community by rapidlashes (@rapidlashes).</description>
    <link>https://dev.to/rapidlashes</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%2F3971438%2Fa7c6e511-7ac4-44c0-8fb0-db7c7f9892ad.png</url>
      <title>DEV Community: rapidlashes</title>
      <link>https://dev.to/rapidlashes</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rapidlashes"/>
    <language>en</language>
    <item>
      <title>POWER BI RELATIONSHIPS, SCHEMAS AND JOINS.</title>
      <dc:creator>rapidlashes</dc:creator>
      <pubDate>Thu, 02 Jul 2026 14:51:37 +0000</pubDate>
      <link>https://dev.to/rapidlashes/power-bi-relationships-schemas-and-joins-4bdi</link>
      <guid>https://dev.to/rapidlashes/power-bi-relationships-schemas-and-joins-4bdi</guid>
      <description>&lt;h2&gt;
  
  
  Understanding the concepts
&lt;/h2&gt;

&lt;p&gt;Relationships, schemas and joins in power BI are key concepts in understanding data structures in power BI&lt;/p&gt;

&lt;h1&gt;
  
  
  relationships
&lt;/h1&gt;

&lt;p&gt;Are basically connections between tables in power BI that shows how a data in one table is related to a data in another table.&lt;/p&gt;

&lt;h3&gt;
  
  
  cardinality:
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;one to one&lt;/strong&gt; -each value appears once in the two tables eg;&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%2Fs7zvntmxak40niyyl0qk.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%2Fs7zvntmxak40niyyl0qk.png" alt=" " width="520" height="90"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;one to many&lt;/strong&gt;-one value in one table appears many times in another table&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%2Fph5vffjx6fjb9vgg16uv.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%2Fph5vffjx6fjb9vgg16uv.png" alt=" " width="369" height="157"&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%2F1ftd0klikvznf80oubsl.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%2F1ftd0klikvznf80oubsl.png" alt=" " width="381" height="130"&gt;&lt;/a&gt;&lt;br&gt;
this basically means Fatma has placed multiple orders&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;many to many&lt;/strong&gt;- multiple values in one table can appear multiple times in another table. A simplified example is a data table for students performance in a school where we find that one student can take many subjects and also one subject can be taken by multiple students.&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%2F7mh9980va2afof5x122i.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%2F7mh9980va2afof5x122i.png" alt=" " width="754" height="201"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Primary keys and Foreign keys
&lt;/h2&gt;

&lt;p&gt;A primary keys is a column that acts as a unique identifier in a table while a foreign key is a column that basically referrences a primary key in another table.&lt;br&gt;
From the above table explaining the one to many relationship of a schema, we can conclude that the customerID column is a primary key in the customer's table while the same column acts as a foreign key in the Order table.&lt;/p&gt;

&lt;h2&gt;
  
  
  Schemas/data structure/data blueprint
&lt;/h2&gt;

&lt;p&gt;This is a  model/ structure in which your data sits on. As you feed more data into your table, a schema is how your data will be arranged in your &lt;code&gt;.pbix&lt;/code&gt; file.&lt;br&gt;
To understand this concept, you have to first understand the two types of tables involved in your &lt;code&gt;.pbix&lt;/code&gt; file namely;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;dimensional tables&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;fact tables&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For instance you are working on a table of raw data containing thousands of rows. As a data analyst it is your duty to prepare the data in such a way that it becomes easier to analyse , understand and interpret. One large table can be broken down into multiple tables that are interconnected with each other. &lt;br&gt;
Dimensional tables will contain primary keys while a fact table will house those primary keys as foreign keys in it.&lt;br&gt;
A good example is on the above tow tables explaining the one to many relationships. We can conclude that the Customer's table is a dimensional table while the Order table is a fact table.&lt;br&gt;
There are 2 types of schemas:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Star schema-&lt;/strong&gt; has one fact table and several dimensional 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%2F5mv5kkynyjt30ku89no4.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%2F5mv5kkynyjt30ku89no4.png" alt=" " width="799" height="406"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;snowflake schema&lt;/strong&gt;- has one fact table, several dimensional tables and sub dimensional 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%2F8sqs59p55uetrd6fko3l.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%2F8sqs59p55uetrd6fko3l.png" alt=" " width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Joins
&lt;/h2&gt;

&lt;p&gt;This is a function in your power BI platfrom that now you will use to merge these dimensional and subdimensional tables into one large meaningfull flat table.It is used in power query when transforming your data.&lt;br&gt;
There are types of joins:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Full outer join&lt;/strong&gt;- combines all values from both tables&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;right outer join&lt;/strong&gt;-combines all values from the second table and matching values from the first table&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;left outer join&lt;/strong&gt;-combines all values from the first table and matching values from the second table.(&lt;em&gt;&lt;strong&gt;note&lt;/strong&gt;&lt;/em&gt;: the arrangement of the table depends entirely on the analyst) &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;-** inner join**-combines only matching values from the  columns of the two tables(dimensional and fact tables)&lt;/p&gt;

&lt;h3&gt;
  
  
  Antijoins
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;left Antijoin will only select rows that are in the first table only and are missing in the second table&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Right Antijoin only selects rows in the second table alone and are missing in the first&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%2Fkvrd1bi1shpul4vt99jm.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%2Fkvrd1bi1shpul4vt99jm.png" alt=" " width="714" height="441"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Key take aways:&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Schemas are used to break down tables&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Joins are used to merge your tables&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Antijoins cant be used to merge tables&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Foreign keys are in fact tables, in their dimensional tables they are primary keys&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Primary keys are unique in their tables&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>beginners</category>
      <category>reviews</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Why Excel....</title>
      <dc:creator>rapidlashes</dc:creator>
      <pubDate>Sat, 06 Jun 2026 17:04:28 +0000</pubDate>
      <link>https://dev.to/rapidlashes/why-excel-2ame</link>
      <guid>https://dev.to/rapidlashes/why-excel-2ame</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is excel&lt;/strong&gt;&lt;br&gt;
Let's say for instance you are running a garage business and you have been spending a lot of money in operations which does not tally the income cash flow from the business, and you are looking to see which department uses a large percentage of the daily operational cost of the business. You obviously need a tool to analyse that cost, from money used in transportation to money spent in procurement of spare parts and garage work tools. Excel with its features can give you the best platform to analyse that cost enabling you to make decisions that will help you cut down on expenses while still maximising profits.&lt;br&gt;
&lt;strong&gt;definitions&lt;/strong&gt;&lt;br&gt;
 Excel is basically a tool provided by Microsoft to help you analyse and store data. The data can be in numeric form or text form or even Pictorial form in some cases.&lt;br&gt;
&lt;strong&gt;Applications&lt;/strong&gt;&lt;br&gt;
Now from the above introduction we have seen one way we can use excel spreadsheets, by analysing a company's operational cost in comparison to the company's income cash flow. Another instance we can use an excel spreadsheet still in a business set up is analysing which products sale the most. In a business like running a spare shop for instance, you end up selling a variety of spare parts but not all products sale at the same rate.Excel will help you identify fast moving products from the slow moving ones and the dead stocks therefore enabling you to make the best decisions before procuring spare parts.&lt;br&gt;
Another application where excel can be essential for use is analysing an employee's work performance and using that data to handle payroll. One can analyse variables like hours of work, hire date, years of experience and project completion time to derive rational decisions on whether to increase or decrease an employee's salary.&lt;br&gt;
&lt;strong&gt;Features&lt;/strong&gt;&lt;br&gt;
Excel has a wide variety of features and functions that enable the user to work efficiently. Tools like conditional formatting allow one to point out and highlight a specific cell or cells that satisfy certain conditions like for instance duplicate values or text.&lt;br&gt;
There are also a wide variety of numeric functions that can help one find the Sum, Mode or Average of a numeric data set.Such functions are useful in accounting. &lt;br&gt;
Another feature which is a basic one but very essential is the one that allows you to convert any type of data in a certain cell to a format of your liking, for instance, a numeric data can be converted to a currency of one's choice.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Overview&lt;/strong&gt;&lt;br&gt;
Excel is generally the simplest tool one can use to analyse data with. It is easy to use and access and for handling small to medium data set.&lt;/p&gt;

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