DomanicD
New Member
- Joined
- Mar 14, 2020
- Messages
- 4
- Office Version
- 365
- Platform
- Windows
Hello,
I am working on a file import where the reference workbook contains sheets labeled by day, 1st through 31st, for the month. I want the query to pull, according to a reference cell, the appropriate day of month sheet.
How can I edit the parameters to adjust for a date change and pull the appropriate sheet?
Source = Excel.Workbook(File.Contents("S:\National Desk\Reports\Flash\Nice\Third Party FTE requests\OctoberGate.xlsm"), null, true),
#"16th_Sheet" = Source{[Item="16th",Kind="Sheet"]}[Data],
#"Promoted Headers" = Table.PromoteHeaders(#"16th_Sheet", [PromoteAllScalars=true]),
I am working on a file import where the reference workbook contains sheets labeled by day, 1st through 31st, for the month. I want the query to pull, according to a reference cell, the appropriate day of month sheet.
How can I edit the parameters to adjust for a date change and pull the appropriate sheet?
Source = Excel.Workbook(File.Contents("S:\National Desk\Reports\Flash\Nice\Third Party FTE requests\OctoberGate.xlsm"), null, true),
#"16th_Sheet" = Source{[Item="16th",Kind="Sheet"]}[Data],
#"Promoted Headers" = Table.PromoteHeaders(#"16th_Sheet", [PromoteAllScalars=true]),