Mohammad Mohammadieh

Data Analyst, Beirut, Lebanon

All projects

Project 1.4

Occupational Health Clinic Dashboard

An 8-page Power BI report for a plant's occupational health clinic: where workers get hurt, where visits wait, what care costs and who comes back.

Tools
  • Power BI
  • DAX
  • Python
  • TypeScript
Role
Data generator, data model, DAX, custom visuals, design
Video 1Highlight (13 s).The animated Home page, then the Overview page.
report pages
8
DAX measures
227
custom visuals
16

1Walkthrough and screens

Recorded in Power BI Desktop's editing view, so small hover icons and a selection outline appear in the videos. Page loading time is cut out.

Video 2Full walkthrough (1 min 8 s).All eight pages in six captioned parts: a department slicer with Select all, and a drill-through from a missed follow-up to the worker's profile.

2The problem

The on-site clinic of a petrochemical plant needed to see where workers get hurt, where clinic visits wait, what care costs, and which workers come back after a missed follow-up.

3What I built

I built an 8-page Power BI report with 227 DAX measures and 16 custom visuals. It follows a case from exposure to arrival, through each step of the visit, to care, cost and follow-up, and ends on a worker profile reached by drill-through.

4How it works

  • Python. A data generator writes three years of clinic visits and visit steps for a workforce of about 4,300, with patterns built in: summer heat, plant turnarounds, night shifts and a lab bottleneck. A second script checks the data against 31 rules.
  • Data model. A star schema with two facts, visits and visit steps, sharing one date table and the other dimensions. The measures sit in display folders.
  • Custom visuals. Written in TypeScript with powerbi-visuals-tools: the navigation rail, KPI cards, a patient journey stepper, waffles, a treemap, ranked lists, vital signs on reference ranges and a visit timeline.
  • Worker portraits. The profile in the screenshots and videos uses synthetic faces of people who do not exist, from Generated Photos. Their free license does not allow passing the images on, so the downloadable file draws a portrait instead.

5What it shows

  • Home. One headline number per chapter and a card for each page.
  • Overview. How busy the clinic is and why workers come in.
  • Exposure risk. Where the workforce is exposed and how cases end.
  • Patient journey. Where a visit waits, by step, day and night.
  • Care and cost. What drives the cost and who loses workdays.
  • Clinicians. Physician workload against patient satisfaction.
  • Follow-up. Attendance against target and what a missed follow-up leads to.
  • Worker profile. One worker’s visits, vital signs and exposures.

Photos by Generated Photos.

6Try it

Download the Power BI file5 MB

Opens in the free Power BI Desktop (Windows). All data is fictional. In this file the worker profile shows drawn portraits instead of the photos in the screenshots.