DAX HANDBOOK
4.1. Grouping functions
Explanation Grouping table functions have only one purpose, and that is to create a distinct combination of columns/tables supplied. Grouping functions are mostly used as intermediate steps in DAX code. Most use cases: Create a set of values on a higher granularity which you need to iterate upon eq. Find the best-selling product in each …