Skip to content

Commit b1aaf99

Browse files
authored
Update 2024-08-19 - Xml Drill Down Chain.pq
1 parent c54353d commit b1aaf99

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

forumQuestions/pq/2024-08-19 - Xml Drill Down Chain.pq

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ let
2222

2323
Pairs = DrillPairs( Drill4 ),
2424

25-
#"Renamed Columns1" = Table.RenameColumns( Pairs,{{"Name", "Element"}}),
25+
// add an index per each employee.item" record
26+
#"Added Index" = Table.AddIndexColumn(Pairs, "Employee Index", 0, 1, Int64.Type),
27+
28+
#"Renamed Columns1" = Table.RenameColumns( #"Added Index", { { "Name", "Element" } }),
2629

2730
Pairs2 = DrillPairs( #"Renamed Columns1" ),
2831

0 commit comments

Comments
 (0)