Zainab Danjuma

Analyst

Data analyst working on revenue, subscriber, and operations problems in SQL, Excel, and Power BI

Scores reflect independent, automated grading of simulated business tasks completed on DataSimHQ.

Graded projects
9
Average best score
96/100
Career level
Analyst
Core tool stack
SQL (5) · Excel (3) · Power BI (1)

About

Working through retail and telecom scenarios, I have built SQL queries to audit order status distributions, reconcile gross-to-net revenue figures, and surface inflated subscriber counts caused by promotional SIM credits. The problems have ranged from a beginner baseline summary to a multi-query diagnostic that produced a corrected active-subscriber figure for a board-level audience.

On the Excel and Power BI side, I have constructed revenue reconciliation worksheets with SUMIFS across multiple exclusion criteria and built a single-page board report that compared two subscriber-activity definitions side by side, broken down by region. The work across these tools has been graded independently on a simulation platform, and my scores average 96 across nine completed tasks.

Skills

SQL

  • GROUP BY with COUNT and ORDER BY for frequency distributions
  • MIN and MAX date extraction with type casting
  • ROUND and arithmetic conversion of stored cents to currency units
  • DATE_TRUNC for monthly time-series aggregation
  • COUNT FILTER (WHERE ...) for conditional aggregation in a single pass
  • Schema-qualified table references
  • Multi-query diagnostic structuring across related tables

Excel

  • SUMIFS with multiple criteria ranges across date and text columns
  • Gross-to-net revenue gap calculation
  • Currency formatting with thousand separators in Excel and reports

Power BI

  • Power BI card and bar-chart visuals with dual measures
  • DAX or measure logic distinguishing reported versus revenue-active definitions

Retail · SQL

Order status audit to support a CFO revenue discrepancy investigation

Independent grading: 100/100(verify, opens in a new tab)

Problem

Nura Ibrahim, CFO at Meridian Retail (simulated retailer), flagged a revenue discrepancy and needed a clear picture of what order statuses existed in the orders table before any filtering could begin. The specific question was: how many distinct statuses are there, and how many orders carry each one?

What I did

To answer this, I wrote a single aggregation query grouping by the status column and counting all rows with COUNT(*), aliased as total_orders for readability at a CFO level. Sorting the output by total_orders descending meant the most common status appeared first, which made the distribution immediately scannable. Keeping the alias clean and the logic simple was deliberate: the output was meant to be a starting point for a wider investigation, not an end in itself.

Finding

The table contains 7 distinct statuses, and delivered dominates the distribution with 14,061 orders.

Outcome

The status inventory gave Nura a clear map of which order types to exclude when calculating net revenue, grounding the next stage of her discrepancy investigation.

SELECT 
status,
COUNT(*) AS total_orders
FROM retail.orders
GROUP BY status
ORDER BY total_orders DESC;

This query aggregates all orders by status and sorts them by volume descending, producing the full status inventory in a single pass.

Next step

A useful follow-on would be calculating the share of total revenue that each status represents, not just order count, to quantify the financial weight of cancelled and returned orders specifically.

  • GROUP BY with COUNT and ORDER BY for frequency distributions
  • Schema-qualified table references
  • Multi-query diagnostic structuring across related tables

Telecoms · Power BI

Board-ready subscriber base audit revealing a 7.6% overstatement from promotional SIM credits

Independent grading: 97/100(verify, opens in a new tab)

Problem

Wanjiru Kamau, Chief Commercial Officer at kilele (simulated telecom), needed a single Power BI page to take to the board that addressed whether the reported active subscriber count was reliable. The core question was how many subscribers counted as active under the current 90-day rule would not qualify if Karibu promotional credits were excluded from the revenue-event definition.

What I did

The page required two distinct activity measures presented side by side as cards: Reported Active using the existing 90-day rule, and Revenue Active applying the same window but requiring either genuine usage or customer-funded money rather than promo credits. Both measures were built as of 2026-06-30. A horizontal bar chart placed both measures on the same axis broken down by region, so geographic variation was visible at a glance. The gap table was sorted descending by count and included a total row, and the page title was written to state the finding numerically rather than leave the reader to calculate it.

Finding

The reported active base of 33,235 is overstated by 2,519 subscribers (7.6%), giving a revenue-active count of 30,716, and the overstatement is present across all six regions.

Outcome

Wanjiru received a single page with the reconciliation, the geographic breakdown, and the corrected figure clearly stated, ready to present to the board without further calculation.

Next step

It would be worth segmenting the 2,519 karibu-only subscribers by activation month to see whether the overstatement is growing, stable, or already unwinding as the promo cohort ages past the 90-day window.

  • Power BI card and bar-chart visuals with dual measures
  • DAX or measure logic distinguishing reported versus revenue-active definitions
  • Currency formatting with thousand separators in Excel and reports

Retail · Excel

October revenue reconciliation in Excel to cross-check the Meridian finance system

Independent grading: 95/100(verify, opens in a new tab)

Problem

Nura Ibrahim at Meridian Retail (simulated retailer) needed October 2023 revenue calculated in Excel so she could compare it against the finance system's figure. She asked for both gross revenue across all orders and net revenue after excluding cancelled, returned, and refunded orders, with the gap shown explicitly.

What I did

Two SUMIFS formulas drove the core calculation: one summing the total_naira column for all October 2023 order dates, and a second that applied three status exclusions to produce the net figure. The gap between them was shown as a simple subtraction, and each of the three excluded statuses was broken out individually in a reconciliation table so the components of the gap were traceable. All values were formatted with the NGN prefix and thousand separators throughout. A comparison card against the finance system figure of NGN 38,500,000 was added to surface the residual difference between the calculated net revenue and the system total, which is what Nura actually needed to investigate further.

Finding

Gross October revenue was NGN 56,876,792 and net revenue after exclusions was NGN 38,450,382, a gap of NGN 18,426,410 entirely attributable to cancelled, returned, and refunded orders.

Outcome

Nura could see not only the net revenue figure but also the residual difference between that figure and the finance system, narrowing the discrepancy she was investigating to a specific and much smaller amount.

Next step

The residual gap between the calculated net revenue and the finance system figure (NGN 49,618) was surfaced but not explained; the next step would be to check whether partial refunds or timing differences in order date versus settlement date account for it.

  • SUMIFS with multiple criteria ranges across date and text columns
  • Gross-to-net revenue gap calculation
  • Currency formatting with thousand separators in Excel and reports

Telecoms · SQL

Subscriber count diagnostic identifying 2,519 karibu-only inflators in the active base

Independent grading: 97/100(verify, opens in a new tab)

Problem

Wanjiru Kamau at kilele (simulated telecom) needed to know, before her next board appearance, how many of the subscribers counted as active under the current 90-day rule had never generated real revenue. The trigger was the Karibu promotional SIM drive, where a 1 KES promo credit was recorded as a revenue event, potentially keeping non-using subscribers in the active count.

What I did

Five queries covered the full picture in sequence. Status counts came from a simple GROUP BY on the subscribers table. The regional active breakdown used COUNT(*) FILTER (WHERE status = 'active') against the subscriber_flags table, keeping it to a single scan. Monthly promo activations used DATE_TRUNC('month', activated_on) with explicit 2025 date bounds to isolate the Karibu drive shape. A fourth query filtered for status = 'active' AND karibu_only, grouping by both region and activation channel to show where and how the inflating subscribers entered the base. The summary query then pulled reported active, karibu-only count, the percentage, and the corrected figure in one place, so the board number and its derivation were visible together.

Finding

Of 33,235 reported active subscribers, 2,519 (7.58%) are karibu-only: they hold no genuine usage or customer-funded balance, and all entered through the promo_sim channel.

Outcome

Wanjiru received a corrected active base of 30,716 and a plain explanation of the mechanism: excluding promo_credit from the last_revenue_event_on definition, or adding a revenue_active flag, would fix the count without deleting any subscriber from the database.

select count(*) as reported_active,
 count(*) filter (where karibu_only) as karibu_only_active,
 round(100.0 * count(*) filter (where karibu_only) / count(*), 2) as karibu_only_pct,
 count(*) - count(*) filter (where karibu_only) as corrected_active
from subscriber_flags
where status = 'active';

This summary query produces all four board-level figures in a single pass using conditional aggregation, avoiding a separate subquery or join.

Next step

Breaking the karibu-only cohort by activation month would show whether the overstatement is concentrated in a narrow window of the Karibu drive or spread across the full April-to-November period, which would affect how quickly it naturally resolves as subscribers age past 90 days.

  • COUNT FILTER (WHERE ...) for conditional aggregation in a single pass
  • DATE_TRUNC for monthly time-series aggregation
  • GROUP BY with COUNT and ORDER BY for frequency distributions
  • Multi-query diagnostic structuring across related tables

Retail · SQL

Baseline orders table summary covering count, date range, and total naira revenue

Independent grading: 97/100(verify, opens in a new tab)

Problem

Nura Ibrahim at Meridian Retail (simulated retailer) needed a quick baseline before any filtering began: the total number of orders, the full date range of the table, and total revenue in naira. The revenue figure required handling a known data quality issue where values were stored in kobo as integer cents rather than naira.

What I did

A single SELECT pulled all four metrics at once: COUNT(*) for the order total, MIN and MAX on created_at cast to date for the range, and SUM(total_cents) divided by 100.0 inside ROUND to convert kobo to naira with two decimal places. Dividing by 100.0 rather than 100 was deliberate, ensuring the division produced a decimal result before rounding. The table was schema-qualified as retail.orders throughout.

Finding

The orders table holds 23,572 orders spanning 2021-01-12 to 2024-12-31, with total gross revenue of NGN 2,305,853,142.45 before any status filtering.

Outcome

This baseline gave Nura the unfiltered totals she needed to anchor the revenue reconciliation and measure the effect of any exclusions applied in later queries.

SELECT COUNT(*) AS total_orders, 
MIN(created_at)::date AS earliest_order, 
MAX(created_at)::date AS latest_order, 
ROUND(SUM(total_cents)/100.0, 2) as total_revenue_naira
FROM retail.orders;

Dividing by 100.0 before ROUND ensures integer division is avoided and the naira figure retains its decimal precision.

Next step

Adding a breakdown of the same four metrics filtered to each calendar year would show whether revenue and order volume trends are stable or shifting across the four-year window.

  • MIN and MAX date extraction with type casting
  • ROUND and arithmetic conversion of stored cents to currency units
  • Schema-qualified table references
  • GROUP BY with COUNT and ORDER BY for frequency distributions