Skip to content

Credit Card Financial Dashboard

A two-page Power BI report on $57M of credit card revenue, tracked week over week and year to date, built on a star schema from 4 source files.

overall revenue analysed
$57M
of issued cards active
57.5%
of revenue from 3 states
68%
  • Power BI
  • DAX
  • Power Query
  • PostgreSQL

The problem

A card portfolio needs a weekly view of how revenue, transactions and activation are moving, and which customer segments drive them.

Pipeline

  1. 4 CSV files
  2. Power Query
  3. Star schema
  4. Expressed asDAX measuresPostgreSQL scripts
  5. Weekly report
The same model in two forms: a Power BI report and plain SQL. The highlighted stage is where the key decision sits.

How it works

Four CSV sources (transactions, customers and two address and metadata files) are cleaned in Power Query and modelled as a star schema.

Custom DAX measures compute revenue, week-over-week change, activation and delinquency. The report has two pages: transactions, and customers.

Three PostgreSQL scripts re-express the same model: star-schema DDL, the KPI aggregations, and window functions for running year-to-date revenue, week-over-week change and customer ranking.

The decision

I chose
Re-express the model as PostgreSQL scripts beside the Power BI file.
Instead of
Keeping the logic only inside the report.
Because
A .pbix file is hard to review in a pull request. The SQL versions let anyone read and run the same KPI logic, and each query notes the DAX measure it mirrors.

Results

Findings from the report, each written up with a suggested action.
FindingValue
Blue and Silver cards, share of transactions93%
Texas, New York and California, share of revenue68%
Issued cards that are active57.5%
Delinquency rate6.06%

What I would do next

  • Point the report at a live database instead of static CSVs, using the SQL layer that already exists.