<?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: ndinda515</title>
    <description>The latest articles on DEV Community by ndinda515 (@ndinda515).</description>
    <link>https://dev.to/ndinda515</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%2F3971212%2Fef56c056-21b8-4dcc-99a1-07bbac550b03.png</url>
      <title>DEV Community: ndinda515</title>
      <link>https://dev.to/ndinda515</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ndinda515"/>
    <language>en</language>
    <item>
      <title>WINDOW FUNCTIONS,JOINS,SUBQUERIES AND CTEs</title>
      <dc:creator>ndinda515</dc:creator>
      <pubDate>Wed, 21 Oct 2026 18:12:01 +0000</pubDate>
      <link>https://dev.to/ndinda515/window-functionsjoinssubqueries-and-ctes-2ngh</link>
      <guid>https://dev.to/ndinda515/window-functionsjoinssubqueries-and-ctes-2ngh</guid>
      <description>&lt;h2&gt;
  
  
  WINDOW FUNCTION
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What is a window Function&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It is a function that performs calculations across a set of rows related to the current one and returns the result of its computation for each row. Unlike GROUP BY, Window functions in PostgreSQL do not aggregate values and therefore do not reduce the number of rows in the output dataset. All rows from the input table are present in the output, and computations are attached to the corresponding rows.&lt;/p&gt;

&lt;p&gt;In other words, you can think of a window function as a computation that for each row requests a value that is the result of some calculation applied to a certain set of rows (a window).&lt;/p&gt;

&lt;p&gt;The commonly used Window Functions include, &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ROW_NUMBER()&lt;/strong&gt;&lt;br&gt;
This function is used to retrieve single records out of a repeating table. It also gives each row a unique number in sequential order within a group.&lt;br&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%2F3z1jisr16gq6htw6fnpz.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%2F3z1jisr16gq6htw6fnpz.png" alt=" " width="375" height="217"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Attached assigns a unique number to each doctor's visit in date order, starting from 1 for each doctor.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;RANK()&lt;/strong&gt;&lt;br&gt;
The RANK() function assigns a rank to each row based on the order specified within the window. Rows with the same values receive the same rank, and the next rank is skipped.&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%2Fj71uw7h25j6bru31idfx.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%2Fj71uw7h25j6bru31idfx.png" alt=" " width="428" height="196"&gt;&lt;/a&gt; Calculates the total bills associated with each doctor and ranks doctors from highest to lowest.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;DENSE_RANK()&lt;/strong&gt;&lt;br&gt;
The DENSE_RANK() function operates similarly to the RANK() function except it does not skip any ranks even if rows have the same values.&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%2F80gybt268mclxoxcedw7.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%2F80gybt268mclxoxcedw7.png" alt=" " width="383" height="201"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;** NTILE()**&lt;br&gt;
NTILE() divides sorted partitions into n-number of equal groups. Each row in a partition is assigned a group number.&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%2F31337ws7p06sodh12qhl.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%2F31337ws7p06sodh12qhl.png" alt=" " width="297" height="175"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;LEAD()&lt;/strong&gt;&lt;br&gt;
It retrieves a value from a following row. It is the counterpart of the LAG() function.&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%2Fcebfz9dkdn1jv5b35ig0.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%2Fcebfz9dkdn1jv5b35ig0.png" alt=" " width="327" height="180"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SUM&lt;/strong&gt;&lt;br&gt;
Returns the total sum of a numeric column.&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%2F9hyyhxfz3fdpsp2upvc3.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%2F9hyyhxfz3fdpsp2upvc3.png" alt=" " width="467" height="112"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AVG&lt;/strong&gt;&lt;br&gt;
Returns the average which is the mean value of a numeric column.&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%2Fvw27laeck9kva8cqtacy.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%2Fvw27laeck9kva8cqtacy.png" alt=" " width="452" height="125"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;MIN&lt;/strong&gt;&lt;br&gt;
Returns the minimum or the smallest value from a column.&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%2F5wqtpucqtau2rehpyafd.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%2F5wqtpucqtau2rehpyafd.png" alt=" " width="417" height="121"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;MAX&lt;/strong&gt;&lt;br&gt;
Returns the maximum or largest value from a column.&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%2Fu38mba9aj047v9aqwqet.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%2Fu38mba9aj047v9aqwqet.png" alt=" " width="397" height="110"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;COUNT&lt;/strong&gt;&lt;br&gt;
Returns the number of rows that match a specified condition.&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%2Feemvz7o96kvhd4saps06.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%2Feemvz7o96kvhd4saps06.png" alt=" " width="343" height="112"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;-The advantages on these functions are such that it is efficient for SQL to perform operations on entire sets inside the database engine.&lt;br&gt;
It also handles large data, as SQL is designed for big tables and can process millions of rows reliably.&lt;/p&gt;

&lt;h2&gt;
  
  
  SQL JOINS
&lt;/h2&gt;

&lt;p&gt;The JOIN clause is used to combine rows from two or more tables, based on a related column between them, i.e., a primary key and foreign key relationship between the two tables.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SQL JOINS TYPES&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Inner join&lt;/strong&gt;&lt;br&gt;
Combines rows from two or more tables based on a related column between them. It returns only the records that have matching values in both tables; if a row in one table does not have a matching row in the other, it is excluded from the final result.&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%2F5gjgkuo2hua9lssnfcd3.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%2F5gjgkuo2hua9lssnfcd3.png" alt=" " width="441" height="171"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Left Join&lt;/strong&gt;&lt;br&gt;
In SQL, a LEFT JOIN (also known as a LEFT OUTER JOIN) returns all rows from the left table (the first table mentioned), along with the matching rows from the right table. If there is no match for a row from the left table, the columns from the right table will simply display NULL.&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%2Fnou4t6pjvst43mw3oeev.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%2Fnou4t6pjvst43mw3oeev.png" alt=" " width="297" height="182"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Right Join&lt;/strong&gt;&lt;br&gt;
The SQL RIGHT JOIN (or RIGHT OUTER JOIN) returns all records from the right table (table2) and the matched records from the left table (table1). If there is no match for a row from the right table, the resulting columns from the left table will contain NULL values.&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%2Fnnkfgyj0mbed3ahbq02i.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%2Fnnkfgyj0mbed3ahbq02i.png" alt=" " width="288" height="177"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Full Join&lt;/strong&gt;&lt;br&gt;
A SQL FULL JOIN (also known as a FULL OUTER JOIN) returns all records from both tables whenever there is a match in either the left or right table. If a row from the left table matches a row from the right table, the columns are combined. If there is no match, the missing sides are populated with NULL values. Essentially, a FULL JOIN acts as a combination of a LEFT JOIN and a RIGHT JOIN&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%2Fwwveckuzv5telm6nx7n0.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%2Fwwveckuzv5telm6nx7n0.png" alt=" " width="316" height="191"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
The concept that took the most practice was realizing that a join isn't really "combining tables" in general — it's about deciding what happens to unmatched rows on each side. Once I started asking "what do I want to happen to rows without a match" for every join I wrote, choosing between INNER, LEFT, RIGHT, and FULL OUTER became a matter of answering that one question rather than memorizing four separate syntaxes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Subqueries&lt;/strong&gt;&lt;br&gt;
A subquery is a query within a query. Subquery (also known as an inner query or nested query) is simply a SQL query embedded inside another SQL statement. It is used to fetch an intermediate dataset that the main (outer) query can use to filter, calculate, or manipulate data.&lt;/p&gt;

&lt;p&gt;Common locations of Subqueries&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In the WHERE Clause (Dynamic Filtering)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This filters rows based on a calculation or a list generated by the inner query.&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%2F577jdhlipfl7phu0lb8t.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%2F577jdhlipfl7phu0lb8t.png" alt=" " width="607" height="81"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In the SELECT Clause&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Calculates a single value to display as a standalone column alongside individual row data&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%2Faqsf4erdgg2y93rptf8w.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%2Faqsf4erdgg2y93rptf8w.png" alt=" " width="763" height="63"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  CTEs
&lt;/h2&gt;

&lt;p&gt;A CTE does the same job — precomputing an intermediate result — but is defined upfront using WITH, giving it a name that can be reused.&lt;br&gt;
It produces the exact same result as the nested subquery.&lt;/p&gt;

&lt;p&gt;I learned that subqueries are queries placed inside another SQL query to help retrieve or filter data before the main query runs. They are useful when I need to use the result of one query to answer another question.&lt;/p&gt;

&lt;p&gt;I also learned that CTEs (Common Table Expressions) allow me to create a temporary named result using the "WITH" keyword and then use it in another query. CTEs queries easier to read, understand and organize.&lt;/p&gt;

&lt;p&gt;CTEs helps break down complex SQL problems into smaller and more manageable steps.&lt;/p&gt;

</description>
      <category>database</category>
      <category>postgres</category>
      <category>sql</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>DATA MODELLING RELATIONSHIPS AND SCHEMAS IN POWER BI</title>
      <dc:creator>ndinda515</dc:creator>
      <pubDate>Tue, 30 Jun 2026 18:42:48 +0000</pubDate>
      <link>https://dev.to/ndinda515/data-modelling-relationships-and-schemas-in-power-bi-1mhj</link>
      <guid>https://dev.to/ndinda515/data-modelling-relationships-and-schemas-in-power-bi-1mhj</guid>
      <description>&lt;p&gt;&lt;strong&gt;INTRODUCTION&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When I started using Power BI, I only thought of visuals like charts and graphs. However, as I progressed, I discovered a great data dashboard is built on great data models.&lt;/p&gt;

&lt;p&gt;Data Modelling is the process of organizing your data tables and defining how they relate to each other so Power BI can combine them into meaningful reports and dashboards. Good, designed data makes it easier and faster to maintain.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why is data Modelling Important&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Well-organized data makes it easier to manage data.&lt;/p&gt;

&lt;p&gt;Reduction of the duplicates.&lt;/p&gt;

&lt;p&gt;Ensures data consistency.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Understanding Relationships&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Relationships allow the data table to give communication using fields.&lt;/p&gt;

&lt;p&gt;For example,&lt;br&gt;
Customer Table stores all information about a customer.&lt;br&gt;
Product Table store product details&lt;br&gt;
Sales Table stores all information about the transactions.&lt;/p&gt;

&lt;p&gt;Power BI connects the information between the customer’s name and Customer Id rather than repeating them it connects the information using joins.&lt;/p&gt;

&lt;p&gt;Going through relationships I discovered schemes. Scheme is the way tables are organized in databases. There are different types of schemes e.g. Star Schema, snowflake schema and Flat table.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Star Schema&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A star schema is a data model with one central fact table and dimension table surrounding it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fact table&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A table that stores events, transactions of what happened.&lt;br&gt;
      •   Total sales&lt;br&gt;
      •   average sales&lt;br&gt;
      •   quantity sold&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dimension table&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A dimension table describes the items in the fact table. The table contains descriptive information.&lt;br&gt;
      •   The customer table describes the customer&lt;br&gt;
      •   How much sales were made&lt;/p&gt;

&lt;p&gt;The fact table sits in the center, while the dimension tables surround it—forming a star.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dashboard designs&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A good dashboard has to fit one page.&lt;/p&gt;

&lt;p&gt;A dashboard should show critical information.&lt;/p&gt;

&lt;p&gt;Update automatically when data changes.&lt;/p&gt;

&lt;p&gt;Focus on data understanding and decision making.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Power BI taught me that a great report are built from a a great dashboard which is achieved by having great models.&lt;/p&gt;

&lt;p&gt;Structuring a data into facts and dimension table and choosing star schema creates a powerful model.&lt;/p&gt;

&lt;p&gt;Data cleaning is important because a clean data is the best.&lt;/p&gt;

&lt;p&gt;Power BI has changed how I interpret and interact with  data.&lt;/p&gt;

</description>
      <category>analytics</category>
      <category>beginners</category>
      <category>data</category>
      <category>microsoft</category>
    </item>
    <item>
      <title>How Excel is Used in Real-World Data Analysis</title>
      <dc:creator>ndinda515</dc:creator>
      <pubDate>Sun, 07 Jun 2026 11:56:14 +0000</pubDate>
      <link>https://dev.to/ndinda515/how-excel-is-used-in-real-world-data-analysis-1epn</link>
      <guid>https://dev.to/ndinda515/how-excel-is-used-in-real-world-data-analysis-1epn</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Microsoft Excel is a powerful software spreadsheet tool developed by Microsoft to be used for data collection, analyzation, organization, visualization and calculation for decision making purposes.&lt;br&gt;
Excel is a tool that collects, organizes, allowing for data storage and analysis.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Components of Excel Interface&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ribbon&lt;/strong&gt;- Contains tabs and commands (Home, Insert, ......)&lt;br&gt;
&lt;strong&gt;Range&lt;/strong&gt;- The group of cells selected (B:1:B44 represents range of cells in column B)&lt;br&gt;
&lt;strong&gt;Row&lt;/strong&gt;- Also known as a record and runs horizontally. They are labelled in numbers (e.g. 1,2)&lt;br&gt;
&lt;strong&gt;Column&lt;/strong&gt;- Also known as Field and runs vertically. They are labelled with letter (e.g. A, B)&lt;br&gt;
&lt;strong&gt;Cell&lt;/strong&gt;- Intersection of a column and a row. (e.g. A2)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Uses of excel in real-world&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data Analysis&lt;/strong&gt;- It is used in cleaning, sorting and filtering data that is used by for both personal and business. This data is used in identification of trends and tracking data.&lt;br&gt;
&lt;strong&gt;Accounting and Finance&lt;/strong&gt;- It is used in preparing budgets and cashflow, recording transaction, calculating taxes and payroll etc. &lt;br&gt;
Sales and marketing- To monitor sales performance, store the customer database and analyze the trends.&lt;br&gt;
&lt;strong&gt;Project management&lt;/strong&gt;: Monitor the project cost, track the projects, prepare reports and ensure the projects are concluded on time.&lt;br&gt;
Excel can be used on the personal level to track expenses, monitor savings, budgeting and planning for financial goals.&lt;br&gt;
Organizations can use the excel to track the employee's attendance sheet, maintain records and manage the leave schedules.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Excel Features&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data Sorting&lt;/strong&gt;: Arranging data in specific order.&lt;br&gt;
They are arranged in different types i.e. Text sorting (A to Z), Number sorting (smallest to largest or largest to smallest) and Date Sorting (Oldest to Newest or Newest to Oldest)&lt;br&gt;
&lt;strong&gt;Filtering&lt;/strong&gt;: Allowing the display of the only important row that meet the certain criteria that you need to use.&lt;br&gt;
&lt;strong&gt;Data Validation&lt;/strong&gt;: Allowing accurate and consistent data entry.&lt;br&gt;
&lt;strong&gt;Freezing Panes&lt;/strong&gt;: Keep headers or important columns in view as you scroll.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Excel Functions&lt;/strong&gt;&lt;br&gt;
Excel is made of different functions that summarize, analyze and automate data.&lt;br&gt;
The functions perform specific task in the excel spreadsheet.&lt;br&gt;
&lt;strong&gt;SUM ()&lt;/strong&gt; - Adds numbers in the range of a cell e.g. =sum (A1:A34) Adds numbers from A1 to A34.&lt;br&gt;
&lt;strong&gt;MIN ()&lt;/strong&gt; - Finds the smallest number e.g. =min (D1:D7) &lt;br&gt;
&lt;strong&gt;MAX ()&lt;/strong&gt; - Finds the largest number e.g. =max (F4:F13) &lt;br&gt;
&lt;strong&gt;AVERAGE ()&lt;/strong&gt; - Calculates the mean value of the database selected e.g. =Average (C1:C5) Gives the mean from C1 to C5&lt;br&gt;
&lt;strong&gt;COUNT IF ()&lt;/strong&gt; - Counts the number of cells that meet a specific criterion and can only use one condition e.g.=Count if (A1:A10,"SALARY") &lt;br&gt;
&lt;strong&gt;COUNT IFS ()&lt;/strong&gt; -Counts the number of cells that meet a specific criterion and can use multiple conditions e.g.=Count ifs (A1:A10,"SALARY", C1:C10,"&amp;gt;500") &lt;/p&gt;

&lt;p&gt;Learning Excel changed how I see data by helping me view the data as information rather than just the numbers in the excel. Excel taught me how to sort, analyze, visualize and collect data making the work easier by uncovering the insights of large amount of information. As a result of Excel, I can make more informed decisions based on the information given and solve the problems efficiently and clearly. I can also give the correct prediction of the future information.&lt;/p&gt;

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