Skip to content

Commit

Permalink
Merge pull request #22 from IADem/patch-1
Browse files Browse the repository at this point in the history
Update Files.SheetsInFolder.pq
  • Loading branch information
KiaraGrouwstra authored Nov 27, 2017
2 parents f859a23 + 1186789 commit bffbe3c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Files.SheetsInFolder.pq
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ let
RemovedOtherColumns = Table.SelectColumns(FilteredRows,{"Content", "Name"}),
NoTemps = Table.SelectRows(RemovedOtherColumns, each not Text.StartsWith([Name], "~$")),
InsertedCustom = Table.AddColumn(NoTemps, "Sheets", each Excel.Workbook([Content])),
Expanded = Table.ExpandTableColumn(InsertedCustom, "Sheets", {"Data", "Name"}, {"D","N"}),
Expanded = Table.ExpandTableColumn(InsertedCustom, "Sheets", {"Data", "Name","Kind"}, {"D","N","K"}),
NoPrintAreas = Table.SelectRows(Expanded, each not Text.Contains([N], "$"))
OnlySheets = Table.SelectRows(NoPrintAreas, each Text.Contains([K], "Sheet"))
in
NoPrintAreas
OnlySheets

0 comments on commit bffbe3c

Please sign in to comment.