Market Basket Product Association
Technologies
Power BI, DAX (Data Analysis Expressions), Power Query (M Language), Association Rule Mining, Market Basket Analytics
Industry
Retail & Grocery / E-commerce (Transaction-Level Basket Data)
Tools/Libraries
Power BI Desktop, Power Query Editor, DAX Studio, Excel/CSV transaction data sources, Power BI Service for publishing and sharing
Igniting Powerful Insights
- The Challenge Transaction data existed only as raw item-level purchase records, with no visibility into which products were actually bought together or how reliable those pairings were. The business had no way to distinguish a genuinely strong product association from pure coincidence, making cross-sell and shelf-placement decisions largely guesswork.
- The Process Raw transactions were cleaned and restructured in Power Query into item-pair combinations, then modelled to calculate Support %, Confidence (both directions), and Lift for every product pair. These core association measures were built once in DAX and reused across both report pages, so a "strong pair" on one page means exactly the same thing on the other.
- Complexity and Innovation Beyond simple co-occurrence counts, the model layers in bidirectional Confidence scoring, a Support-vs-Lift scatter to separate popular pairs from truly associated ones, and a Pair Quality Filter Funnel that progressively narrows 100% of all pairs down to the 0.8% that clear Co-occurrence, Confidence, and Lift thresholds simultaneously isolating only the highest-quality, actionable pairs.
- Adaptive Learning for Enhanced Accuracy Thresholds for "Strong," "Moderate," and "Weak/No Association" categories were tuned iteratively against the Lift distribution, and basket-size segmentation (Single, Small, Medium, Large, Jumbo) was added to check whether associations held consistently across different basket sizes refining which pairs were flagged as genuinely reliable versus incidental.
A pair of products showing up together often isn't the same as those products being genuinely associated, Lift is what tells you whether you're looking at a real pattern or just popularity.
Feature Inventory
Enhancing Accuracy in Product Association & Basket Composition Tracking
The dashboard suite combines transaction-level basket metrics with pairwise association statistics into one governed model, so every relationship — from a simple co-occurrence count to a directional Confidence score — is calculated consistently and can be trusted for merchandising decisions.
- Real-time basket KPI cards for Total Products, Avg Basket Size, Total Item Purchases, and Strong Pairs Count
- Top-paired-products ranking with co-occurrence counts and Support % by product
- Support-vs-Lift scatter analysis to separate frequently bought pairs from statistically meaningful ones
- Bidirectional Confidence scoring (A→B and B→A) for every top product relationship
- Association Strength Distribution splitting all pairs into Strong, Moderate, and Weak/No Association categories
- Pair Quality Filter Funnel tracking pairs through Co-occurrence, Confidence, and Lift thresholds down to the final validated set
Transforming Merchandising Decisions
What started as raw transaction logs has become a rigorous, statistically grounded view of how products relate to one another, one that's ready to power real-time recommendations, not just retrospective reports.
- Converts raw transaction data into validated, statistically ranked product associations
- Separates genuinely strong product relationships from coincidental co-purchases using Support, Confidence, and Lift
- Turns basket-size and pairing patterns into actionable merchandising and bundling strategy