<?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>Forem: twisted21</title>
    <description>The latest articles on Forem by twisted21 (@twisted21).</description>
    <link>https://forem.com/twisted21</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3708658%2Fba54b6c5-dae7-4395-b0a9-a2e8dc05b913.png</url>
      <title>Forem: twisted21</title>
      <link>https://forem.com/twisted21</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/twisted21"/>
    <language>en</language>
    <item>
      <title>Connecting Power BI to SQL Databases: A Complete Guide</title>
      <dc:creator>twisted21</dc:creator>
      <pubDate>Mon, 06 Apr 2026 13:39:54 +0000</pubDate>
      <link>https://forem.com/twisted21/connecting-power-bi-to-sql-databases-a-complete-guide-348o</link>
      <guid>https://forem.com/twisted21/connecting-power-bi-to-sql-databases-a-complete-guide-348o</guid>
      <description>&lt;p&gt;&lt;a href="https://powerbi.microsoft.com/" rel="noopener noreferrer"&gt;Microsoft Power BI&lt;/a&gt; is a powerful data visualization and business intelligence tool used by organizations to analyze data and make informed decisions. It allows users to connect to multiple data sources, transform raw data into meaningful insights, and present results through interactive dashboards and reports.&lt;/p&gt;

&lt;p&gt;Businesses use Power BI to monitor performance, identify trends, and support decision-making in areas such as sales, marketing and operations. Instead of relying on static spreadsheets, Power BI enables analysts to work with real-time data, ensuring reports remain accurate and up to date.&lt;br&gt;
&lt;a href="https://www.postgresql.org/" rel="noopener noreferrer"&gt;PostgreSQL&lt;/a&gt; and other SQL databases play a crucial role in this process. SQL databases store structured data in tables and define relationships between them, making it easier to organize and analyze information. They also support powerful querying capabilities such as filtering, sorting and aggregation. Because of these strengths, SQL databases serve as the backbone of modern data systems, while Power BI transforms that data into actionable insights.&lt;/p&gt;
&lt;h1&gt;
  
  
  Connecting Power BI to a Local PostgreSQL Database
&lt;/h1&gt;
&lt;h2&gt;
  
  
  Step 1: Open Power BI Desktop
&lt;/h2&gt;

&lt;p&gt;Launch Power BI Desktop on your computer.&lt;/p&gt;
&lt;h2&gt;
  
  
  Step 2: Click “Get Data”
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Go to the Home tab
&lt;/li&gt;
&lt;li&gt;Click Get Data
&lt;/li&gt;
&lt;li&gt;Select PostgreSQL Database
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Step 3: Enter Connection Details
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Server: localhost
Database: your database name
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Step 4: Provide Credentials
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- Choose Database Authentication  
- Enter your username and password  
- Click Connect  
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Step 5: Load Tables
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Select the tables you want to use:

- customers  
- products  
- sales  
- inventory  

Click Load  
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Connecting Power BI to a Cloud Database (Aiven PostgreSQL)
&lt;/h1&gt;

&lt;p&gt;Cloud platforms like &lt;a href="https://aiven.io/" rel="noopener noreferrer"&gt;Aiven&lt;/a&gt; provide managed PostgreSQL databases that can be accessed remotely.&lt;/p&gt;

&lt;p&gt;Connecting Power BI to PostgreSQL allows users to analyze real-time database data directly inside dashboards.&lt;/p&gt;


&lt;h1&gt;
  
  
  Step 1: Install PostgreSQL ODBC Driver
&lt;/h1&gt;

&lt;p&gt;Before connecting Power BI to a PostgreSQL database, ensure the ODBC driver is installed.&lt;/p&gt;

&lt;p&gt;Download it from:&lt;br&gt;
&lt;a href="https://www.postgresql.org/ftp/odbc/versions/" rel="noopener noreferrer"&gt;https://www.postgresql.org/ftp/odbc/versions/&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Why this is important:
&lt;/h3&gt;

&lt;p&gt;The ODBC driver allows Power BI to communicate with PostgreSQL.&lt;/p&gt;


&lt;h1&gt;
  
  
  Step 2: Open Power BI Desktop
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Launch &lt;strong&gt;Power BI Desktop&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Go to the &lt;strong&gt;Home tab&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Get Data&lt;/strong&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.amazonaws.com%2Fuploads%2Farticles%2Fqm72qwszsds1tzviw0a0.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%2Fqm72qwszsds1tzviw0a0.png" alt=" "&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h1&gt;
  
  
  Step 3: Select PostgreSQL Database
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Choose &lt;strong&gt;Database → PostgreSQL Database&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Connect&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;h1&gt;
  
  
  Step 4: Enter Connection Details
&lt;/h1&gt;

&lt;p&gt;Fill in the required fields:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Server: localhost
Database: your_database_name
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&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%2Fjz9hn7bdnq8nwfh4g9v7.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%2Fjz9hn7bdnq8nwfh4g9v7.png" alt=" "&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Step 5: Provide Credentials
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Choose Database Authentication
Enter your username
Enter your password
Click Connect
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Step 7: Install SSL Certificate (Cloud Databases Only)
&lt;/h1&gt;

&lt;p&gt;If using a cloud database like Aiven:&lt;/p&gt;

&lt;p&gt;Download the CA certificate from your provider.&lt;/p&gt;

&lt;p&gt;This is required to secure the connection.&lt;/p&gt;

&lt;h1&gt;
  
  
  Step 8: Connect to Cloud Database (Aiven PostgreSQL)
&lt;/h1&gt;

&lt;p&gt;Cloud platforms like Aiven&lt;br&gt;
 provide managed PostgreSQL databases.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Get Connection Details:
Host
Port
Database name
Username
Password

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Enter in Power BI:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="s"&gt;hostname:port&lt;/span&gt;
&lt;span class="s"&gt;database_name&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Why SSL is Important:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Encrypts data transmission
Protects login credentials
Prevents unauthorized access
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Step 9: Load Data into Power BI
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;After connection:
Select tables (customers, products, sales, inventory)
Click Load
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Step 10: Create Relationships (Data Modeling)
&lt;/h1&gt;

&lt;p&gt;Go to Model View in Power BI.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Create relationships:

customers → sales (CustomerID)
products → sales (ProductID)
products → inventory (ProductID)

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Why Relationships Matter:&lt;br&gt;
Connects related data&lt;br&gt;
Enables filtering across tables&lt;br&gt;
Ensures accurate analysis&lt;/p&gt;
&lt;h1&gt;
  
  
  Step 11: Build Power BI Dashboard
&lt;/h1&gt;

&lt;p&gt;Sales Performance&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Line chart: Sales over time
KPI: Total revenue
Bar chart: Sales by region
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Product Performance&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Bar chart: Top-selling products
Pie chart: Sales by category
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Customer Insights&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Table: Top customers by revenue
Map: Customer locations
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Inventory Insights&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Column chart: Stock levels
KPI: Low inventory alerts
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Conclusion: Why SQL Skills Matter&lt;/p&gt;

&lt;p&gt;SQL is essential for Power BI analysts because it allows them to:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Retrieve data efficiently&lt;/li&gt;
&lt;li&gt;Filter datasets&lt;/li&gt;
&lt;li&gt;Perform aggregations (SUM, COUNT, AVG)&lt;/li&gt;
&lt;li&gt;Join multiple tables&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Using SQL with Power BI ensures cleaner data, better models and more accurate dashboards.&lt;/p&gt;

</description>
      <category>database</category>
      <category>microsoft</category>
      <category>sql</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Making Sense of SQL: From Joins to Window Functions</title>
      <dc:creator>twisted21</dc:creator>
      <pubDate>Mon, 09 Mar 2026 10:25:45 +0000</pubDate>
      <link>https://forem.com/twisted21/making-sense-of-sql-from-joins-to-window-functions-250o</link>
      <guid>https://forem.com/twisted21/making-sense-of-sql-from-joins-to-window-functions-250o</guid>
      <description>&lt;p&gt;SQL is more than just selecting rows from a table. Real-world databases store related information across multiple tables, and real-world questions often require analysis beyond simple totals. This is where JOINs and Window Functions shine.&lt;/p&gt;

&lt;h1&gt;
  
  
  Window function
&lt;/h1&gt;

&lt;p&gt;A window function performs a calculation across a set of table rows that are related to the current row. Window functions can be compared to aggregate functions but unlike aggregate functions window functions does not cause rows to be grouped into a single output row that is the rows maintain their original identities. &lt;/p&gt;

&lt;h1&gt;
  
  
  Common window functions
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;ROW_NUMBER()&lt;br&gt;
Assigns a unique number to each row within a partition.&lt;br&gt;
&lt;code&gt;&lt;br&gt;
SELECT name, department_id,&lt;br&gt;
   ROW_NUMBER() OVER (&lt;br&gt;
       PARTITION BY department_id&lt;br&gt;
       ORDER BY name&lt;br&gt;
   ) AS row_num&lt;br&gt;
FROM employees;&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
Explanation:&lt;br&gt;
Each department starts numbering employees from 1.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;RANK() and DENSE_RANK()&lt;br&gt;
Used to rank values, often with ties.&lt;br&gt;
&lt;code&gt;&lt;br&gt;
SELECT name, salary,&lt;br&gt;
   RANK() OVER (ORDER BY salary DESC) AS salary_rank&lt;br&gt;
FROM employees;&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
RANK() skips numbers after ties&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;DENSE_RANK() does not skip numbers&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;LEAD() and LAG()
LEAD - This function allows you to access the quantity of the next row for each customer.
&lt;code&gt;
SELECT o.order_id, o.customer_id, o.quantity, 
LEAD(o.quantity) OVER (ORDER BY o.order_id) AS next_quantity 
FROM orders o; 
&lt;/code&gt;
LAG - This function allows you to access the quantity of the previous row for each customer. 
&lt;code&gt;
SELECT o.order_id, o.customer_id, o.quantity, 
LAG(o.quantity) OVER (ORDER BY o.order_id) AS prev_quantity 
FROM orders o; 
&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;NTILE() function &lt;br&gt;
The NTILE function is a SQL window function that divides an ordered result set into a specified number of roughly equal-sized groups and assigns a bucket number to each row.&lt;br&gt;
for example: We want to divide customers into 2 groups (quartiles) based on their total order quantity.&lt;br&gt;
NTILE(2) divides customers into 2 equal groups (quartiles) based on their total quantity ordered.&lt;br&gt;
&lt;code&gt;&lt;br&gt;
SELECT c.first_name, c.second_name, SUM(o.quantity) AS total_quantity, &lt;br&gt;
NTILE(3) OVER (ORDER BY SUM(o.quantity) DESC) AS quantity_tile &lt;br&gt;
FROM orderss o &lt;br&gt;
JOIN customers c ON o.customer_id = c.customer_id &lt;br&gt;
GROUP BY c.first_name, c.second_name &lt;br&gt;
ORDER BY quantity_tile; &lt;br&gt;
&lt;/code&gt; &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Partition by &lt;br&gt;
It is used within a window function's OVER() clause to divide the query's result set into partitions. The window function then operates on each partition independently and calculations (like running totals or rankings) restart for each new partition&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;When to Use Window Functions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Rankings&lt;/li&gt;
&lt;li&gt;Running totals&lt;/li&gt;
&lt;li&gt;Percentages and comparisons&lt;/li&gt;
&lt;li&gt;Analytics without losing row-level data&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  JOINS
&lt;/h1&gt;

&lt;p&gt;Joins allow you to combine related data from different tables into one result set.&lt;br&gt;
a. INNER JOIN &lt;br&gt;
An INNER JOIN returns only the rows that have matching values in both tables.&lt;br&gt;
Example: Departments with employees (list department and employee names) &lt;br&gt;
&lt;code&gt;&lt;br&gt;
SELECT d.department_name, e.name &lt;br&gt;
FROM departments d &lt;br&gt;
INNER JOIN employees e ON d.department_id = e.department_id;&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;b. LEFT (OUTER) JOIN: Returns all rows from the left table, and only the matched rows from the right table&lt;br&gt;
Example: Departments and their employees (even departments without employees) &lt;br&gt;
&lt;code&gt;SELECT d.department_name, e.name &lt;br&gt;
FROM departments d &lt;br&gt;
LEFT JOIN employees e ON d.department_id = e.department_id; &lt;br&gt;
&lt;/code&gt;&lt;br&gt;
c. RIGHT (OUTER) JOIN: Returns all rows from the right table, and only the matched rows from the left table&lt;br&gt;
Example: Projects with or without assigned employees &lt;br&gt;
&lt;code&gt;SELECT p.project_name, e.name &lt;br&gt;
FROM projects p &lt;br&gt;
RIGHT JOIN employees e ON p.employee_id = e.employee_id;&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
d. FULL (OUTER) JOIN: Returns all rows when there is a match in either the left or right table&lt;br&gt;
Example: Departments and employees (whether matched or not) &lt;br&gt;
&lt;code&gt;SELECT d.department_name, e.name &lt;br&gt;
FROM departments d &lt;br&gt;
FULL OUTER JOIN employees e ON d.department_id = e.department_id; &lt;br&gt;
&lt;/code&gt;&lt;br&gt;
e. SELF JOIN &lt;br&gt;
A self join is a regular join but the table is joined with itself.&lt;/p&gt;

&lt;p&gt;Example: Employees who manage someone &lt;br&gt;
&lt;code&gt;SELECT DISTINCT m.name AS manager &lt;br&gt;
FROM employees e &lt;br&gt;
JOIN employees m ON e.manager_id = m.employee_id;&lt;/code&gt;&lt;br&gt;
f. CROSS JOIN &lt;br&gt;
It combines every roww from one table with every row from another table. &lt;br&gt;
Example 1: Every employee with every project &lt;br&gt;
&lt;code&gt;SELECT e.name, p.project_name &lt;br&gt;
FROM employees e &lt;br&gt;
CROSS JOIN projects p;&lt;/code&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>database</category>
      <category>sql</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Transforming Raw Data into Actionable Insights with Power BI</title>
      <dc:creator>twisted21</dc:creator>
      <pubDate>Mon, 09 Feb 2026 08:48:42 +0000</pubDate>
      <link>https://forem.com/twisted21/transforming-raw-data-into-actionable-insights-with-power-bi-37l5</link>
      <guid>https://forem.com/twisted21/transforming-raw-data-into-actionable-insights-with-power-bi-37l5</guid>
      <description>&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;In today's world  data is everywhere and organizations are under constant pressure to make sense of it all. A lot of information is being generated each day thus collecting data is not enough; organizations need tools to help them understand what the data is saying. Microsoft Power BI has become a popular choice as it makes it easier to explore the data, uncover insights and use the insights to make better and confident future decisions. &lt;br&gt;
Power BI has the features to address the different organizational needs from, data connectivity and transformation to visualizations and analytics. &lt;/p&gt;

&lt;h1&gt;
  
  
  1. Data connection
&lt;/h1&gt;

&lt;p&gt;Power Bi connects to various data sources including Excel, SQL servers, cloud based services such as Azure. These connections allow organizations to pull data from many systems into one model therefore making it easier t combine, analyze and visualize the information from across the organization.. &lt;/p&gt;

&lt;h1&gt;
  
  
  2. The Clean-Up and transformation Stage
&lt;/h1&gt;

&lt;p&gt;Real-world data is rarely ready to use once it is collected. On many occasions it is incomplete, inconsistent and structured poorly. Before any analysis can begin, analysts turn to &lt;strong&gt;Power Query&lt;/strong&gt; to clean, shape and prepare the data for modeling.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Common clean-up tasks include:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;De-duplication:&lt;/strong&gt; Removing duplicate records that can inflate totals and distort analysis
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Handling Missing Data:&lt;/strong&gt; Filling in missing values, removing incomplete records and flagging them for review
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Normalization:&lt;/strong&gt; Converting flat tables into Fact and Dimension tables using a &lt;strong&gt;Star Schema&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data Validation:&lt;/strong&gt; Ensuring values are accurate (dates are dates, numbers are numeric, categories are valid)
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Standardization:&lt;/strong&gt; Correcting inconsistent formats or labels (e.g., “USA” vs. “United States”)
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Outlier Detection:&lt;/strong&gt; Identifying unusually high or low values that may skew results
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Column Splitting/Merging:&lt;/strong&gt; Separating or combining fields (e.g., splitting full names into first and last names)
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Removing Unnecessary Data:&lt;/strong&gt; Dropping columns or rows that are not relevant to the analysis
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Renaming Columns:&lt;/strong&gt; Using clear, consistent and business-friendly column names
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data Type Assignment:&lt;/strong&gt; Applying correct data types (text, date, whole number, decimal, currency)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Analyst insight:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
A dashboard is only as reliable as the data model behind it. While a single “flat file” table might seem easier at first, it quickly becomes slow, fragile and difficult to maintain as data grows more complex.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. Turning Data into Meaningful Insights
&lt;/h2&gt;

&lt;p&gt;Once the data model is solid, analysts move on to &lt;strong&gt;DAX (Data Analysis Expressions)&lt;/strong&gt;. This is where business logic lives. Instead of just adding up numbers, analysts define rules that reflect how the business truly operates. Some of the formulas created to show the performannce of the business include: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Growth percentages&lt;/li&gt;
&lt;li&gt;Profit margins&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why DAX matters:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You can easily see how performance changes over time, like comparing this year to last year or one month to another.&lt;/li&gt;
&lt;li&gt;Metrics automatically update depending on whether you look at one product, a region or the whole company.&lt;/li&gt;
&lt;li&gt;You can create important business measures such as profit margin and customer churn.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Example calculation:&lt;/strong&gt;&lt;br&gt;
Growth % = (Current Sales - Previous Sales) / Previous Sales&lt;/p&gt;




&lt;h2&gt;
  
  
  4. From Calculations to Clear Dashboards
&lt;/h2&gt;

&lt;p&gt;A great dashboard is not just a collection of charts, it tells a story. Analysts design dashboards to guide users from a high-level overview down to the details that explain &lt;em&gt;why&lt;/em&gt; something is happening.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Component&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;th&gt;What It Helps Answer&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;KPI Cards&lt;/td&gt;
&lt;td&gt;Quick status check&lt;/td&gt;
&lt;td&gt;“Is this metric performing well or not?”&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Trend Lines&lt;/td&gt;
&lt;td&gt;Pattern recognition&lt;/td&gt;
&lt;td&gt;“Are we improving or declining over time?”&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Slicers / Filters&lt;/td&gt;
&lt;td&gt;Focused exploration&lt;/td&gt;
&lt;td&gt;“Which region or product is affected?”&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Decomposition Trees&lt;/td&gt;
&lt;td&gt;Root-cause analysis&lt;/td&gt;
&lt;td&gt;“What caused this change?”&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Example of dashboard&lt;/strong&gt;&lt;/p&gt;

&lt;h2&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%2Ft6vx9dsxli51l8dcf4r3.png" alt=" " width="602" height="415"&gt;
&lt;/h2&gt;

&lt;h2&gt;
  
  
  5. Turning Dashboards into Action
&lt;/h2&gt;

&lt;p&gt;This is where analytics creates real value. Analysts interpret what the dashboard is showing and translate it into clear, actionable guidance by answering the critical question: &lt;strong&gt;“So what?”&lt;/strong&gt;&lt;br&gt;
For instance: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Insight:&lt;/strong&gt; The dashboard reveals a &lt;strong&gt;20% drop in sales&lt;/strong&gt; in the Southwest region.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Investigation:&lt;/strong&gt; Using drill-through, the analyst discovers the decline is linked to two key products being out of stock.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Recommended action:&lt;/strong&gt; Shift excess inventory from the North to the Southwest immediately to recover lost sales and meet demand.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Summary Framework
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Ingest:&lt;/strong&gt; Connect to raw, messy data
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transform:&lt;/strong&gt; Clean and shape data with Power Query
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model:&lt;/strong&gt; Build efficient relationships using a Star Schema
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Calculate:&lt;/strong&gt; Apply business logic with DAX
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Visualize:&lt;/strong&gt; Design clear, purpose-driven dashboards
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Narrate:&lt;/strong&gt; Turn insights into confident business decisions
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Power BI is most powerful when analysts move beyond creating charts and focus on &lt;strong&gt;clarity, logic and action&lt;/strong&gt; helping stakeholders understand not just &lt;em&gt;what&lt;/em&gt; is happening, but &lt;em&gt;what to do next&lt;/em&gt;.&lt;/p&gt;

</description>
      <category>analytics</category>
      <category>dataengineering</category>
      <category>datascience</category>
      <category>microsoft</category>
    </item>
    <item>
      <title>Schemas and Data Modelling in Power BI - Core Concepts</title>
      <dc:creator>twisted21</dc:creator>
      <pubDate>Mon, 02 Feb 2026 12:45:18 +0000</pubDate>
      <link>https://forem.com/twisted21/schemas-and-data-modelling-in-power-bi-core-concepts-2e8i</link>
      <guid>https://forem.com/twisted21/schemas-and-data-modelling-in-power-bi-core-concepts-2e8i</guid>
      <description>&lt;h1&gt;
  
  
  Schemas and Data Modelling in Power BI
&lt;/h1&gt;

&lt;p&gt;Data modelling is one of the most critical steps in building efficient, accurate, and scalable Power BI reports. A well-designed data model improves performance, simplifies DAX calculations and ensures reliable insights.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Data Modelling in Power Bi?
&lt;/h2&gt;

&lt;p&gt;Data modelling in Power BI is the process of:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Structuring data into logical tables
&lt;/li&gt;
&lt;li&gt;Defining relationships between those tables
&lt;/li&gt;
&lt;li&gt;Optimizing how data is filtered and aggregated
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A good model acts as the foundation for all visuals, calculations, and insights.&lt;/p&gt;




&lt;h2&gt;
  
  
  Fact Tables vs Dimension Tables
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Fact Tables
&lt;/h3&gt;

&lt;p&gt;Fact tables contain &lt;strong&gt;measurable, quantitative data&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Examples:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Sales Amount
&lt;/li&gt;
&lt;li&gt;Quantity Sold
&lt;/li&gt;
&lt;li&gt;Revenue
&lt;/li&gt;
&lt;li&gt;Cost
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Characteristics:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Large in size
&lt;/li&gt;
&lt;li&gt;Contain foreign keys &lt;/li&gt;
&lt;li&gt;Central to analysis
&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Dimension Tables
&lt;/h3&gt;

&lt;p&gt;Dimension tables provide &lt;strong&gt;context&lt;/strong&gt; to facts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Examples:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Customer
&lt;/li&gt;
&lt;li&gt;Product
&lt;/li&gt;
&lt;li&gt;Date
&lt;/li&gt;
&lt;li&gt;Geography
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Characteristics:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Smaller than fact tables
&lt;/li&gt;
&lt;li&gt;Contain descriptive attributes
&lt;/li&gt;
&lt;li&gt;Used for slicing and filtering data
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  What Is a Schema?
&lt;/h2&gt;

&lt;p&gt;A &lt;strong&gt;schema&lt;/strong&gt; defines how tables are structured and related in a data model. In Power BI, schemas determine how filters flow and how efficiently the engine processes queries.&lt;/p&gt;




&lt;h2&gt;
  
  
  Star Schema
&lt;/h2&gt;

&lt;p&gt;The &lt;strong&gt;Star Schema&lt;/strong&gt; is the most recommended schema for Power BI.&lt;/p&gt;

&lt;h3&gt;
  
  
  Structure
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;One &lt;strong&gt;fact table&lt;/strong&gt; at the center
&lt;/li&gt;
&lt;li&gt;Multiple &lt;strong&gt;dimension tables&lt;/strong&gt; connected directly to the fact table
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Customer   Product   Date
     \        |        /
         Sales Fact
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Benefits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Better performance
&lt;/li&gt;
&lt;li&gt;Simpler DAX formulas
&lt;/li&gt;
&lt;li&gt;Predictable filter behavior
&lt;/li&gt;
&lt;li&gt;Easy to understand and maintain
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Snowflake Schema ❄️
&lt;/h2&gt;

&lt;p&gt;The &lt;strong&gt;Snowflake Schema&lt;/strong&gt; normalizes dimension tables into multiple related tables.&lt;/p&gt;

&lt;h3&gt;
  
  
  Example
&lt;/h3&gt;

&lt;p&gt;Product → Category → Department → Sales Fact&lt;/p&gt;

&lt;h2&gt;
  
  
  Drawbacks
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;More joins
&lt;/li&gt;
&lt;li&gt;Slower performance
&lt;/li&gt;
&lt;li&gt;More complex relationships
&lt;/li&gt;
&lt;li&gt;Harder to troubleshoot
&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Power BI works best with &lt;strong&gt;denormalized dimension tables&lt;/strong&gt;, so snowflake schemas are generally discouraged.&lt;/p&gt;
&lt;h2&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%2Fp33aqow2fpzjmj4imb7p.jpg" alt=" " width="800" height="533"&gt;
&lt;/h2&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Other Schema Types
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Galaxy (Fact Constellation) Schema
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Multiple fact tables
&lt;/li&gt;
&lt;li&gt;Shared dimension tables
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Useful for complex enterprise models but requires careful design to avoid ambiguity.&lt;/p&gt;




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

&lt;p&gt;Relationships control how tables interact.&lt;/p&gt;

&lt;h3&gt;
  
  
  Common Relationship Types
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;One-to-Many (1:*)&lt;/strong&gt; → Most common
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Many-to-Many (&lt;em&gt;:&lt;/em&gt;)&lt;/strong&gt; → Use cautiously
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One-to-One (1:1)&lt;/strong&gt; → Rare
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Filter Direction
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Single Direction (Dimension → Fact)&lt;/strong&gt; &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bi-Directional&lt;/strong&gt; (only when necessary)
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Common Data Modelling Mistakes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Using one large flat table
&lt;/li&gt;
&lt;li&gt;Overusing many-to-many relationships
&lt;/li&gt;
&lt;li&gt;Missing a Date table
&lt;/li&gt;
&lt;li&gt;Leaving unused columns in the model
&lt;/li&gt;
&lt;li&gt;Incorrect relationship directions
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Why Good Data Modelling Matters
&lt;/h2&gt;

&lt;p&gt;A solid data model:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Improves report performance
&lt;/li&gt;
&lt;li&gt;Reduces DAX complexity
&lt;/li&gt;
&lt;li&gt;Ensures accurate calculations
&lt;/li&gt;
&lt;li&gt;Makes reports easier to maintain
&lt;/li&gt;
&lt;li&gt;Enhances user experience
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Power BI Data Modelling Best Practices
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt; Use a &lt;strong&gt;Star Schema&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt; Separate &lt;strong&gt;facts and dimensions&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt; Use &lt;strong&gt;one-to-many relationships&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt; Prefer &lt;strong&gt;single-direction filtering&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt; Include a &lt;strong&gt;dedicated Date table&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt; Remove unused columns
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Power BI is not just about visuals, it’s about &lt;strong&gt;how data is structured behind the scenes&lt;/strong&gt;. Investing time in proper schemas and data modelling pays off with faster reports, simpler calculations and more trustworthy insights.&lt;/p&gt;

</description>
      <category>analytics</category>
      <category>beginners</category>
      <category>data</category>
      <category>microsoft</category>
    </item>
    <item>
      <title>MS Excel for Data Analytics</title>
      <dc:creator>twisted21</dc:creator>
      <pubDate>Tue, 27 Jan 2026 05:53:28 +0000</pubDate>
      <link>https://forem.com/twisted21/ms-excel-for-data-analytics-5ap5</link>
      <guid>https://forem.com/twisted21/ms-excel-for-data-analytics-5ap5</guid>
      <description>&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;MS Excel&lt;/strong&gt; is a powerful tool for organizing, visualizing and analyzing 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.amazonaws.com%2Fuploads%2Farticles%2Fu1gt4tvvs9dkm0h4tp1a.jpg" 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%2Fu1gt4tvvs9dkm0h4tp1a.jpg" alt=" " width="347" height="145"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Entering and organizing data
&lt;/h2&gt;

&lt;p&gt;Start by creating a table with rows and columns.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Each &lt;strong&gt;column&lt;/strong&gt; represents a variable (like “Name,” “Sales,” “Month”)
&lt;/li&gt;
&lt;li&gt;Each &lt;strong&gt;row&lt;/strong&gt; represents a record or observation
&lt;/li&gt;
&lt;li&gt;Use &lt;strong&gt;clear headers&lt;/strong&gt; in the first row
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. Sorting and Filtering
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sorting:&lt;/strong&gt; Arrange data in ascending or descending order

&lt;ul&gt;
&lt;li&gt;Example: Sort sales from highest to lowest
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;strong&gt;Filtering:&lt;/strong&gt; Display only the rows that meet certain conditions

&lt;ul&gt;
&lt;li&gt;Example: Show only sales greater than $500 &lt;/li&gt;
&lt;/ul&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.amazonaws.com%2Fuploads%2Farticles%2Fwqz4z2ki4cr5807l40q5.jpg" 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%2Fwqz4z2ki4cr5807l40q5.jpg" alt=" " width="252" height="200"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Steps:&lt;/strong&gt;  &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Highlight your table - go to the &lt;strong&gt;Data&lt;/strong&gt; tab → click &lt;strong&gt;Sort&lt;/strong&gt; or &lt;strong&gt;Filter&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Select the column and options
## 3. Using Basic Formulas&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Excel can perform calculations automatically. Common formulas:  &lt;/p&gt;

&lt;p&gt;excel&lt;br&gt;
=SUM(A2:A10)       # Adds all numbers in A2 to A10&lt;br&gt;
=AVERAGE(B2:B10)   # Calculates the average&lt;br&gt;
=MAX(C2:C10)       # Finds the highest value&lt;br&gt;
=MIN(C2:C10)       # Finds the lowest value&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Creating Charts for Data Visualization
&lt;/h2&gt;

&lt;p&gt;Charts transform raw data into visual insights.&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%2Fu47k7k3gismu5zy22s3z.jpg" 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%2Fu47k7k3gismu5zy22s3z.jpg" alt=" " width="209" height="241"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Common Chart Types
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Column Chart&lt;/strong&gt; – compares values across categories
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Line Chart&lt;/strong&gt; – shows trends over time
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pie Chart&lt;/strong&gt; – displays proportions of a whole
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Steps to Create a Chart
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Select the data
&lt;/li&gt;
&lt;li&gt;Go to the &lt;strong&gt;Insert&lt;/strong&gt; tab
&lt;/li&gt;
&lt;li&gt;Choose a chart type
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Charts make it easier to identify patterns, trends, and comparisons.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Using Conditional Formatting
&lt;/h2&gt;

&lt;p&gt;Conditional formatting visually highlights important data.&lt;/p&gt;

&lt;h3&gt;
  
  
  Examples
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Highlight low values in red
&lt;/li&gt;
&lt;li&gt;Highlight high values in green
&lt;/li&gt;
&lt;li&gt;Apply color scales to show trends
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Steps
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Select the data
&lt;/li&gt;
&lt;li&gt;Go to &lt;strong&gt;Home&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Conditional Formatting&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Choose a rule
&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  6. Using PivotTables for Summary Analysis
&lt;/h2&gt;

&lt;p&gt;PivotTables are one of Excel’s most powerful data analysis tools. They allow users to summarize large datasets quickly.&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%2F1s1zecfdi2fy24etfy92.jpg" 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%2F1s1zecfdi2fy24etfy92.jpg" alt=" " width="258" height="195"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  What PivotTables Can Do
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Calculate totals and averages
&lt;/li&gt;
&lt;li&gt;Group data by category
&lt;/li&gt;
&lt;li&gt;Compare values across variables
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Steps to Create a PivotTable
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Select the dataset
&lt;/li&gt;
&lt;li&gt;Go to &lt;strong&gt;Insert&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;PivotTable&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Drag fields into:

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Rows&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Columns&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Values&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;PivotTables allow users to gain insights without complex formulas.&lt;/p&gt;




&lt;h2&gt;
  
  
  7. Why Excel Is Useful for Data Analytics
&lt;/h2&gt;

&lt;p&gt;Excel is useful because it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Is easy to learn
&lt;/li&gt;
&lt;li&gt;Handles large datasets
&lt;/li&gt;
&lt;li&gt;Provides visual analysis tools
&lt;/li&gt;
&lt;li&gt;Is widely used across industries
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is often the first tool people use when learning data analytics.&lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Microsoft Excel is a powerful and accessible tool for data analytics. By organizing data, applying formulas, creating charts, using conditional formatting, and building PivotTables, beginners can perform meaningful data analysis. With continued practice, Excel becomes an essential skill for working with data.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Git for beginners: Track changes, push and pull code.</title>
      <dc:creator>twisted21</dc:creator>
      <pubDate>Sun, 18 Jan 2026 09:15:59 +0000</pubDate>
      <link>https://forem.com/twisted21/git-for-beginners-track-changes-push-and-pull-code-4kbe</link>
      <guid>https://forem.com/twisted21/git-for-beginners-track-changes-push-and-pull-code-4kbe</guid>
      <description>&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;If you are new to programming, you have probably heard people mention &lt;strong&gt;Git&lt;/strong&gt;, &lt;strong&gt;GitHub&lt;/strong&gt;, or &lt;strong&gt;version control&lt;/strong&gt; and wondered what it actually means. Do not worry, I was in the same situation when I started. I will explain it in simple terms and show you how to track changes, push your code and pull updates without feeling overwhelmed.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is version control?
&lt;/h2&gt;

&lt;p&gt;Version control is a way to &lt;strong&gt;track changes in your code over time.&lt;/strong&gt; Instead of saving multiple files like &lt;code&gt;project_final&lt;/code&gt;, &lt;code&gt;project_final2&lt;/code&gt; or &lt;code&gt;project_really_final&lt;/code&gt;, Git keeps a history of every change you make.&lt;/p&gt;

&lt;p&gt;With version control, you can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;See &lt;strong&gt;what changed and when&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Go back to &lt;strong&gt;older versions&lt;/strong&gt; of your code&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Work with others&lt;/strong&gt; without overwriting their work&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Git is the most popular version control system used today.&lt;/p&gt;

&lt;h2&gt;
  
  
  Git and GitHub
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Git&lt;/strong&gt; is the tool that runs on your computer and tracks changes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub&lt;/strong&gt; is a website that stores your Git projects online so you can share and collaborate.&lt;/p&gt;

&lt;p&gt;Think of Git as the &lt;code&gt;engine&lt;/code&gt;, and GitHub as the &lt;code&gt;cloud storage&lt;/code&gt; for your code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting Started with Git
&lt;/h2&gt;

&lt;p&gt;First, navigate to your project folder and initialize Git:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git init 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This creates a hidden .git folder that Git uses to track your project.&lt;/p&gt;

&lt;p&gt;To check the status of your project:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git status
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This shows which files are new, changed, or ready to be committed.&lt;/p&gt;

&lt;p&gt;Tracking Changes with Git&lt;/p&gt;

&lt;p&gt;When you edit files, Git notices the changes but does not automatically save them.&lt;/p&gt;

&lt;p&gt;Step 1: Add files to staging&lt;br&gt;
git add . This tells Git which changes you want to save.&lt;/p&gt;

&lt;p&gt;Step 2: Commit the changes&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git commit -m "Describe what you changed"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A commit is like a snapshot of your project at that moment.&lt;/p&gt;

&lt;p&gt;Connecting Your Project to GitHub&lt;/p&gt;

&lt;p&gt;After creating a repository on GitHub, connect it to your local project:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git remote add origin git@github.com:username/repository-name.git 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Check that it worked:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git remote -v
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Pushing Code to GitHub&lt;/p&gt;

&lt;p&gt;Pushing sends your local commits to GitHub:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git push -u origin main
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After the first push, you can simply use:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git push
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Your code is now safely stored online.&lt;/p&gt;

&lt;p&gt;Pulling Code from GitHub&lt;/p&gt;

&lt;p&gt;If changes were made on GitHub (by you or others), you can download them using:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git pull
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This keeps your local project up to date with the remote repository.&lt;/p&gt;

&lt;p&gt;A Simple Daily Git Workflow&lt;/p&gt;

&lt;p&gt;Here is a beginner-friendly routine:&lt;/p&gt;

&lt;p&gt;Make changes to your code&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Check status:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git status
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Add changes:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git add .
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Commit:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git commit -m "Your message"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Push:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git push
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why Git Matters
&lt;/h2&gt;

&lt;p&gt;Git helps you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Avoid losing work&lt;/li&gt;
&lt;li&gt;Understand how your project evolved&lt;/li&gt;
&lt;li&gt;Collaborate with confidence&lt;/li&gt;
&lt;li&gt;Look professional as a developer&lt;/li&gt;
&lt;li&gt;Even if you are working alone, Git is a skill you will use every day.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Git may feel confusing at first, but you do not need to know everything to get started. Focus on the basics: add, commit, push, and pull. Over time, it will feel natural.&lt;/p&gt;

&lt;p&gt;If you are learning Git right now, you are already on the right path. Happy coding.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>git</category>
      <category>github</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
