<?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: Noel Mwami</title>
    <description>The latest articles on DEV Community by Noel Mwami (@noelmwamilab).</description>
    <link>https://dev.to/noelmwamilab</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%2F3818884%2Fa6f70048-68db-4329-83ad-0f69f41d1e65.png</url>
      <title>DEV Community: Noel Mwami</title>
      <link>https://dev.to/noelmwamilab</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/noelmwamilab"/>
    <language>en</language>
    <item>
      <title>SQL Concepts and Practical Application</title>
      <dc:creator>Noel Mwami</dc:creator>
      <pubDate>Sat, 11 Apr 2026 12:24:07 +0000</pubDate>
      <link>https://dev.to/noelmwamilab/sql-concepts-and-practical-application-17dd</link>
      <guid>https://dev.to/noelmwamilab/sql-concepts-and-practical-application-17dd</guid>
      <description>&lt;p&gt;&lt;strong&gt;SQL is a language used to store, retrieve, and analyze data in databases.&lt;/strong&gt;&lt;br&gt;
SQL commands are grouped into categories based on their purpose.&lt;br&gt;
The main two categories are;&lt;br&gt;
&lt;strong&gt;DDL (&lt;em&gt;Data Definition Language&lt;/em&gt;) vs DML (&lt;em&gt;Data Manipulation Language&lt;/em&gt;) explained briefly below&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;DDL (Data Definition Language):&lt;/strong&gt; Used to define and structure database objects such as tables.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DML (Data Manipulation Language):&lt;/strong&gt; Used to manage and manipulate data inside those tables.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Difference between DDL &amp;amp; DML&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Aspect&lt;/th&gt;
&lt;th&gt;DDL (Data Definition Language)&lt;/th&gt;
&lt;th&gt;DML (Data Manipulation Language)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Purpose&lt;/td&gt;
&lt;td&gt;Defines database structure&lt;/td&gt;
&lt;td&gt;Manipulates data in tables&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Commands&lt;/td&gt;
&lt;td&gt;CREATE, ALTER, DROP&lt;/td&gt;
&lt;td&gt;INSERT, UPDATE, DELETE&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Effect&lt;/td&gt;
&lt;td&gt;Changes schema&lt;/td&gt;
&lt;td&gt;Changes records/data&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Example&lt;/td&gt;
&lt;td&gt;CREATE TABLE students&lt;/td&gt;
&lt;td&gt;INSERT INTO students VALUES (...)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  2. Use of CREATE, INSERT, UPDATE, DELETE
&lt;/h2&gt;

&lt;p&gt;In my assignment this week i was able to do the to use the below:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;CREATE&lt;/strong&gt; was used to define tables such as students, exam results, and subjects.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;INSERT&lt;/strong&gt; was used to add records into the tables.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;UPDATE&lt;/strong&gt; was used to correct or modify existing data, such as updating a student’s city or correcting marks in the exam results table.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DELETE&lt;/strong&gt; was used to remove incorrect or cancelled records. For example, &lt;code&gt;result_id 9&lt;/code&gt; was deleted from the exam results table.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  3. Filtering Data Using WHERE
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;WHERE&lt;/code&gt; clause was used to filter records based on specific conditions. It supports several operators including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;=&lt;/code&gt; (equal to)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;&lt;/code&gt; (greater than / less than)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;BETWEEN&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;IN&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;LIKE&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;LIKE (pattern matching):&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;'A%'&lt;/code&gt; → starts with A
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;'E%'&lt;/code&gt; → starts with E
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;'%Studies%'&lt;/code&gt; → contains "Studies"&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;&lt;p&gt;&lt;strong&gt;IN (multiple values):&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
WHERE city IN ('Nairobi', 'Mombasa', 'Kisumu')&lt;br&gt;&lt;br&gt;
WHERE marks BETWEEN 50 AND 80&lt;/p&gt;&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. CASE WHEN for Data Transformation
&lt;/h2&gt;

&lt;p&gt;CASE WHEN was used to create conditional logic in SQL queries.&lt;/p&gt;

&lt;p&gt;It helped transform raw data into meaningful categories. For example, exam marks were classified into:&lt;br&gt;
Distinction,Merit,Pass,Fail based on score ranges.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Reflection
&lt;/h2&gt;

&lt;p&gt;This being my first week in using SQL .I learned how SQL is used to manage and analyze data efficiently.&lt;/p&gt;

&lt;p&gt;The most interesting part was creating tables from scratch and adding data into them. Seeing the results using SELECT * was fascinating.&lt;/p&gt;

&lt;p&gt;The most challenging part was ensuring correct syntax when writing multiple-row INSERT statements and using filtering conditions correctly. It was surprising how a small mistake like a missing comma could cause errors.&lt;/p&gt;

&lt;p&gt;Overall, this has improved my understanding of how databases are structured and how data is manipulated in real-world scenarios. Its only the beginning and i already love it.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>database</category>
      <category>sql</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>A Guide on Publishing Power BI Report and Embedding It on a Website Using iFrames</title>
      <dc:creator>Noel Mwami</dc:creator>
      <pubDate>Fri, 10 Apr 2026 15:51:52 +0000</pubDate>
      <link>https://dev.to/noelmwamilab/a-guide-on-publishing-power-bi-report-and-embedding-it-on-a-website-using-iframes-4a68</link>
      <guid>https://dev.to/noelmwamilab/a-guide-on-publishing-power-bi-report-and-embedding-it-on-a-website-using-iframes-4a68</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Introduction
Power BI is a business analytics tool that allows users to visualize data and share views across organizations. It has features that allows publishing of reports online and embedding them into websites using iframes.&lt;/li&gt;
&lt;li&gt;Requirements 
Before you begin or publish the power BI report , ensure you have:&lt;/li&gt;
&lt;li&gt;A Power BI account&lt;/li&gt;
&lt;li&gt;A completed Power BI report&lt;/li&gt;
&lt;li&gt;Access to Power BI Service (app.powerbi.com)&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Basic understanding of HTML&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Step 1: Create Your Report in Power BI Desktop&lt;br&gt;
Design your report with visuals, charts, and filters.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&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%2Fukhg8n3h6dj168bb44w8.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%2Fukhg8n3h6dj168bb44w8.png" alt="Report in power BI" width="800" height="502"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Step 2: Publish to Power BI Service
Log into Power BI service 
Under workspace , create new work space with your name&lt;/li&gt;
&lt;/ol&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%2Fvonf6xtdn25iylukaugn.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%2Fvonf6xtdn25iylukaugn.png" alt="Creating workspace in power service" width="569" height="587"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Open the power BI report to publish &lt;br&gt;
Go to file. Click "Publish" in Power BI Desktop choose the work space to publish report to&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%2Fz8wwjro02uyy1fth3t48.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%2Fz8wwjro02uyy1fth3t48.png" alt="Publish in power BI" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Step 3: Open Report in Power BI Service&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Step 4: Generate Embed Code&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Open report&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click File &amp;gt; Embed Report &amp;gt; Publish to Web&lt;/p&gt;&lt;/li&gt;
&lt;/ol&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%2F0snh1fakscf56ltcx7ww.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%2F0snh1fakscf56ltcx7ww.png" alt="Embedding Report" width="800" height="319"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;7 step 5:- Confirm and copy iframe code&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%2Fec4btf3tgn8gjwuzd7ex.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%2Fec4btf3tgn8gjwuzd7ex.png" alt="Copying the iframe" width="800" height="410"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Step 6: Embed in Website
Paste iframe into your HTML file.&lt;/li&gt;
&lt;/ol&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%2Firpi46ctb2an68n8raeb.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%2Firpi46ctb2an68n8raeb.png" alt="Pasting iframe link in html code" width="800" height="269"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Save the file with .html extension&lt;br&gt;
Click the file copy the path and paste in your browser if it works.&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%2Fshcgacry56f1y77wlguo.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%2Fshcgacry56f1y77wlguo.png" alt="saved file in html" width="800" height="531"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For  example my link to the above file is a below click on it and see how a practiced power BI recently file:///C:/Users/nmwami/Desktop/PUBLISHING/Electronic%20sales%20Assignment.html&lt;br&gt;
Conclusion&lt;br&gt;
Embedding Power BI reports enhances interactivity and data sharing on websites.&lt;/p&gt;

</description>
      <category>analytics</category>
      <category>microsoft</category>
      <category>tutorial</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How Excel is Used in Real-World Data Analysis</title>
      <dc:creator>Noel Mwami</dc:creator>
      <pubDate>Fri, 27 Mar 2026 16:32:36 +0000</pubDate>
      <link>https://dev.to/noelmwamilab/how-excel-is-used-in-real-world-data-analysis-2lkg</link>
      <guid>https://dev.to/noelmwamilab/how-excel-is-used-in-real-world-data-analysis-2lkg</guid>
      <description>&lt;p&gt;Description: Explore the enduring relevance of Microsoft Excel in professional data analysis, from auditing to business decision-making.&lt;br&gt;
tags: data analysis, excel, tutorial, productivity&lt;/p&gt;

&lt;p&gt;In today’s data-driven world, organizations rely heavily on tools that can help them organize, analyze, and interpret data efficiently. One of the most widely used tools for this purpose is Microsoft Excel. Despite the rise of advanced data analytics platforms, Excel remains a powerful and accessible solution for professionals across finance, auditing, operations, and many other fields.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Excel?
&lt;/h2&gt;

&lt;p&gt;Excel is a spreadsheet application developed by Microsoft that allows users to store, organize, and analyze data using rows and columns. It provides a wide range of features such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Formulas and Functions:&lt;/strong&gt; For automated calculations.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Charts and Graphs:&lt;/strong&gt; For data visualization.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Pivot Tables:&lt;/strong&gt; For summarizing large datasets.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These tools make it suitable for both simple calculations and complex data analysis.&lt;/p&gt;

&lt;h2&gt;
  
  
  Real-World Applications of Excel in Data Analysis
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Internal Audit and Risk Analysis
&lt;/h3&gt;

&lt;p&gt;In audit environments, Excel is essential for testing controls and identifying anomalies in data. Auditors use Excel to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Detect duplicate transactions.&lt;/li&gt;
&lt;li&gt;  Identify gaps in voucher sequences.&lt;/li&gt;
&lt;li&gt;  Analyze unusual posting dates.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For instance, using sorting and filtering, an auditor can quickly highlight missing sequence numbers in payment vouchers, which may indicate control weaknesses.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Data Cleaning and Preparation
&lt;/h3&gt;

&lt;p&gt;Raw data is often "messy" and needs cleaning before analysis. Excel helps users:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Remove duplicates.&lt;/li&gt;
&lt;li&gt;  Split or combine text fields.&lt;/li&gt;
&lt;li&gt;  Standardize formats.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Functions like &lt;code&gt;TRIM&lt;/code&gt;, &lt;code&gt;LEFT&lt;/code&gt;, &lt;code&gt;RIGHT&lt;/code&gt;, and &lt;code&gt;MID&lt;/code&gt; are commonly used to clean and manipulate text data.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Business Decision-Making
&lt;/h3&gt;

&lt;p&gt;Managers and analysts use Excel dashboards and charts to visualize trends and support decision-making. For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Sales trends over time.&lt;/li&gt;
&lt;li&gt;  Customer purchasing patterns.&lt;/li&gt;
&lt;li&gt;  Inventory levels.&lt;/li&gt;
&lt;li&gt;  Customer satisfaction by analyzing product rejection rates.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Key Excel Features and Formulas
&lt;/h2&gt;

&lt;h3&gt;
  
  
  VLOOKUP / XLOOKUP
&lt;/h3&gt;

&lt;p&gt;These functions are used to retrieve data from a table based on a matching value. For example, matching customer IDs with names from a separate dataset.&lt;/p&gt;

&lt;h3&gt;
  
  
  IF Function
&lt;/h3&gt;

&lt;p&gt;The &lt;code&gt;IF&lt;/code&gt; function applies logical conditions to data.&lt;br&gt;
&lt;strong&gt;Example:&lt;/strong&gt; Classifying transactions as “High Risk” or “Low Risk” based on value:&lt;br&gt;
&lt;code&gt;=IF(A2&amp;gt;100000,"High Risk","Low Risk")&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Pivot Tables
&lt;/h3&gt;

&lt;p&gt;Pivot tables summarize large datasets quickly. An auditor can summarize total expenses by department or month without writing complex formulas.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Excel Remains Relevant
&lt;/h2&gt;

&lt;p&gt;Even with advanced tools like Python and Power BI, Excel remains a staple because:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Accessibility:&lt;/strong&gt; It is easy to learn and widely available.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;No Programming Needed:&lt;/strong&gt; It requires no coding knowledge to get started.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Integration:&lt;/strong&gt; It integrates well with almost every enterprise system.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Flexibility:&lt;/strong&gt; It is effective for both small and large datasets.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;Excel continues to be a vital tool in real-world data analysis across various industries. From financial reporting to audit testing and decision-making, its features enable users to transform raw data into meaningful insights. &lt;/p&gt;

&lt;p&gt;Mastering Excel is an essential foundation that opens the door to more advanced analytical tools. Give it a try—you won't regret it! Start Learning Excel Today&lt;/p&gt;

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