[Power BI] DAX ALL Function Practical Series ② Ranking Part 4: Cross Ranking Analysis (Store × Product)
In Part 3, we categorized the strategic grades of products. Now, it is time to combine the contexts of Store and Product. This is because a product that is number one company-wide might actually be the worst performer in a specific store, or a small store might achieve top rank in a specific category. In this Ranking Part 4, we will use the ALL family of functions to master the design of "Cross Ranking," which intersects the contexts of stores and products. 1. Analysis Data Overview: H1 2024 IT Device Sales Stores: New York (NY), Los Angeles (LA), Chicago, Houston Products: iPhone 15, MacBook Air, Galaxy S24, Pixel 8, Surface Pro We analyze sales data based on 4 stores × 5 major product lines. The dataset includes monthly records for 2024, tracking sales amounts for each product across these flagship and mall locations. 2. Why is Cross Ranking Necessary? While a Global Rank shows the macroscopic market structure, Cross Ranking analysis is a strategic indicator that ca...