Posts

[Power BI] DAX ALL Function Practical Series ③ Ranking Part 3 : Relative Rank Index

Image
  This is the third installment of our Ranking Analysis series. In Part 2, we identified market concentration by distinguishing between Top-N and Others. In this part, we will elevate the qualitative value of your ranking data through the "Relative Rank Index." Simply stating "It's 3rd place" carries a different weight in decision-making than saying "It's a core product within the top 20%." As datasets grow, relative indicators that show a position within the entire set become far more important than absolute ranking numbers.   1. Why do we need a 'Relative Rank Index'? In practice, being 5th place when there are only 10 products is worlds apart from being 5th place among 1,000 products. 5th out of 10 = Average 5th out of 1,000 = Top-tier In other words, it is difficult to accurately judge a product's strategic position based on absolute rank alone. Fair Comparison:  Even if the number of items handled differs by store, objective compar...

[Power BI] DAX ALL Function Practical Series ② Ranking Part 2 : Mastering Pareto Analysis - Finding Top-N Structures with DAX ALL + RANKX

Image
The reason we learn the ALL function in Power BI is not just to simply remove filters. It is to establish a Grand Total as a universal reference point and clearly understand the relative position of each item within that context. In the previous post, we looked at the performance structure between products through Mix (Share) and Ranking analysis. In particular, by combining the ALL and RANKX functions, we established a Global Ranking from a company-wide perspective and verified what position each product occupies within the overall sales structure. In this post, we intend to go one step further and expand the horizon of our analysis. The protagonist is Pareto analysis, which uncovers the point of strategic decision-making by using the ALL function to clear filters for "Share," the RANKX function to grant "Order," and then "Accumulating" these results. This process of finding the basis for "Selection and Concentration" beyond a simple listing of...

[Power BI] DAX ALL Function Practical Series ② Mastering Ranking Part 1 : Ranking Analysis, Top-N, Pareto Analysis

Image
In Power BI, ranking analysis goes beyond simple data sorting; it is a vital method for understanding market structures. While a simple sales report focuses on the past record of "how much was sold," ranking analysis answers more critical questions: Which of our products is the number one bestseller? What percentage of total sales do the top 20% of products generate? How much has this month's rank changed compared to last month? How does the ranking of popular products differ from store to store? To answer these questions, you must use the RANKX function in conjunction with the ALL function. The ALL function plays an especially crucial role in ranking analysis because it restores data hidden by filters, creating a "complete competitive landscape that includes invisible competitors." Power BI Ranking Analysis Series This series consists of five practical analysis parts: Part 1 — Global Ranking (RANKX + ALL) -- Current Post Part 2 — Top-N & Others (Pareto) Par...

[Power BI] DAX ALL Function Practical Series ① Mastering Mix & Share (Market Share & Contribution Analysis)

Image
In the previous post, we summarized the two faces of the ALL function: the Filter Modifier and the Table Provider. Today, as our first practical pattern, we will master "Mix & Share" analysis—the most widely used technique in the field—and the design of Performance Indices derived from it. The purpose of this post is clear: "When you calculate shares accurately, your sales strategy changes." This is not just a list of formulas. It is a full-course guide starting from DAX design based on actual sales data, moving to numerical verification, and ending with strategic interpretation.   1. Why is Mix Analysis Important? 1.1 Mix is Not Just a Simple Percentage  Simple sales figures are merely results, but "Share" is a map for designing the future. Through Mix analysis, we obtain management answers to the following questions. We calculate share for one reason: to see the structure. Store Mix: How much does each store contribute to total sales? Product Mix:...

[Power BI] Two Faces of the DAX ALL Function: 5 Practical Patterns You Can Use Right Away

Image
In the world of Power BI, the decisive turning point that separates beginners from pros is the ability to leverage the ALL function. While many beginners understand ALL simply as an "eraser that wipes away filters," pros use it as a "strategic tool to redefine the foundation of calculation." Today, as a data analyst, I will perfectly summarize the five core patterns of the ALL function that can be applied immediately in the field.   1. The Essence of the DAX ALL Function: Filter Modifier vs. Table Provider Inside the engine, the ALL function possesses two powerful identities: Filter Modifier: Inside a CALCULATE function, it ignores existing filters (such as slicers) and redefines the baseline for calculation. Table Provider: It re-summons the original data that was filtered out and supplies it as a virtual table to serve as the raw material for calculations. When these two identities meet practical business scenarios, the following powerful analytical metrics are ...