<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Take output from one query as paramter for another query in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Take-output-from-one-query-as-parameter-for-another-query/m-p/1753718#M591227</link>
    <description>&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Master"&gt;Dear &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Master"&gt;Could you please share any example of that?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Oct 2020 12:13:11 GMT</pubDate>
    <dc:creator>Edge</dc:creator>
    <dc:date>2020-10-19T12:13:11Z</dc:date>
    <item>
      <title>Take output from one query as parameter for another query</title>
      <link>https://community.qlik.com/t5/QlikView/Take-output-from-one-query-as-parameter-for-another-query/m-p/1753623#M591225</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is it possible to take the output of one SQL query as a parameter for the next query?&lt;/P&gt;&lt;P&gt;e.g. I run query A. Get a single value (a number from query A). Use that value as a parameter for query B.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:46:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Take-output-from-one-query-as-parameter-for-another-query/m-p/1753623#M591225</guid>
      <dc:creator>Edge</dc:creator>
      <dc:date>2024-11-15T23:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Take output from one query as paramter for another query</title>
      <link>https://community.qlik.com/t5/QlikView/Take-output-from-one-query-as-parameter-for-another-query/m-p/1753673#M591226</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/60006"&gt;@Edge&lt;/a&gt;&amp;nbsp; in Load you can use for example Let and Set to peek value and use it as variable in other Load&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 10:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Take-output-from-one-query-as-parameter-for-another-query/m-p/1753673#M591226</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-10-19T10:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Take output from one query as paramter for another query</title>
      <link>https://community.qlik.com/t5/QlikView/Take-output-from-one-query-as-parameter-for-another-query/m-p/1753718#M591227</link>
      <description>&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Master"&gt;Dear &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Master"&gt;Could you please share any example of that?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 12:13:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Take-output-from-one-query-as-parameter-for-another-query/m-p/1753718#M591227</guid>
      <dc:creator>Edge</dc:creator>
      <dc:date>2020-10-19T12:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Take output from one query as paramter for another query</title>
      <link>https://community.qlik.com/t5/QlikView/Take-output-from-one-query-as-parameter-for-another-query/m-p/1753721#M591228</link>
      <description>&lt;P&gt;if I understood correctly &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/60006"&gt;@Edge&lt;/a&gt;&amp;nbsp; for example to create MasterCalendar, we use Let varMinDate to peek min value&lt;/P&gt;&lt;P&gt;and we use it to generate rows&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;min(OrderDate) as minDate,&lt;/P&gt;&lt;P&gt;max(OrderDate) as maxDate&lt;/P&gt;&lt;P&gt;Resident Orders;&lt;/P&gt;&lt;P&gt;Let varMinDate = Num(Peek('minDate', 0, 'Temp'));&lt;/P&gt;&lt;P&gt;Let varMaxDate = Num(Peek('maxDate', 0, 'Temp'));&lt;/P&gt;&lt;P&gt;DROP Table Temp;&lt;/P&gt;&lt;P&gt;TempCalendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;$(varMinDate) + Iterno()-1 As Num,&lt;/P&gt;&lt;P&gt;Date($(varMinDate) + IterNo() - 1) as TempDate&lt;/P&gt;&lt;P&gt;AutoGenerate 1 While $(varMinDate) + IterNo() -1 &amp;lt;= $(varMaxDate);&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 12:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Take-output-from-one-query-as-parameter-for-another-query/m-p/1753721#M591228</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-10-19T12:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Take output from one query as paramter for another query</title>
      <link>https://community.qlik.com/t5/QlikView/Take-output-from-one-query-as-parameter-for-another-query/m-p/1756158#M591229</link>
      <description>&lt;P&gt;Many Thanks &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt; . It has worked as expected :).&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 10:01:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Take-output-from-one-query-as-parameter-for-another-query/m-p/1756158#M591229</guid>
      <dc:creator>Edge</dc:creator>
      <dc:date>2020-10-27T10:01:16Z</dc:date>
    </item>
  </channel>
</rss>

