Forum Discussion
BekahLoSurdo
6 years agoResolver IV
Local Grouping / Index Issues
Hey guys, I have out-of-order source data that I'm performing a locally grouped index on. My index persists through every step except for a merge with another table (or, more specifically, the expan...
Anonymous
6 years agoNot applicable
Hi BekahLoSurdo ,
Please try to update the code in group steps as blow:
= Table.Group(#"Sorted Rows", {"Qty"}, {{"Index Table", each Table.AddIndexColumn(_,"MinKey",1,1)}}) |
| = Table.Group(#"Sorted Rows", {"Qty"}, {{"Index Table", each Table.AddIndexColumn(_,"MaxKey",0,1)}}) |
If the above method not working, please provide your expected result with screen shot and explain more details on it. Thank you.
Best Regards
Rena
- BekahLoSurdo6 years agoResolver IV
Anonymous,
If I partition by Qty, each line will have an Index value of 1 instead of the correct 1-8. I am partitioning by Part because I need a local index for each Part in my data. I am working on another example now. Thanks!