title: Intertwine time-series data from different data sources in Tableau
body: <p>I have 2 data sources:</p>
  
  <p>Source 1:</p>
  
  <pre><code>x,y,z,timestamp
  1,2,3,1526867601  // Discarded
  2,2,4,1526867602 // Discarded
  3,2,5,1526867603
  4,2,6,1526867604
  5,2,7,1526867605
  6,2,8,1526867606
  8,2,9,1526867607 // Discarded
  9,3,3,1526867608 // Discarded
  10,3,3,1526867609
  11,3,3,1526867610
  12,3,3,1526867611
  </code></pre>
  
  <p>Source 2:</p>
  
  <pre><code>event,timestamp
  start,1526867603
  stop,1526867606
  start,1526867609
  stop,1526867611
  </code></pre>
  
  <p>Expected output after filtering <code>source 1</code> against <code>source 2</code>:</p>
  
  <pre><code>3,2,5,1526867603
  4,2,6,1526867604
  5,2,7,1526867605
  6,2,8,1526867606
  10,3,3,1526867609
  11,3,3,1526867610
  12,3,3,1526867611
  </code></pre>
  
  <p>As you can see, <code>Source 2</code> will create a bunch of time intervals. I want to be able to filter for rows in <code>Source 1</code> whose timestamp value falls in any of the valid time intervals mentioned..</p>
  
  <p>I've tried using Tableau Prep and Tableau Desktop but couldn't figure out a way to do filtering on multiple sources.. Please help!</p>