<?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 Conditional Concatenation/Appending in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Conditional-Concatenation-Appending/m-p/2482968#M100967</link>
    <description>&lt;P&gt;I want to append latest/current week's data to a file wherein we have 6 month's data(excluding the current week) ,&lt;/P&gt;
&lt;P&gt;to do that I am using a peek function to look for the max date in the 6months data,&lt;/P&gt;
&lt;P&gt;and then wants to compare it with the latest week's max date , if the date&lt;STRONG&gt; matchs&lt;/STRONG&gt; that means we have &lt;STRONG&gt;concatenated&lt;/STRONG&gt; the data if it &lt;STRONG&gt;doesn't&lt;/STRONG&gt; match then &lt;STRONG&gt;we have to concatenate the latest week's file to 6 Month's file.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;For getting latest week's data we are using a REST Connector, 6 months data is stored as qvd&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;$(maxdate_latest) is the variable to peek into latest max date and&amp;nbsp;$(vmaxdate) is the variable for the 6months max date&lt;/P&gt;
&lt;P&gt;I'm using this script&lt;/P&gt;
&lt;P&gt;if '$(maxdate_latest)' &amp;lt;&amp;gt; '$(vmaxdate)' then&lt;BR /&gt;Reference_data:&lt;BR /&gt;load * from reference_qvd2;&lt;/P&gt;
&lt;P&gt;concatenate&lt;/P&gt;
&lt;P&gt;Streaming_data:&lt;/P&gt;
&lt;P&gt;load * from reference_qvd2;&lt;/P&gt;
&lt;P&gt;Else&lt;/P&gt;
&lt;P&gt;0;&lt;/P&gt;
&lt;P&gt;Endif;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2024 09:06:52 GMT</pubDate>
    <dc:creator>Kartik3</dc:creator>
    <dc:date>2024-09-23T09:06:52Z</dc:date>
    <item>
      <title>Conditional Concatenation/Appending</title>
      <link>https://community.qlik.com/t5/App-Development/Conditional-Concatenation-Appending/m-p/2482968#M100967</link>
      <description>&lt;P&gt;I want to append latest/current week's data to a file wherein we have 6 month's data(excluding the current week) ,&lt;/P&gt;
&lt;P&gt;to do that I am using a peek function to look for the max date in the 6months data,&lt;/P&gt;
&lt;P&gt;and then wants to compare it with the latest week's max date , if the date&lt;STRONG&gt; matchs&lt;/STRONG&gt; that means we have &lt;STRONG&gt;concatenated&lt;/STRONG&gt; the data if it &lt;STRONG&gt;doesn't&lt;/STRONG&gt; match then &lt;STRONG&gt;we have to concatenate the latest week's file to 6 Month's file.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;For getting latest week's data we are using a REST Connector, 6 months data is stored as qvd&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;$(maxdate_latest) is the variable to peek into latest max date and&amp;nbsp;$(vmaxdate) is the variable for the 6months max date&lt;/P&gt;
&lt;P&gt;I'm using this script&lt;/P&gt;
&lt;P&gt;if '$(maxdate_latest)' &amp;lt;&amp;gt; '$(vmaxdate)' then&lt;BR /&gt;Reference_data:&lt;BR /&gt;load * from reference_qvd2;&lt;/P&gt;
&lt;P&gt;concatenate&lt;/P&gt;
&lt;P&gt;Streaming_data:&lt;/P&gt;
&lt;P&gt;load * from reference_qvd2;&lt;/P&gt;
&lt;P&gt;Else&lt;/P&gt;
&lt;P&gt;0;&lt;/P&gt;
&lt;P&gt;Endif;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 09:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Conditional-Concatenation-Appending/m-p/2482968#M100967</guid>
      <dc:creator>Kartik3</dc:creator>
      <dc:date>2024-09-23T09:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Concatenation/Appending</title>
      <link>https://community.qlik.com/t5/App-Development/Conditional-Concatenation-Appending/m-p/2486060#M101339</link>
      <description>&lt;P&gt;Seems like incremental load to me. Try to use&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Member-Articles/Incremental-Load/ta-p/1478144" target="_blank"&gt;https://community.qlik.com/t5/Member-Articles/Incremental-Load/ta-p/1478144&lt;/A&gt;&amp;nbsp;with&amp;nbsp;&lt;A href="https://qlikviewcookbook.com/2015/05/better-calendar-scripts/" target="_blank"&gt;https://qlikviewcookbook.com/2015/05/better-calendar-scripts/&lt;/A&gt;&amp;nbsp;to get week field you may need.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 19:38:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Conditional-Concatenation-Appending/m-p/2486060#M101339</guid>
      <dc:creator>zar</dc:creator>
      <dc:date>2024-10-08T19:38:25Z</dc:date>
    </item>
  </channel>
</rss>

