<?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: Ngetich</title>
    <description>The latest articles on Forem by Ngetich (@keim).</description>
    <link>https://forem.com/keim</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%2F3851171%2Fd3f3acc5-32b6-48af-a388-c2997e0a8d22.png</url>
      <title>Forem: Ngetich</title>
      <link>https://forem.com/keim</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/keim"/>
    <language>en</language>
    <item>
      <title>A Beginner’s Guide to DDL and DML in SQL</title>
      <dc:creator>Ngetich</dc:creator>
      <pubDate>Sun, 12 Apr 2026 17:08:24 +0000</pubDate>
      <link>https://forem.com/keim/a-beginners-guide-to-ddl-and-dml-in-sql-5a43</link>
      <guid>https://forem.com/keim/a-beginners-guide-to-ddl-and-dml-in-sql-5a43</guid>
      <description>&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;Structured Query Language or SQL as is commonly referred to is the language used in interacting with relational databases. It allows users to create databases, store data, retrieve data, and modify existing records in a database. SQL commands can be put into categories based on their functionality or how they affect the database. These categories are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;DDL - Data Definition Language&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;DML - Data Manipulation Language&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;DQL - Data Query Language&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;TCL - Transaction Control Language&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;DCL - Data Control Language&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In this article, we look at DDL and DML&lt;/p&gt;

&lt;h1&gt;
  
  
  DDL, DML and their differences
&lt;/h1&gt;

&lt;p&gt;Data Definition Language (DDL) consists of SQL commands used to define and manage the structure of a database. These commands are responsible for creating, modifying, and deleting database tables and schemas. Common DDL commands include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;CREATE&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;ALTER&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;DROP&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;TRUNCATE&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On the other hand, Data Manipulation Language (DML) is used to manage and manipulate the data stored within the database tables. Common DML commands include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;INSERT&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;UPDATE&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;DELETE&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The main difference between DDL and DML is that DDL deals with the structure of the database, while DML deals with the data inside the database.&lt;/p&gt;

&lt;h1&gt;
  
  
  DDL and DML commands use cases in SQL
&lt;/h1&gt;

&lt;h2&gt;
  
  
  How to Use CREATE
&lt;/h2&gt;

&lt;p&gt;The CREATE TABLE statement is used to create a new table in a database. The syntax of the command is&lt;/p&gt;

&lt;p&gt;&lt;code&gt;create table table_name(&lt;br&gt;
    column1 datatype constraint,&lt;br&gt;
    columnN datatype constraint&lt;br&gt;
);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;create table if not exists students(&lt;br&gt;
    student_id int primary key,&lt;br&gt;
    first_name varchar(50) not null,&lt;br&gt;
    last_name varchar(50) not null,&lt;br&gt;
    gender char(1),&lt;br&gt;
    date_of_birth date,&lt;br&gt;
    class varchar(10),&lt;br&gt;
    city varchar(50)&lt;br&gt;
);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This command creates a table named Students with 7 columns - student_id, first_name, last_name, gender, date_of_birth, class and city. Student_id is marked as the primary key, meaning each student must have a unique ID.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Use ALTER
&lt;/h2&gt;

&lt;p&gt;The ALTER TABLE statement is used to add, delete, or modify columns in an existing table. It is also used to add or drop various constraints on an existing table.&lt;br&gt;
Common ALTER TABLE operations are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Add column - Adds a new column to a table&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Drop column - Deletes a column in a table&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Rename column - Renames a column&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Modify column - Changes the data type, size, or constraints of a column&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add constraint - Adds a new constraint&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Rename table - Renames a table&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For instance, the syntax for adding a column is&lt;/p&gt;

&lt;p&gt;&lt;code&gt;alter table students&lt;br&gt;
    add phone_number varchar(20);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;or renaming a column&lt;/p&gt;

&lt;p&gt;&lt;code&gt;alter table subjects&lt;br&gt;
    rename column credits to credit_hours;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;or deleting a column&lt;/p&gt;

&lt;p&gt;&lt;code&gt;alter table students&lt;br&gt;
    drop column phone_number;&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Use INSERT
&lt;/h2&gt;

&lt;p&gt;To add data into the table, the INSERT command is used.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;insert into students(student_id,first_name,last_name,gender,date_of_birth,class,city)&lt;br&gt;
    values&lt;br&gt;
        (1,'Amina','Wanjiku','F','2008-03-12','Form 3','Nairobi'),&lt;br&gt;
        (2,'Brian','Ochieng','M','2007-07-25','Form 4','Mombasa'),&lt;br&gt;
        (3,'Cynthia','Mutua','F','2008-11-05','Form 3','Kisumu'),&lt;br&gt;
        (4,'David','Kamau','M','2007-02-18','Form 4','Nairobi'),&lt;br&gt;
        (5,'Esther','Akinyi','F','2009-06-30','Form 2','Nakuru'),&lt;br&gt;
        (6,'Felix','Otieno','M','2009-09-14','Form 2','Eldoret'),&lt;br&gt;
        (7,'Grace','Mwangi','F','2008-01-22','Form 3','Nairobi'),&lt;br&gt;
        (8,'Hassan','Abdi','M','2007-04-09','Form 4','Mombasa'),&lt;br&gt;
        (9,'Ivy','Chebet','F','2009-12-01','Form 2','Nakuru'),&lt;br&gt;
        (10,'James','Kariuki','M','2008-08-17','Form 3','Nairobi');&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Use UPDATE
&lt;/h2&gt;

&lt;p&gt;The UPDATE command is used when you want to modify existing data in a table.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;update students&lt;br&gt;
    set city = 'Nairobi'&lt;br&gt;
    where student_id = 5;&lt;/code&gt;&lt;br&gt;
This changes city of student ID 5 to Nairobi&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Use DELETE
&lt;/h2&gt;

&lt;p&gt;If a record is no longer needed, the DELETE command can be used to remove it from the table.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;delete from exam_results&lt;br&gt;
    where result_id = 9;&lt;/code&gt;&lt;br&gt;
This removes/deletes results id 9 from exam_results table&lt;/p&gt;

&lt;h2&gt;
  
  
  Filtering with WHERE
&lt;/h2&gt;

&lt;p&gt;When working with databases, it is usually necessary to retrieve or modify only specific records. The &lt;strong&gt;WHERE&lt;/strong&gt; clause allows users to filter data based on specified conditions.&lt;br&gt;
For example, to find all subjects in the Sciences department&lt;/p&gt;

&lt;p&gt;&lt;code&gt;select * from subjects&lt;br&gt;
    where department = 'Sciences';&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Several operators can be used with the &lt;strong&gt;WHERE&lt;/strong&gt; clause. Some of these operators include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;= Checks if values are equal&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;select * from students&lt;br&gt;
    where gender = 'F';&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;select * from exam_results&lt;br&gt;
    where marks = 70;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&amp;lt; or &amp;gt; Compares numerical values (less than/greater than)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;select * from exam_results&lt;br&gt;
    where marks &amp;gt; 70;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;BETWEEN&lt;/strong&gt; Filters values within a range inclusive of the range values&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;select * from exam_results&lt;br&gt;
    where marks between 50 and  80;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;IN&lt;/strong&gt; Checks if a value matches any value in the specified column&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;select * from students&lt;br&gt;
    where city in ('Nairobi','Mombasa','Kisumu');&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;LIKE&lt;/strong&gt; Searches for patterns in text&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;select * from subjects&lt;br&gt;
    where subject_name like '%studies%';&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The % symbol is a wildcard that can represent any number of characters,i.e,&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;'A%' means starts with A&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;'%n' means ends with n&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;'%ar%' means contains “ar”&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to Use CASE WHEN
&lt;/h2&gt;

&lt;p&gt;The CASE expression is used to define different results based on specified conditions in an SQL statement. It allows users to create conditional logic within queries.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;select *,&lt;br&gt;
    case&lt;br&gt;
        when marks &amp;gt;= 80 then 'Distinction'&lt;br&gt;
        when marks &amp;gt;= 60 then 'Merit'&lt;br&gt;
        when marks &amp;gt;= 40 then 'Pass'&lt;br&gt;
        else 'Fail'&lt;br&gt;
    end as performance&lt;br&gt;
    from exam_results;&lt;/code&gt;&lt;br&gt;
This returns the exam_results table with a performance column categorized based on marks&lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;p&gt;One interesting thing about SQL is that a few simple commands can completely control a database. It is critical to never forget the WHERE clause when using UPDATE or DELETE as this can change or remove every record in a table. Overall, learning DDL and DML provides a strong foundation for working with databases and helps in managing both the structure and the data effectively&lt;/p&gt;

</description>
      <category>sql</category>
      <category>database</category>
      <category>datascience</category>
      <category>dataengineering</category>
    </item>
    <item>
      <title>How to Publish a Power BI Report and Embed it in a Website</title>
      <dc:creator>Ngetich</dc:creator>
      <pubDate>Sun, 05 Apr 2026 12:56:18 +0000</pubDate>
      <link>https://forem.com/keim/how-to-publish-a-power-bi-report-and-embed-it-in-a-website-2f3n</link>
      <guid>https://forem.com/keim/how-to-publish-a-power-bi-report-and-embed-it-in-a-website-2f3n</guid>
      <description>&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;Power BI is a powerful tool introduced by Microsoft and widely used for its advanced data analysis capability. It allows users to transform raw data into interactive dashboards and reports that can then be used to derive insights and even aid in decision making.&lt;br&gt;
Among its many functionalities, one could say one of the most important functionality is the ability to publish such reports and dashboards and even embed them to websites for easy sharing and collaboration.&lt;br&gt;
In this article we look at the full process of publishing a power BI report from creating workspaces through to embedding the report in a website.&lt;/p&gt;

&lt;h1&gt;
  
  
  Step 1: Creating a workspace
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Go to Power BI Service (&lt;a href="https://app.powerbi.com/" rel="noopener noreferrer"&gt;https://app.powerbi.com/&lt;/a&gt;)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Follow the sign in steps and use your credentials to sign in to your account&lt;br&gt;
This takes you to the Power Bi Service Home Page.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;On the left panel click Workspaces&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.amazonaws.com%2Fuploads%2Farticles%2Fbbec6j9605fa79p5rbpp.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%2Fbbec6j9605fa79p5rbpp.png" alt=" " width="578" height="902"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click +New Workspace&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%2Frn35n2q9lqvwpd2zho0w.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%2Frn35n2q9lqvwpd2zho0w.png" alt=" " width="588" height="1021"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;In the pop up that appears enter:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Name (Workspace name)&lt;/li&gt;
&lt;li&gt;Description (Workspace description - optional)&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%2Fol77p2nlwpdnirydls5f.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%2Fol77p2nlwpdnirydls5f.png" alt=" " width="769" height="908"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click apply&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%2Fcaxvg9rpehgfvgr3k4rc.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%2Fcaxvg9rpehgfvgr3k4rc.png" alt=" " width="780" height="900"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Your workspace is now created and ready to  be used&lt;/p&gt;

&lt;h1&gt;
  
  
  Step 2: Uploading and Publishing Your Report
&lt;/h1&gt;

&lt;p&gt;Your report can be published from Power BI Desktop or you can upload it directly&lt;/p&gt;

&lt;h2&gt;
  
  
  Option 1:Publish from Power BI Desktop
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Open your report in Power BI Desktop&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If you are not already signed in, sign in by clicking on &lt;strong&gt;sign in&lt;/strong&gt; in the top right corner and complete the sign in steps&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.amazonaws.com%2Fuploads%2Farticles%2Fezdf7i01r3rux31nyt0l.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%2Fezdf7i01r3rux31nyt0l.png" alt=" " width="746" height="360"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the top right of the ribbon, click on &lt;strong&gt;Publish&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%2F0h0jnb8uoytanxq3o8qn.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%2F0h0jnb8uoytanxq3o8qn.png" alt=" " width="665" height="318"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the pop up, search your workspace name using the search bar&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%2Fmjqaygxbbh0riwo4sgq3.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%2Fmjqaygxbbh0riwo4sgq3.png" alt=" " width="800" height="608"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;Select&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Option 2: Direct upload on Power BI Service
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;On Power BI Service Home page, click on &lt;strong&gt;Workspaces&lt;/strong&gt; on the left panel&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%2Fw67ruexi3lxuzpbbmghv.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%2Fw67ruexi3lxuzpbbmghv.png" alt=" " width="578" height="902"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select your workspace or search for it in the search bar&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%2F8hfw3b9e89h014zb5g3n.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%2F8hfw3b9e89h014zb5g3n.png" alt=" " width="525" height="956"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on &lt;strong&gt;Import - Report, Paginated report or Workbook - from this computer&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%2Fjyfbycjurji8g7n6c71n.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%2Fjyfbycjurji8g7n6c71n.png" alt=" " width="800" height="189"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Browse and Select your file&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Your report will now appear in the workspace.&lt;/p&gt;

&lt;h1&gt;
  
  
  Step 3: Generating the Embed Code
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Navigate to your workspace page in Power BI Service and open your Power BI Report by clicking on the name&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click on File - Embed report - Publish to web(public)&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.amazonaws.com%2Fuploads%2Farticles%2F3w8ndbfm8kd0vu8yop48.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%2F3w8ndbfm8kd0vu8yop48.png" alt=" " width="800" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Click &lt;strong&gt;Create embed code&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Copy the generated HTML iframe code&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Step 4: Embedding the report on a website
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Open your website's HTML file&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Paste the copied iframe in the section where you want your report displayed&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.amazonaws.com%2Fuploads%2Farticles%2Fahop7s9m9n5mw0zgkzdz.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%2Fahop7s9m9n5mw0zgkzdz.png" alt=" " width="800" height="460"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Save your file and refresh your webpage&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Your report is now accessible on your website!&lt;/p&gt;

&lt;h1&gt;
  
  
  Key Insights
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Power BI enables easy sharing of insights on the web through embedding&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Workspaces allow users to manage reports in power BI cloud&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Embedding uses simple HTML iframes making integration easy&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Embedding allows you to turn your reports and dashboards into interactive web experiences. This capability makes your insights more accessible&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>analytics</category>
      <category>powerbi</category>
      <category>dataengineering</category>
    </item>
  </channel>
</rss>
