Summary of "Bank Loan Report | SQL And Tableau Data Analysis Portfolio Project | Project in Financial Domain"

High-level summary

This is a step-by-step portfolio project demonstrating how to build a bank-loan analytics pipeline (MySQL → SQL analysis → Tableau dashboard). The project focuses on ETL/data cleaning, KPI calculations in SQL, and building three Tableau dashboards (Summary KPIs, Overview drilldowns, Details grid) with interactive filters and navigation.

Business purpose

Provide a monitoring and reporting workspace for a bank’s consumer lending program so product, credit, operations, and leadership can monitor performance and investigate trends by time, geography, and borrower attributes. Key areas to track: volumes, funded amounts, repayments, pricing (interest), risk (DTI, grades), and good vs bad loan performance.

Key KPIs and metrics (from the dataset)

Note: Some numeric results were reported verbally and rounded in the video. Use the raw SQL outputs for exact values.

Frameworks, patterns and playbooks (actionable, repeatable)

Data ingestion & staging

Date cleaning ETL pattern (repeatable playbook)

KPI calculation pattern in SQL

Use of Common Table Expressions (CTEs)

Tableau dashboard design & interactivity playbook

Concrete SQL / sample patterns

SELECT COUNT(id) AS total_loan_applications
FROM bank_loan;
WITH mtd AS (
  SELECT COUNT(id) AS mtd_count
  FROM bank_loan
  WHERE MONTH(issue_date) = 12 AND YEAR(issue_date) = 2021
),
pmtd AS (
  SELECT COUNT(id) AS pmtd_count
  FROM bank_loan
  WHERE MONTH(issue_date) = 11 AND YEAR(issue_date) = 2021
)
SELECT (mtd.mtd_count - pmtd.pmtd_count) / pmtd.pmtd_count * 100 AS mom_pct
FROM mtd, pmtd;
UPDATE bank_loan
SET con_issue_date = CASE
  WHEN issue_date LIKE '%/%/%' THEN STR_TO_DATE(issue_date, '%d/%m/%Y')
  WHEN issue_date LIKE '%-%-%' THEN STR_TO_DATE(issue_date, '%d-%m-%Y')
  WHEN issue_date LIKE '____-__-__' THEN STR_TO_DATE(issue_date, '%Y-%m-%d')
  ELSE NULL
END;
SELECT 100.0 * SUM(CASE WHEN loan_status IN ('Fully Paid','Current') THEN 1 ELSE 0 END) / COUNT(*) AS good_loan_pct
FROM bank_loan;
SELECT MONTH(issue_date) AS month_num,
       MONTHNAME(issue_date) AS month_name,
       COUNT(id) AS applications,
       SUM(loan_amount) AS total_funded,
       SUM(total_payment) AS total_received
FROM bank_loan
GROUP BY month_num, month_name
ORDER BY month_num;

Actionable recommendations & checklist for practitioners

  1. Data ingestion & validation

    • Inspect raw imports for date formats and inconsistent separators.
    • Add conversion columns, parse with STR_TO_DATE, validate min/max dates, then drop raw columns.
    • Document column definitions (create a KPI/term doc).
  2. SQL/analytics playbook

    • Implement CTEs for clean time-window comparisons (MTD, PMTD, YoY, MoM).
    • Keep raw/base queries separate from presentation queries. Use views to simplify and reuse dashboard queries.
  3. Dashboard design

    • Top-row KPIs: show current total, MTD, and MoM% for each core KPI (applications, funded, received, avg interest, avg DTI).
    • Provide consistent interactivity: filters (verification, grade, purpose), state drilldowns, parameterized charts.
    • Include a details/exportable sheet for operational follow-up.
  4. Reproducibility & portfolio readiness

    • Save and publish SQL scripts and the Tableau workbook. Put code and README on GitHub and record a short demo video.
    • Note Tableau Public limitations: export CSV from DB if necessary, or use Tableau Desktop.
  5. Business-use tips

    • Use good-vs-bad segmentation early for cohort analysis to prioritize collections and credit policy reviews.
    • Track MoM changes in funded amount and repayments to detect channel shifts quickly.
    • Combine map (state) and term/purpose breakdowns to identify product-market fit and areas of elevated risk.

Concrete examples / case study elements shown

Limitations & notes

If you replicate this pipeline, rely on exact SQL outputs for reporting and treat the video’s verbal numbers as approximate guides.

Presenters / sources

Category ?

Business


Share this summary


Is the summary off?

If you think the summary is inaccurate, you can reprocess it with the latest model.

Video