Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Cleaning Weekly Performance Report Data

EasySQL & Data Manipulation00:00
I
Practice interviewer
Your interviewer
In session
I
Interviewer

Welcome to your interview.

The question is on your right: Cleaning Weekly Performance Report Data. Take a moment with it first.

Talk your thinking through with me if you like - when you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes). Discussion and graded submissions share your five interviewer interactions, so spend them well.

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.