<?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: Hadijja Musekwa</title>
    <description>The latest articles on DEV Community by Hadijja Musekwa (@hadijja_musekwa_3ba940a91).</description>
    <link>https://dev.to/hadijja_musekwa_3ba940a91</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%2F3818871%2F3410c8f7-b44b-4fa4-a7de-dd15c9abdbc8.png</url>
      <title>DEV Community: Hadijja Musekwa</title>
      <link>https://dev.to/hadijja_musekwa_3ba940a91</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hadijja_musekwa_3ba940a91"/>
    <language>en</language>
    <item>
      <title>Publishing and Embedding Power BI Reports on the Web with IFrames</title>
      <dc:creator>Hadijja Musekwa</dc:creator>
      <pubDate>Sun, 05 Apr 2026 16:13:34 +0000</pubDate>
      <link>https://dev.to/hadijja_musekwa_3ba940a91/publishing-and-embedding-power-bi-reports-on-the-web-with-iframes-eml</link>
      <guid>https://dev.to/hadijja_musekwa_3ba940a91/publishing-and-embedding-power-bi-reports-on-the-web-with-iframes-eml</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
Power BI is one of the most used tools for data visualization, reporting and analytics. It enables users to connect to different data sources, transform data and create interactive dashboards and reports.&lt;br&gt;
However, many experience hardship in publishing created reports to the web and embedding it using iframe.&lt;br&gt;
This article provides a detailed step by step guide on how to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;create a workspace in Power BI&lt;/li&gt;
&lt;li&gt;Upload and publish your report&lt;/li&gt;
&lt;li&gt;Generate an embed code&lt;/li&gt;
&lt;li&gt;Embed the report into a website using iframe&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Understanding Power BI Publishing&lt;/strong&gt;&lt;br&gt;
This is the process of uploading the repot from Power BI Desktop to Power BI service. the report can be shared and embedded into websites once published.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Creating a Workspace in Power BI Service&lt;/strong&gt;&lt;br&gt;
A workspace is collaborative containers used to create, manage and share collective reports and dashboards.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;steps to create a Workspace&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the Power BI service (browser),&lt;/li&gt;
&lt;li&gt;Sign into your account in the power BI service (browser)&lt;/li&gt;
&lt;li&gt;Select Workspaces in the left pane, then New Workspace&lt;/li&gt;
&lt;li&gt;select create &amp;gt; Workspaces &amp;gt; 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%2Fx3opx6n6de2xbzgb0vrl.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%2Fx3opx6n6de2xbzgb0vrl.png" alt=" " width="734" height="935"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enter Workspace name and description &amp;gt; save.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Preparing and Publishing the Report&lt;/strong&gt;&lt;br&gt;
Ensure the report is complete in Power BI Desktop before publishing.&lt;br&gt;
&lt;strong&gt;Steps to Publish a Report&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In Power BI Desktop, select Publish on the Home ribbon&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%2Fze6j1tpm9pdqvwomu82e.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%2Fze6j1tpm9pdqvwomu82e.png" alt=" " width="800" height="80"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Sign in to Power BI if prompted&lt;/li&gt;
&lt;li&gt;select your workspace &amp;gt; select
When publishing is complete, a link to the report will be seen. Select the link to open the report in your Power BI service.&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%2Fcz9sylx2vp8ypyyk449i.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%2Fcz9sylx2vp8ypyyk449i.png" alt=" " width="756" height="461"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Generating Embed code&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;open report in Power BI service&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fipmfnoofae79de6bgcqq.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%2Fipmfnoofae79de6bgcqq.png" alt=" " width="800" height="540"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click file &amp;gt; Embed report the click website or portal&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Copy link to iFrame HTML&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fultrv5epwe58scy5g6wv.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%2Fultrv5epwe58scy5g6wv.png" alt=" " width="800" height="438"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Embedding report in desktop&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create a new folder in desktop&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Open the new folder in text editor&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create a new file &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Paste iFrame in the text editor &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Save and copy on clipboard (Ctrl + A + X) &lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw1egh0tliso1kcccdo65.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%2Fw1egh0tliso1kcccdo65.png" alt=" " width="800" height="243"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Copy a sample HTML from any website&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Paste it in the text editor and save&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkobnjewma2wcegevbt44.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%2Fkobnjewma2wcegevbt44.png" alt=" " width="800" height="334"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Open folder in desktop &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Open index in browser&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;copy URL&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%2Ftmuhbrymcv0t158z32ft.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%2Ftmuhbrymcv0t158z32ft.png" alt=" " width="800" height="175"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Delete paragraph 9 in text editor&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Replace it with the iframe HTML and save&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F15qlrjdp5z26dpcbfw8a.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%2F15qlrjdp5z26dpcbfw8a.png" alt=" " width="800" height="333"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Refresh page and sign in if prompted&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Power BI reported will load&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%2Fdhnvxct1rllsab4oorfh.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%2Fdhnvxct1rllsab4oorfh.png" alt=" " width="800" height="370"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>analytics</category>
      <category>microsoft</category>
      <category>tutorial</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Data modelling in Power BI: Joins, Relationships, and Schemas Explained.</title>
      <dc:creator>Hadijja Musekwa</dc:creator>
      <pubDate>Thu, 02 Apr 2026 07:50:31 +0000</pubDate>
      <link>https://dev.to/hadijja_musekwa_3ba940a91/data-modelling-in-power-bi-joins-relationships-and-schemas-explained-4ecn</link>
      <guid>https://dev.to/hadijja_musekwa_3ba940a91/data-modelling-in-power-bi-joins-relationships-and-schemas-explained-4ecn</guid>
      <description>&lt;h2&gt;
  
  
  data modelling
&lt;/h2&gt;

&lt;p&gt;It is the process of analyzing and defining different data types and the relationships between them&lt;/p&gt;

&lt;h3&gt;
  
  
  SQL joins
&lt;/h3&gt;

&lt;p&gt;we shall assume Table A(left) and Table B(right) as data sets given to us&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Inner Join&lt;/em&gt;&lt;/strong&gt;: This returns only rows with matches from both table A and B.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Left Join&lt;/em&gt;&lt;/strong&gt;: Returns all rows from the left table(A) and matching rows from the right table(B). Nulls from table B will be returned if no matches. &lt;br&gt;
&lt;strong&gt;&lt;em&gt;Right Join&lt;/em&gt;&lt;/strong&gt;: Returns all rows from the right table(B) and matching rows from the left table(A). No matches will appear as nulls.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Full Outer Join&lt;/em&gt;&lt;/strong&gt;: Returns all rows from both tables.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Left Anti&lt;/em&gt;&lt;/strong&gt;: Returns rows from the left table (A) that have no match on the right table (B).&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Right Anti&lt;/em&gt;&lt;/strong&gt;: Returns all rows from the right table(A) that have no matches on the left table(B).&lt;/p&gt;

&lt;h3&gt;
  
  
  Illustrations of Joins
&lt;/h3&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%2F1bbycp9gscd0c399xlaa.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%2F1bbycp9gscd0c399xlaa.png" alt=" " width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Power BI relationships
&lt;/h3&gt;

&lt;p&gt;Relationships connect tables using keys&lt;br&gt;
&lt;strong&gt;&lt;em&gt;1. One-to-Many(1:M)&lt;/em&gt;&lt;/strong&gt;: Commonest that links one table to many &lt;br&gt;
&lt;strong&gt;Example:&lt;/strong&gt; One patient that has many visits.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;2. Many-to-Many(M:M):&lt;/em&gt;&lt;/strong&gt; Links both tables as they both have duplicates.&lt;br&gt;
&lt;strong&gt;Example:&lt;/strong&gt; Patients and diseases where one patient can have many diseases but one disease affects many patients.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;3. One-to-One (1:1):&lt;/em&gt;&lt;/strong&gt; There is only one match from one table to another.&lt;br&gt;
&lt;strong&gt;Example:&lt;/strong&gt; Patients and their NIN &lt;br&gt;
&lt;strong&gt;&lt;em&gt;Cardinality&lt;/em&gt;&lt;/strong&gt; defines the relationship type between two tables for example: 1:M, 1:1 and M:M&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Fact tables&lt;/strong&gt; contain numbers and measurable data for example visits, sales and cases &lt;br&gt;
&lt;strong&gt;dimensional tables&lt;/strong&gt; contains descriptive information for example patient details, location and time.&lt;/p&gt;

&lt;h2&gt;
  
  
  schemas
&lt;/h2&gt;

&lt;p&gt;This is how tables are organized&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Star Schema: one central fact table has surrounding dimensions.&lt;/li&gt;
&lt;li&gt;Snowflake Schema: Dimensions are split into smaller tables for example location, country, region and district.&lt;/li&gt;
&lt;li&gt;Flat table (DLAT): Everything is in one table where everything is merged.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Role playing Dimensions&lt;/strong&gt; is where one table is used multiple times in different roles.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>database</category>
      <category>microsoft</category>
      <category>sql</category>
    </item>
    <item>
      <title>How excel is used in Real-World Data Analysis</title>
      <dc:creator>Hadijja Musekwa</dc:creator>
      <pubDate>Wed, 25 Mar 2026 13:11:07 +0000</pubDate>
      <link>https://dev.to/hadijja_musekwa_3ba940a91/how-excel-is-used-in-real-world-data-analysis-1571</link>
      <guid>https://dev.to/hadijja_musekwa_3ba940a91/how-excel-is-used-in-real-world-data-analysis-1571</guid>
      <description>&lt;h2&gt;
  
  
  what is excel?
&lt;/h2&gt;

&lt;p&gt;Excel is a spreadsheet(s) application with rows and columns that enables a user to &lt;strong&gt;&lt;em&gt;input, clean, analyze, visualize and store data&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Functions and formulae
&lt;/h2&gt;

&lt;p&gt;Some of these include &lt;em&gt;average, sum, maximum and minimum values&lt;/em&gt; and &lt;em&gt;IF&lt;/em&gt; functions for awarding criteria, &lt;em&gt;COUNT&lt;/em&gt; for numeric, &lt;em&gt;COUNTA&lt;/em&gt; for text data and &lt;em&gt;COUNT IF&lt;/em&gt; and &lt;em&gt;COUNTIFS&lt;/em&gt; for conditional values as illustrated below&lt;br&gt;
 =COUNTIF(range, criteria)&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Pivot tables&lt;/em&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;em&gt;Dashboards&lt;/em&gt;&lt;/strong&gt; enable the user to summarize large data sets quickly and use charts to visualize data and show relationships.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use in Real- World
&lt;/h2&gt;

&lt;p&gt;Excel is used in hospital and research settings to;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Manage client data such as clients' records, surveillance data and progressive results.&lt;/li&gt;
&lt;li&gt;Analysists use excel to calculate different values, identify trends and monitor indicators such as prevalence, incidence and mortality rates.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Learning excel (still learning) has enabled me to learn to look at data differently as I can now ably clean, analyze and draw conclusions from it. This will be very helpful in my research work.&lt;/p&gt;

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