Bank Customer Segmentation
This dataset provides comprehensive behavioral and transaction profiles for bank customers, including demographics, account activity, channel preferences, and churn risk scores. It is designed for advanced customer segmentation, targeted marketing, and predictive analytics to drive retention and personalized banking strategies.
Sample rows
preview · 8 of 200 rows · all 25 columns| customer_idstring | account_typestring | num_accountsinteger | is_activeboolean | address_countrystring | first_namestring | last_namestring | date_of_birthdate | genderstring | emailstring | phone_numberstring | address_streetstring | address_citystring | address_statestring | address_postal_codestring | account_open_datedate | account_balancefloat | avg_monthly_transactionsinteger | avg_transaction_amountfloat | last_transaction_datedate | preferred_channelstring | marketing_segmentstring | churn_risk_scorefloat | last_login_datedate | total_lifetime_valuefloat |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CUST-1782445 | checking | 2 | true | US | Maya | Turner | 1994-08-11 | female | maya.turner@ | +1-718-340-9001 | 953 King St | New York | NY | 10027 | 2017-05-16 | 8200.45 | 23 | 150.79 | 2024-06-07 | mobile | urban professionals | 0.19 | 2024-06-07 | 22000 |
| CUST-1290889 | savings | 1 | true | India | Vinay | Joshi | 2003-01-27 | male | vinay.joshi@ | +91-99821-44211 | 19 MG Road | Mumbai | MH | 400020 | 2021-09-12 | 390 | 2 | 30 | 2024-05-12 | mobile | students | 0.61 | 2024-06-03 | 640 |
| CUSTOMER-FX9083 | investment | 4 | true | UK | Sophie | Evans | 1978-03-22 | female | sophie.evans@ | +44 20 4567 9211 | 12 Fleet St | London | LDN | EC4Y8AA | 1999-11-30 | 176000.9 | 8 | 4200 | 2024-06-02 | online | affluent investors | 0.11 | 2024-06-06 | 280000 |
| CUST-8779354 | credit_card | 2 | true | US | Lucas | Reid | 1988-07-15 | male | lucas.reid@ | +1-312-561-7654 | 2037 Lakeview Ave | Chicago | IL | 60616 | 2012-06-22 | 2900.2 | 18 | 170.5 | 2024-06-07 | online | frequent spenders | 0.24 | 2024-06-07 | 12400 |
| CUST-7812239 | savings | 2 | false | Hong Kong | Fiona | Lam | 1961-12-01 | female | fiona.lam@ | +852-5681-2203 | 8 Harbour Rd | Hong Kong | HK | 999077 | 1995-03-17 | 62000 | 2 | 640 | 2024-05-27 | branch | retirees | 0.35 | blank | 18000 |
| CUST-2369821 | savings | 1 | false | Egypt | Ahmed | Hassan | 2006-05-09 | male | ahmed.hassan@ | +20-12-2234-1783 | 31 Tahrir St | Cairo | CA | 11351 | 2022-04-03 | 15 | 0 | 0 | 2023-11-01 | ATM | minor accounts | 0.91 | blank | 18 |
| Z-884127 | loan | 3 | true | Spain | Elena | Martinez | 1983-11-17 | female | elena.martinez@ | +34-911-389-002 | 18 Gran Via | Madrid | MD | 28013 | 2007-02-19 | 56000 | 9 | 3100 | 2024-06-01 | branch | wealth management | 0.15 | 2024-06-05 | 212000 |
| CUST-9984321 | savings | 1 | false | US | Tom | Henderson | 1955-02-14 | male | tom.henderson@ | +1-405-223-1567 | 2208 N May Ave | Oklahoma City | OK | 73107 | 1979-09-03 | 180 | 0 | 0 | 2022-07-19 | branch | inactive legacy | 0.9 | blank | 0 |
| CUST-2311002 | checking | 1 | true | Japan | Yuki | Hayashi | 1999-04-08 | female | yuki.hayashi@ | +81-80-4001-1227 | 5 Chome-2-1 Ginza | Tokyo | TK | 1040061 | 2020-02-15 | 2400 | 12 | 90 | 2024-06-07 | online | young adults | 0.35 | 2024-06-07 | 4200 |
| CUST-5521044 | investment | 6 | true | UAE | Hassan | Ali | 1967-10-31 | male | hassan.ali@ | +971-50-145-2687 | 101 Sheikh Zayed Rd | Dubai | DXB | 00000 | 1990-08-10 | 490000 | 12 | 6800 | 2024-06-06 | branch | ultra high net worth | 0.08 | 2024-06-06 | 2650000 |
| CUST-4411772 | credit_card | 2 | true | Russia | Olga | Ivanova | 1990-06-21 | female | olga.ivanova@ | +7-495-210-6789 | 15 Nevsky Prospekt | Saint Petersburg | SPB | 191186 | 2011-03-25 | 2100 | 17 | 130 | 2024-06-04 | mobile | mid-income urban | 0.21 | 2024-06-06 | 16400 |
| CUSTOMER-KX2041 | checking | 2 | true | India | Priya | Chatterjee | 1985-09-18 | female | priya.chatterjee@ | +91-98711-45678 | 11 Park St | Kolkata | WB | 700016 | 2009-12-08 | 3400 | 13 | 120 | 2024-06-05 | online | urban professionals | 0.29 | 2024-06-06 | 11500 |
| CUST-6671187 | investment | 5 | true | US | Charles | Nguyen | 1973-08-13 | male | charles.nguyen@ | +1-713-551-9347 | 3310 Main St | Houston | TX | 77002 | 1998-05-21 | 380000 | 15 | 6000 | 2024-06-03 | online | wealth management | 0.09 | 2024-06-05 | 1930000 |
| CUST-5151001 | checking | 1 | true | Brazil | Maria | Silva | 2000-10-09 | female | maria.silva@ | +55-11-91234-9881 | 422 Avenida Paulista | São Paulo | SP | 01311-000 | 2021-02-17 | 1150 | 6 | 80 | 2024-06-04 | mobile | young adults | 0.37 | 2024-06-05 | 1400 |
| CUST-7100432 | loan | 3 | false | US | George | Taylor | 1963-03-19 | male | george.taylor@ | +1-314-212-9008 | 8923 Olive Blvd | St Louis | MO | 63132 | 1987-09-20 | 88000 | 2 | 2200 | 2024-05-29 | phone | high net worth retirees | 0.41 | blank | 42000 |
| CUST-4300124 | checking | 2 | true | US | Chen | Wang | 1989-01-02 | male | chen.wang@ | +1-415-200-3457 | 88 Market St | San Francisco | CA | 94103 | 2013-09-10 | 5600 | 19 | 180 | 2024-06-07 | online | urban professionals | 0.25 | 2024-06-07 | 18000 |
| CUST-3129021 | credit_card | 2 | true | US | Sarah | Keller | 1997-12-29 | female | sarah.keller@ | +1-206-555-1209 | 4210 Pine St | Seattle | WA | 98105 | 2017-07-14 | 3200 | 16 | 110 | 2024-06-06 | mobile | frequent spenders | 0.18 | 2024-06-07 | 15600 |
| CUST-9811776 | savings | 1 | false | Germany | Hans | Schmidt | 1949-09-28 | male | hans.schmidt@ | +49-30-6512-4523 | 72 Unter den Linden | Berlin | BE | 10117 | 1972-06-23 | 3200 | 0 | 0 | 2023-02-10 | branch | inactive legacy | 0.92 | blank | 0 |
| CUST-2010039 | savings | 1 | false | Egypt | Fatima | Said | 1980-05-26 | female | fatima.said@ | +20-10-1234-5678 | 55 Ramsis St | Cairo | CA | 11511 | 2000-08-11 | 870 | 0 | 0 | 2022-12-02 | branch | inactive legacy | 0.85 | blank | 110 |
| CUST-7321195 | checking | 2 | true | US | Emily | Brown | 1993-05-13 | female | emily.brown@ | +1-617-333-9218 | 14 Beacon St | Boston | MA | 02108 | 2015-03-22 | 9450 | 20 | 180 | 2024-06-07 | online | urban professionals | 0.22 | 2024-06-07 | 18500 |
What the 200 rows show
from the 200-row sampleInvestment (account type) stands out: mean num_
- 74%is_
active = true - 2median num_
accounts - 2genders
- 5preferred channels
- 22marketing segments
- 5,290median account_
balance
Median 2, from 1 to 8.
- string 14
- integer 2
- float 4
- date 4
- boolean 1
Columns
25 columns in four groups| column | type | description | example |
|---|---|---|---|
| Text 14 columns | |||
customer_id | string | Unique identifier for each bank customerunique | CUST-1782445 |
first_name | string | Customer's first name | Maya |
last_name | string | Customer's last name | Turner |
gender | string | Customer's gendermale · female · other · prefer_not_to_say · optional | female |
email | string | Customer's email addressunique | maya.turner@ |
phone_number | string | Customer's phone numberoptional | +1-718-340-9001 |
address_street | string | Street address of the customeroptional | 953 King St |
address_city | string | City of the customer's addressoptional | New York |
address_state | string | State or province of the customer's addressoptional | NY |
address_postal_code | string | Postal code of the customer's addressoptional | 10027 |
address_country | string | Country of the customer's addressoptional | US |
account_type | string | Primary type of bank account held by the customerchecking · savings · credit_card · loan · investment | checking |
preferred_channel | string | Customer's preferred banking channelbranch · online · mobile · ATM · phone · optional | mobile |
marketing_segment | string | Assigned marketing segment for targeted campaignsoptional | urban professionals |
| Numbers 6 columns | |||
account_balance | float | Current total balance across all accounts held by the customer0 or more | 8200.45 |
num_accounts | integer | Number of active accounts held by the customer1 or more | 2 |
avg_monthly_transactions | integer | Average number of transactions per month0 or more · optional | 23 |
avg_transaction_amount | float | Average transaction amount per month0 or more · optional | 150.79 |
churn_risk_score | float | Predicted risk score for customer churn (0.0 to 1.0)0 to 1 · optional | 0.19 |
total_lifetime_value | float | Total estimated lifetime value of the customer to the bank0 or more · optional | 22000 |
| Dates and times 4 columns | |||
date_of_birth | date | Customer's date of birth | 1994-08-11 |
account_open_date | date | Date when the customer opened their first account | 2017-05-16 |
last_transaction_date | date | Date of the customer's most recent transactionoptional | 2024-06-07 |
last_login_date | date | Date when the customer last logged into their online/mobile bankingoptional | 2024-06-07 |
| True or false 1 column | |||
is_active | boolean | Indicates if the customer is currently active | true |
15 SQL practice questions for the Bank Customer Segmentation
Written for this data and checked against it: 12 SQL and 3 Power BI exercises from beginner to advanced. Try the first three free; the practice kit has all 15, a starter .sql file and an answer key with every expected result.
Inactive customers with high churn risk
Return customer_id, first_name, last_name and churn_risk_score for customers who are inactive (is_active = 0) and have a churn_risk_score above 0.7. Order the results by churn_risk_score from highest to lowest, then by customer_id ascending.
Tables: bank_customer_segmentation · your result: 4 columns, 38 rowsDistinct preferred channels
Return each distinct value of preferred_channel once, in a single column named preferred_channel, sorted alphabetically.
Tables: bank_customer_segmentation · your result: 1 columns, 5 rowsCustomers per account type
Count the customers in each account_type. Return account_type and customer_count, ordered by customer_count from highest to lowest, then by account_type ascending.
Tables: bank_customer_segmentation · your result: 2 columns, 5 rows
- 04Average balance by genderBeginner
- 05Total lifetime value by channelPower BI
- 06Segments with high average churnIntermediate
- 07Balance tiersIntermediate
- 08Customers above average lifetime valueIntermediate
- 09Accounts opened per yearIntermediate
- 10Churn by channel vs overallPower BI
- 11Rank customers within account typeAdvanced
- 12Gap between opening datesAdvanced
- 13Running total of lifetime value by yearAdvanced
- 14Country share of balancesAdvanced
- 15Balance anomalies per account typePower BI
Get the practice kit: the full dataset, all 15 exercises, a starter .sql and the answer key. One-time $3.99.
Get the practice kit · $3.99Use it for
A finance dashboard
The is_
active rate, num_ accounts by account_ type and a breakdown of address_ country. Excel, Power BI or Tableau. Why do the 44 investment rows have a mean num_
accounts of 4.8? A root-cause class exercise
Hand out the rows and one question. The answer is in the data, not in the brief.
- Customers200CUST-17824452checkingCUST-12908891savingsCUST-78122392savings
A software demo
Believable customers with first_
name, last_ name and date_ of_ birth to fill a screen in front of a buyer.
blueprint · bank-customer-segmentation
Behind this dataset
Same schema. As many rows as you need.
These 200 rows came out of a blueprint — 25 columns with generation rules behind each one. Open it in Data Factory to retune a column, add your own, wire in foreign keys, and run it at the size you actually need.
- Customer demographics included
- Transaction types diversified
- Segmentation labels generated
- Account tenure tracked
1 credit per row. Preview 20 rows free. Buy rows for the full run.
- Exports
- CSV, JSON, JSONL, Parquet, SQL, Excel, TSV, XML
- Licence
- yours to use, including commercially
- API slug
- bank-customer-segmentation