<?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: Exits with more conditions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Exits-with-more-conditions/m-p/1665428#M50089</link>
    <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp; already suggested that you need to change the underlying logic of creating QVDS which should generate the QVDs with dates that belongs to particular year.&lt;/P&gt;&lt;P&gt;But for time being, you can do something like below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Date:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Load date(&lt;FONT color="#FF6600"&gt;makedate(2020,1,1)&lt;/FONT&gt; + iterno()-1,'DD.MM.YYYY') as&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;DATE&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;SPAN&gt;autogenerate 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;while makedate(2019,12,31) + iterno()-1 &amp;lt;=&lt;/SPAN&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;makedate(2020,12,31)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;load *&lt;BR /&gt;FROM [Data_2020.Qvd](Qvd)&lt;BR /&gt;where exists (&lt;STRONG&gt;&lt;FONT color="#008000"&gt;DATE&lt;/FONT&gt;&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;concatenate(Data)&lt;BR /&gt;load *&lt;BR /&gt;FROM [Data_2019.Qvd](Qvd);&lt;/P&gt;&lt;P&gt;concatenate(Data)&lt;BR /&gt;load *&lt;BR /&gt;FROM [Data_2018.Qvd](Qvd);&lt;/P&gt;&lt;P&gt;Note: In exists I just put condition of DATE as you mentioned is it ok if you don't have it for ID_NUMBER.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jan 2020 14:01:41 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2020-01-14T14:01:41Z</dc:date>
    <item>
      <title>Exits with more conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Exits-with-more-conditions/m-p/1665368#M50079</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;Can you help me about using exists function?&lt;/P&gt;&lt;P&gt;How to use in better way something like:&lt;/P&gt;&lt;P&gt;"WHERE exists(ID_NUMBER) AND DATE&amp;gt;'31.12.2019'?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This make load very slowly...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jasmina&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 21:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exits-with-more-conditions/m-p/1665368#M50079</guid>
      <dc:creator>jasmina_karcic</dc:creator>
      <dc:date>2021-12-20T21:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Exits with more conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Exits-with-more-conditions/m-p/1665380#M50081</link>
      <description>&lt;P&gt;May be you can create list of Date values which you need to apply as a filter and use it in exists&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date:&lt;BR /&gt;Load date(makedate(2019,12,31) + iterno()-1,'DD.MM.YYYY') as &lt;FONT color="#008000"&gt;&lt;STRONG&gt;DATE&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;autogenerate 1&lt;BR /&gt;while makedate(2019,12,31) + iterno()-1 &amp;lt;=&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt; makedate(2020,12,31)&lt;/STRONG&gt;&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;Note: change the highlighted to make sure that you create the Dates till when you require.&amp;nbsp; Also, this load statement should be before your actual data load.&lt;/P&gt;&lt;P&gt;Now you can use the condition like below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"WHERE exists(ID_NUMBER) AND exists(&lt;FONT color="#008000"&gt;&lt;STRONG&gt;DATE&lt;/STRONG&gt;&lt;/FONT&gt;)?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 12:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exits-with-more-conditions/m-p/1665380#M50081</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-14T12:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Exits with more conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Exits-with-more-conditions/m-p/1665382#M50082</link>
      <description>&lt;P&gt;You could try to use two loadings like:&lt;/P&gt;&lt;P&gt;dummy: load date(floor(yearstart(today) + recno() - 1)) as DATE autogenerate daynumberofyears(today());&lt;/P&gt;&lt;P&gt;t1: load ... from ... where exists(DATE);&lt;BR /&gt;t2: noconcatenate load ... resident t1 where exists(ID_NUMBER);&lt;/P&gt;&lt;P&gt;You may need further to adjust your load-order and/or to rename some of your fields to ensure that your fields within the exists() contain exactly your wanted values. You may also store/drop the intermediated step and loading the second one from a qvd, too.&lt;/P&gt;&lt;P&gt;The only alternatively seems to be to concat both fields in beforehand so that it would be just a single parameter-field which is queried in the exists().&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 12:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exits-with-more-conditions/m-p/1665382#M50082</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-01-14T12:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Exits with more conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Exits-with-more-conditions/m-p/1665386#M50083</link>
      <description>&lt;P&gt;Sounds good, I must try, I will try explain better&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This application is like a financial report. I am watching 2018, 2019, and 2020 year, for every each date in these years.&lt;/P&gt;&lt;P&gt;Ehh I made qvd for 2018, qvd for 2019, but last qvd look last 13 months (I don't need all, because I will get duplicate data, I just need from 1.1.2020).&lt;/P&gt;&lt;P&gt;I want load 2018, on this table concatenate 2019, both from qvd that I dont reload anymore, because old data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;From 1.1.2020 to now also i concatenate to these tables up, and i must restrict with date&amp;gt;31.12.2019.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be all okay If I don't need restrict also ID_NUMBER.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 12:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exits-with-more-conditions/m-p/1665386#M50083</guid>
      <dc:creator>jasmina_karcic</dc:creator>
      <dc:date>2020-01-14T12:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Exits with more conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Exits-with-more-conditions/m-p/1665392#M50084</link>
      <description>&lt;P&gt;I think I would try to ensure that my qvd-sources for this task are on a clean yearly-level - it may cost you an additional step in beforehand if you couldn't change the logic which originally creates them.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 12:49:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exits-with-more-conditions/m-p/1665392#M50084</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-01-14T12:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exits with more conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Exits-with-more-conditions/m-p/1665428#M50089</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp; already suggested that you need to change the underlying logic of creating QVDS which should generate the QVDs with dates that belongs to particular year.&lt;/P&gt;&lt;P&gt;But for time being, you can do something like below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Date:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Load date(&lt;FONT color="#FF6600"&gt;makedate(2020,1,1)&lt;/FONT&gt; + iterno()-1,'DD.MM.YYYY') as&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;DATE&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;SPAN&gt;autogenerate 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;while makedate(2019,12,31) + iterno()-1 &amp;lt;=&lt;/SPAN&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;makedate(2020,12,31)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;load *&lt;BR /&gt;FROM [Data_2020.Qvd](Qvd)&lt;BR /&gt;where exists (&lt;STRONG&gt;&lt;FONT color="#008000"&gt;DATE&lt;/FONT&gt;&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;concatenate(Data)&lt;BR /&gt;load *&lt;BR /&gt;FROM [Data_2019.Qvd](Qvd);&lt;/P&gt;&lt;P&gt;concatenate(Data)&lt;BR /&gt;load *&lt;BR /&gt;FROM [Data_2018.Qvd](Qvd);&lt;/P&gt;&lt;P&gt;Note: In exists I just put condition of DATE as you mentioned is it ok if you don't have it for ID_NUMBER.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 14:01:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exits-with-more-conditions/m-p/1665428#M50089</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-14T14:01:41Z</dc:date>
    </item>
  </channel>
</rss>

