I can't find the exact answer to this and I want to be certain my assumption is correct since I am to rebuild an Excel doc someone else produced.
In short, if an excel document imports from the same file path in multiple queries, does excel remember any data it already got to save memory? My assumption is no and that for each query the data will be imported again.
In terms of code, I mean something like the following:
Query1
let
source = Folder.Files("FilePath")
#..other steps
Query2
let
source = Folder.Files("FilePath")
#..other steps
The other steps aren't so relevant to my question and don't necessarily have to be the same steps. I just want to know, since the query sources are the same, does Excel remember anything to save memory? I assume not and that it's expected for the creator to reference already imported data. I cannot find exact confirmation though.
For some context, I believe this could be one of many reasons slowing the file down so much, especially as it's more than 2 queries in my case.