Developer Cleans Nairobi Hotel's Messy Booking Data and Builds Power BI Dashboard
A data analyst was tasked by the director of Tembo Hotel & Suites, a mid-range business hotel in Nairobi operating since 2023, to clean, load, and analyze booking records within two days. The raw data consisted of 285 rows exported from a spreadsheet riddled with issues including inconsistent formatting, mixed date styles, currency values stored as text, invalid ratings, and duplicate entries. Using PostgreSQL, the analyst first loaded all data into a staging table with text-only columns to avoid import failures, then ran diagnostic queries to catalog every specific problem before applying targeted fixes. Cleaning tools included SQL functions such as TRIM, INITCAP, and REGEXP_REPLACE, with a strict rule of running SELECT checks before any UPDATE or DELETE operation. The cleaned dataset was ultimately connected to Power BI to produce a three-page report covering room revenue, occupancy trends, staff performance, and guest satisfaction for hotel management.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in