Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Cleaning Weekly Performance Report Data

EasySQL & Data Manipulation00:00
Practice interviewer
In session
5 left
00:00

Your question is Cleaning Weekly Performance Report Data. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Context

Teams often build weekly performance reports from operational tables that contain nulls, blank strings, duplicate rows, and inconsistent status values. A good analyst or data engineer should be able to explain how they would make the report reliable before calculating metrics.

Question

How would you handle missing or messy data when preparing a weekly performance report in SQL? In your answer, explain:

  1. How you would identify common data quality issues
  2. How you would standardize or clean values before aggregation
  3. How you would treat nulls, blanks, duplicates, and invalid numeric values
  4. How you would make sure weekly metrics remain consistent and interpretable

Scope Guidance

The interviewer is looking for a practical SQL-focused explanation, not just general data cleaning advice. Discuss the logic you would apply in PostgreSQL, the trade-offs of imputing versus excluding records, and how your choices affect weekly aggregates such as counts, sums, and averages.