SShortSingh.
Back to feed

How a Single Corrupt CSV Became a Full Power BI Dashboard for a Kenyan Auto Firm

0
·3 views

JCars Logistics, a Kenyan vehicle import and delivery company, needed a business intelligence report built from a single raw CSV file containing 34 columns of sales data. An analyst auditing the data uncovered critical errors, most notably a broken Revenue column where figures had been calculated against the total dataset rather than individual row quantities. Additional problems included non-unique Order IDs in five inconsistent formats, price entries inflated by a factor of ten for vehicles like the Toyota Land Cruiser, and 18 orders showing delivery dates earlier than their order dates. Significant missing values across fields such as Discount, Logistics Cost, and Customer Rating also required documented handling policies rather than silent fixes. Each issue was addressed transparently — outliers were flagged rather than deleted, currency was standardised to Kenya Shillings, and a corrected revenue formula was substituted — before the cleaned data was used to build the final Power BI solution.

Read the full story at DEV Community

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

Related stories

0
ProgrammingDEV Community ·

Developer Fixes Broken Referral Program That Paid Out Nothing Due to Bad URL

A developer building a referral program for their Android app discovered the invite button had been pointing to an incorrect URL with no referral parameter, meaning no referrals were ever tracked. The flaw went unnoticed until the developer reviewed unrelated wallet code and found that users' balance fields could be written directly from their own devices without server-side verification. This security gap prompted a broader fix before the referral payouts could safely go live. The rebuilt system uses Android's Install Referrer API to properly attribute new installs, and limits referral code claims to within 60 minutes of account creation to prevent abuse. The developer advises others to close any client-writable balance or loosely verified action vulnerabilities before launching incentive features, rather than retrofitting fraud prevention afterward.

0
ProgrammingDEV Community ·

The true cost of building in-house AI answer tracking: a practical breakdown

Building an in-house AI visibility tracking system involves far more than avoiding API fees — engineering time, maintenance, and infrastructure all add significant cost. Each AI consumer product like ChatGPT, Perplexity, and Gemini requires its own custom parser, data-quality monitoring, and compliance review, multiplying effort with every engine added. Silent failures, interface changes without notice, and market-by-market collection needs make this a substantial distributed-systems project. A cost formula is proposed comparing build versus buy over a planned time horizon, factoring in engineer-months, infrastructure, and one-off legal reviews. The analysis highlights that build costs accrue before any value is delivered, maintenance scales with engine count rather than usage volume, and every engineer hour spent on collection is one not spent on higher-value analysis work.

0
ProgrammingDEV Community ·

Orca ADE Lets Developers Run Multiple Coding Agents in Parallel via Git Worktrees

Orca is an open-source Agent Development Environment (ADE) designed for agentic coding workflows, allowing users to manage multiple tasks simultaneously without conflicts. It leverages git worktrees to give each agent an isolated copy of the repository, preventing interference between concurrent changes. Rather than bundling its own AI model, Orca runs CLI-based agents that users already have installed under their own subscriptions. The tool includes features such as a diff view with line-level commenting, per-worktree browser previews, and a mobile app for task completion alerts. Written in TypeScript and hosted on GitHub, the project has attracted around 80,000 stars and nearly 3,600 pull requests, indicating active community development.