Tag: Row numbering by group with Power BI
Create group index column by using DAX
One way to create a group index by using DAX is with the function RANKX. How to do that depends on your dataset structure, but this example might give you a good idea or precise solution.