SAP PM/MM Maintenance Analytics
Transactional SAP maintenance data turned into a five-page Power BI dashboard that answers the question the source system doesn’t: which equipment actually costs the most once downtime is priced in.
- Type
- Analytics / BI
- Stack
- Python · Power Query · Power BI
- Dataset
- 2023–2025 · 61 assets · 1,951 orders
- Extracts
- IH08 · IW28 · IW38 · IP15 · MM60 · MB51
Why I built it
SAP PM records maintenance events accurately, but it reports them transactionally. It will tell you what happened; it will not tell you what it cost. The gap between those two is where maintenance budgets get decided, so I built the layer that closes it, the one that ranks assets by true cost rather than by order count.
How it works
Python generates seven simulated SAP extracts that mirror the real T-codes, so the whole dataset is reproducible from source. Power Query handles the ETL, and Power BI holds a star schema with DAX measures behind five report pages. The data is synthetic; the structure and the transaction codes are not.
- €2.65MMaintenance spend
- 41.1%Went to unplanned
- €9.2MLost production value
- 78.5%PM schedule compliance
- +56%Breakdowns without a plan
What the dashboard says
Unplanned breakdowns consumed 41.1% of spend across 804 orders, and the estimated lost production value behind them, €9.2M, is 3.5× the entire maintenance budget. Schedule compliance splits sharply by criticality: 89% on A-critical equipment against 62% on C-class. Preventive orders ran 17% over budget, and €2.39M of spare parts moved through the period. The recommendation writes itself: the cheap orders are not the cheap assets.
Tools
- Power BI
- DAX
- Power Query
- Python
- SAP PM / MM
Methods
- Star schema modelling
- KPI definition
- Criticality analysis
- Data storytelling