title: Power Query - Appended Queries pulling from same folder - Need only 1 query to run on new files
body: <p>I have two queries created in Power Query that pull data from the same folder and are appended. The reason for this is because that folder contains many files with two distinct data structures, one is an old structure created by someone from the past and the other is a new structure I created.</p>
  
  <p>So how I have the queries running right now is the older data structure query is filtering out (Unchecked) the new structure files and vice-versa with the new data structure query (Filtering out the old data structure files). That way both queries can run their distinct applied steps and load the resulting data from both into 1 table.</p>
  
  <p>The problem I am facing is that when I save a new file in that folder (new file saved weekly) both queries are running their applied steps to the new file resulting in expression errors. So I am forced to go into the query editor and go the the older data structure query, go into the filtered tables step and uncheck the new file, then go into the new data structure query, go into the filtered table step and make sure that the new file is checked in there.</p>
  
  <p>How can I go about automating this in a way where when a new file is saved, the older data structure query will not run it's applied steps but the new data structure query will?</p>
  
  <p>The Two Queries</p>
  
  <p><a href="https://i.stack.imgur.com/AuFkm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AuFkm.png" alt="enter image description here"></a></p>
  
  <p>Filtered Rows Step on the first query showing the old data structure files checked, and the new data structure files unchecked.</p>
  
  <p><a href="https://i.stack.imgur.com/CfM0o.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CfM0o.png" alt="enter image description here"></a></p>
  
  <p>Filtered Rows Step on the second Query showing the old data structure files un-checked and the new data structure files checked.</p>
  
  <p><a href="https://i.stack.imgur.com/59eX8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/59eX8.png" alt="enter image description here"></a></p>