Guitarmageddon
Board Regular
- Joined
- Dec 22, 2014
- Messages
- 161
**Title should read "Nested RANKING of hierarchical items**
Hello folks. I have some sales data that I cleaned up and grouped with power query. It distinct styles, and is sorted by a few levels of my hierarchy. You can see a snip below.
Department contains classes, contains sublcasses, contains the style number/description (1:1). I am summarizing the "ADD TTL" column which is just a demand/sales number.
I am trying to figure out how to rank the ADD TTL column just as you see below, within the SUBCLASS column. I cant quite figure this one out. I put in some crude examples over on the right of how I would expect this to look as the final product.
I started messing with Table.AddRankColumn but I think Im missing a piece. Because when I insert that after the step above, it throws the entire sort out of whack, as you can see. None of the original groupings are chunked out together and it just sorts the entire output by that "ADD TTL" column. Thoughts?
Hello folks. I have some sales data that I cleaned up and grouped with power query. It distinct styles, and is sorted by a few levels of my hierarchy. You can see a snip below.
Department contains classes, contains sublcasses, contains the style number/description (1:1). I am summarizing the "ADD TTL" column which is just a demand/sales number.
I am trying to figure out how to rank the ADD TTL column just as you see below, within the SUBCLASS column. I cant quite figure this one out. I put in some crude examples over on the right of how I would expect this to look as the final product.
I started messing with Table.AddRankColumn but I think Im missing a piece. Because when I insert that after the step above, it throws the entire sort out of whack, as you can see. None of the original groupings are chunked out together and it just sorts the entire output by that "ADD TTL" column. Thoughts?