<?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: Bill Muli</title>
    <description>The latest articles on Forem by Bill Muli (@billymuli).</description>
    <link>https://forem.com/billymuli</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%2F3849589%2F8d5a11db-40aa-45f8-a399-f62aec62eace.jpg</url>
      <title>Forem: Bill Muli</title>
      <link>https://forem.com/billymuli</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/billymuli"/>
    <language>en</language>
    <item>
      <title>How to Publish a Power BI Report and Embed It into a Website</title>
      <dc:creator>Bill Muli</dc:creator>
      <pubDate>Mon, 13 Apr 2026 08:52:27 +0000</pubDate>
      <link>https://forem.com/billymuli/how-to-publish-a-power-bi-report-and-embed-it-into-a-website-3ng3</link>
      <guid>https://forem.com/billymuli/how-to-publish-a-power-bi-report-and-embed-it-into-a-website-3ng3</guid>
      <description>&lt;p&gt;&lt;strong&gt;What Is Power BI ?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6b8i7gsb5nglu2kb4aoc.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%2F6b8i7gsb5nglu2kb4aoc.jpg" alt=" " width="32" height="32"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;.Power BI is Microsoft’s tool for turning data into visual stories.&lt;/p&gt;

&lt;p&gt;.No one benefits from a report that is sitting on your laptop. Publishing makes it available online so that anyone, including your lecturer and team, may view it in a browser without the requirement for Power BI Desktop. Additionally, embedding takes it a step further by dropping your interactive, live report directly into a website, much like a movie player for data&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Create a Workspace&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Think of a workspace as a shared folder in the cloud. It’s where your published report lives so others can find it.&lt;/p&gt;

&lt;p&gt;Here’s how to set one up:&lt;/p&gt;

&lt;p&gt;1.Go to app.powerbi.com and sign in with your Microsoft account.&lt;br&gt;
 2.0n the left sidebar, click the Workspaces icon (it looks like a briefcase).&lt;br&gt;
 3.Scroll to the bottom of the panel and click + Create a workspace.&lt;br&gt;
 4.Give it a clear name — something like Electronics Sales Dashboard works perfectly.&lt;br&gt;
 5.Optionally add a short description, then click Save.&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%2Fxt1ll53gheqmcxqbamud.webp" 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%2Fxt1ll53gheqmcxqbamud.webp" alt=" " width="720" height="358"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Publish Your Report&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.Open your .pbix file in Power BI Desktop.&lt;br&gt;
 2.Make sure you’re signed in — look for your name in the top-right corner. If it says Sign In, click it and enter your Microsoft credentials.&lt;br&gt;
 3.Go to the Home tab in the ribbon and click the yellow Publish button (far right).&lt;br&gt;
 4.A dialog box appears asking where to publish. Select the workspace you just created.&lt;br&gt;
 5.Click Select and wait. It usually takes under a minute. When you see ‘Publishing to Power BI succeeded!’ — you’re done!&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%2Fnqt9afvt6gpv04ikjjw4.webp" 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%2Fnqt9afvt6gpv04ikjjw4.webp" alt=" " width="720" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Generate the Embed Code&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The embed code is a small snippet of HTML that tells a web page to load your Power BI report inside it. Here’s how to get it:&lt;/p&gt;

&lt;p&gt;1.Open your published report in app.powerbi.com.&lt;br&gt;
 2.Click File (top-left) or the Share button, then hover over Embed report.&lt;br&gt;
 3.From the submenu, select Publish to web (public).&lt;br&gt;
 4.Read the warning — this makes your report viewable by anyone with the         link, which is fine for an academic assignment. Click Create embed code.&lt;br&gt;
 5.A box appears with two things: a share link (for email) and an iFrame code (for websites). Copy the iFrame code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Embed the Report on a Website&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.Open your HTML file in a code editor like VS Code.&lt;br&gt;
 2.Find the spot in the where you want the report to appear.&lt;br&gt;
 3.Paste your iFrame code there. Wrap it in a&lt;br&gt;
if you want to add a heading above it.&lt;br&gt;
 4.Save the file and open it in your browser. Your live report should load right there on the page.&lt;/p&gt;

&lt;p&gt;On WordPress&lt;/p&gt;

&lt;p&gt;1.Open the page editor in WordPress.&lt;br&gt;
 2.Add a Custom HTML block.&lt;br&gt;
 3.Paste your iFrame code into the block.&lt;br&gt;
 4.Click Update or Publish — done.&lt;/p&gt;

&lt;p&gt;Uploading Your .pbix File to GitHub&lt;/p&gt;

&lt;p&gt;1.Go to github.com and log in (or create a free account if you don’t have one).&lt;br&gt;
 2.Click the + icon (top right) → New repository. Name it something like electronics-sales-powerbi. Set it to Public and click Create repository.&lt;br&gt;
 3.Inside the repo, click Add file → Upload files. Drag your .pbix file in and click Commit changes.&lt;br&gt;
 4.Create a README.md file. Add a one-line description and paste your Power BI embed link so your instructor can view the live report directly from GitHub.&lt;br&gt;
 5.Copy the repo URL from your browser (e.g. github.com/yourname/electronics-sales-powerbi) and submit it.&lt;/p&gt;

</description>
      <category>analytics</category>
      <category>beginners</category>
      <category>microsoft</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Understanding Data modeling in power BI: Joins, relationships and Schemas explained</title>
      <dc:creator>Bill Muli</dc:creator>
      <pubDate>Sun, 29 Mar 2026 21:44:10 +0000</pubDate>
      <link>https://forem.com/billymuli/understanding-data-modeling-in-power-bi-joins-relationships-and-schemas-explained-277d</link>
      <guid>https://forem.com/billymuli/understanding-data-modeling-in-power-bi-joins-relationships-and-schemas-explained-277d</guid>
      <description>&lt;ul&gt;
&lt;li&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Data modeling is the backbone of every effective Power BI report. If dashboards feel slow, filters behave incorrectly, or numbers don’t match expectations, the issue is often the data model not the visuals.&lt;/p&gt;

&lt;p&gt;This guide explains how data modeling works in Power BI step‑by‑step. You’ll learn SQL joins, relationships, schemas, fact vs dimension tables, role‑playing dimensions, and how everything is created inside Power BI itself.&lt;/p&gt;

&lt;p&gt;This article is beginner‑friendly but structured like a professional BI reference.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SQL Joins&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Although Power BI relies on relationships, understanding SQL joins helps you prepare and transform data effectively.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;INNER JOINS&lt;/strong&gt;&lt;br&gt;
Returns only matching records from both tables.&lt;/p&gt;

&lt;p&gt;.** LEFT JOIN **&lt;/p&gt;

&lt;p&gt;Returns all records from the left table and matching ones from the right.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;RIGHT JOIN (RIGHT OUTER JOIN)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Returns all records from the right table and matching ones from the left.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;FULL OUTER JOIN&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Returns all records from both tables, matching where possible.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;LEFT ANTI JOIN&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Returns records from the left table that have no match in the right.&lt;br&gt;
**&lt;br&gt;
RIGHT ANTI JOIN**&lt;/p&gt;

&lt;p&gt;Returns records from the right table that have no match in the left.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How Power BI Handles Joins&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Power BI does not explicitly use SQL join syntax in reports. Instead:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Power Query&lt;/strong&gt; → Performs joins (Merge Queries)&lt;br&gt;
&lt;strong&gt;Data Model&lt;/strong&gt; → Uses relationships instead of joins&lt;br&gt;
Key Difference:&lt;br&gt;
&lt;strong&gt;SQL Join **→ Combines tables physically&lt;br&gt;
**Power BI Relationship&lt;/strong&gt; → Connects tables logically&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data Modeling Schemas&lt;/strong&gt;&lt;br&gt;
1*&lt;em&gt;. Star Schema&lt;/em&gt;* &lt;/p&gt;

&lt;p&gt;Central fact table connected to multiple dimension tables.&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
         Customers&lt;br&gt;
             |&lt;br&gt;
Products ─ Orders ─ Dates&lt;br&gt;
             |&lt;br&gt;
         Sales&lt;br&gt;
&lt;strong&gt;Benefits:&lt;/strong&gt;&lt;br&gt;
Fast performance&lt;br&gt;
Easy to understand&lt;br&gt;
Best for Power BI&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Snowflake Schema&lt;/strong&gt;
Dimension tables are further normalized into multiple related tables.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Drawbacks:&lt;br&gt;
More complex&lt;br&gt;
Slightly slower queries&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Best Practices for Power BI Data Modeling&lt;/strong&gt;&lt;br&gt;
Use Star Schema whenever possible&lt;br&gt;
Avoid many-to-many relationships unless necessary&lt;br&gt;
Use clean keys (IDs) for relationships&lt;br&gt;
Remove duplicate and unnecessary columns&lt;br&gt;
Use Power Query for joins, not DAX&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Understanding data modeling is essential for building reliable Power BI dashboards. While SQL joins help shape your data during preparation, Power BI relationships allow for dynamic and efficient analysis.&lt;/p&gt;

</description>
      <category>analytics</category>
      <category>beginners</category>
      <category>dataengineering</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
