You can create a reference to file 1, that will always get you the final result from the File 1 query
The code will look like this: Source = #"file 1"
The easiest way to create a reference to another query is to right click the query you want to reference and select reference in the option list. Know that any future changes to File 1 will automatically flow through into your File 2 query
Ps. Please mark this answer as solution when it helped you to resolve your question, thanks!
let Source = Csv.Document(File.Contents(""),[Delimiter=",", Columns=37,Encoding=1252, QuoteStyle=QuoteStyle.None]), // Get column names from file 1 columnNames = Table.ColumnNames(Source), // Source for file 2, selecting all columns from file 1 Source2 = Table.SelectColumns(Source, columnNames) in Source2
Ps. Please mark this answer as solution if it helped you to resolve your question, Thanks!
You can create a reference to file 1, that will always get you the final result from the File 1 query
The code will look like this: Source = #"file 1"
The easiest way to create a reference to another query is to right click the query you want to reference and select reference in the option list. Know that any future changes to File 1 will automatically flow through into your File 2 query
Ps. Please mark this answer as solution when it helped you to resolve your question, thanks!
let Source = Csv.Document(File.Contents(""),[Delimiter=",", Columns=37,Encoding=1252, QuoteStyle=QuoteStyle.None]), // Get column names from file 1 columnNames = Table.ColumnNames(Source), // Source for file 2, selecting all columns from file 1 Source2 = Table.SelectColumns(Source, columnNames) in Source2
Ps. Please mark this answer as solution if it helped you to resolve your question, Thanks!