title: how to export multiple sheets from multiples querys whit Laravel Excel?
body: <p>I need to create a report in excel in Laravel 8, with several specific queries, and each query is saved in a different excel sheet, the laravel excel documentation does not explain it.</p>
  <p>Does anyone know how is the structure to do this?</p>
  <p>i have this queries:</p>
  <pre><code>$cursosvigentes = Reporte::selectRaw('concat(users.firstSurname, &quot; &quot;, users.secondSurname) AS fullSurname, concat(users.firstName,&quot; &quot;, users.secondName) AS fullName, users.documento, capacitaciones.capacitacion, capacitaciones.fi, capacitaciones.fv, datediff(capacitaciones.fv, ?) AS diff',[$date])
          -&gt;join('users','capacitaciones.id_usuario','=','users.documento')
          -&gt;whereRaw(' datediff(capacitaciones.fv, ? ) &lt; ?', [$date, 30])
          -&gt;whereRaw(' datediff(capacitaciones.fv, ? ) &gt; ?', [$date, 0])-&gt;get();
  
      $datostrabajadores = User::select('documento')-&gt;get();
  </code></pre>