How would you use SQL and Python to analyze data, and how would you present insights in Power BI?
Use the provided customer, loan, and payment data. Produce a monthly payment-performance dataset that can be validated with Python and loaded into Power BI.
region, payment_month, payment_attempts, successful_payments, collected_amount, and collection_rate_pct.region, then payment_month.| Column | Type | Description |
|---|---|---|
| customer_idPK | INT | Unique customer identifier |
| customer_name | VARCHAR(100) | Customer name |
| region | VARCHAR(50) | Customer reporting region |
| Column | Type | Description |
|---|---|---|
| loan_idPK | INT | Unique loan identifier |
| customer_id | INT | Customer associated with the loan |
| loan_type | VARCHAR(50) | Loan product category |
| disbursed_amount | DECIMAL(12,2) | Original amount disbursed |
| Column | Type | Description |
|---|---|---|
| payment_idPK | INT | Unique payment identifier |
| loan_id | INT | Loan receiving the payment attempt |
| payment_date | DATE | Date of payment attempt |
| amount | DECIMAL(12,2) | Payment amount |
| status | VARCHAR(20) | Payment processing status |