Data Analytics

Customer Transaction & Revenue Analytics

Customer Transaction & Revenue Analytics

I built an end-to-end sales platform — data cleaned in PostgreSQL, shown in Power BI with DAX, so the business can see what drives growth.

How I worked — from the SQL database onwards

Every report started in the database, not in the chart. These are the exact steps I followed at Rich IT.

  1. SQL database first — validate before anything. I maintained and validated client databases with SQL. Before any report, I checked the records, found the mismatches, and fixed the data.
  2. Extract & clean the transaction records. Transaction records came out of PostgreSQL and were cleaned with SQL and Excel Power Query — duplicates, wrong formats and missing values removed before analysis.
  3. Model it with DAX — write once, it calculates forever. Measures written once in DAX auto-calculate when new data arrives. When the source changes, Change Source + Refresh brings the real data in.
  4. Break it down to find the problem. Total first, then by product, then by branch. That breakdown is the analyst's real work — it shows where the problem is, not just that sales dropped.
  5. Dashboard — sales by product and branch. Power BI dashboard showing sales performance by product and branch.
  6. Weekly reports for the business. Weekly business reports built with Excel, Power Query and Power BI — the same pipeline, every week, on fresh data.
  7. Present it so decisions happen. What happened, where, why, and what to do. A price cut or an offer is only one possible answer — and only after the cause is checked.

Database & SQL

PostgreSQL is the source of truth: transaction records live there, SQL validates and cleans them, Power Query shapes them, and DAX measures sit on top. The dashboard reads sales by product and branch.

Result

Weekly reports the business actually used to see performance by product and branch — and problems found early, by breaking the data down instead of only charting totals.

Project files