<?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: If Statement QVD in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/If-Statement-QVD/m-p/1417439#M33520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the explanation. I have not used a Resident table so I am rather confused. Are you willing to put my use case in the appropriate format for my load script?&amp;nbsp; I would really appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Sep 2017 18:15:16 GMT</pubDate>
    <dc:creator>kroberts13</dc:creator>
    <dc:date>2017-09-12T18:15:16Z</dc:date>
    <item>
      <title>If Statement QVD</title>
      <link>https://community.qlik.com/t5/App-Development/If-Statement-QVD/m-p/1417434#M33515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with a QVD that looks like this:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TX_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CM_PHY_OWNER_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CM_LOG_OWNER_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OLD_ETR_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; REPOSTED_ETR_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; REPOST_TYPE_C,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IS_PREV_VOID_C&lt;/P&gt;&lt;P&gt;FROM [lib://Transform QVD Path (osumc_helpstar)/ARPB_TX_VOID.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I am trying to write using the QVD:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: Consolas; font-size: 9.5pt;"&gt;CASE&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: Consolas; font-size: 9.5pt;"&gt;WHEN&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt; tdl&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt;DETAIL_TYPE &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: Consolas; font-size: 9.5pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: Consolas; font-size: 9.5pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt;void&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt;OLD_ETR_ID &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;IS&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;NULL&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt; void&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt;REPOSTED_ETR_ID &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;IS&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;NULL)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: Consolas; font-size: 9.5pt;"&gt;THEN&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: fuchsia; font-family: Consolas; font-size: 9.5pt;"&gt;cast&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt;tdl&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt;[ORIG_POST_DATE] &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt; tdl&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt;[ORIG_SERVICE_DATE] &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: Consolas; font-size: 9.5pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: Consolas; font-size: 9.5pt;"&gt;integer&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-family: Consolas; font-size: 9.5pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: Consolas; font-size: 9.5pt;"&gt;END&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: Consolas; font-size: 9.5pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 9.5pt;"&gt; ORIGINAL_LAG_SERVICE_TO_POST&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**DETAIL TYPE AND THE DATES are from a different QVD that I would be Joining to&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 12:12:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Statement-QVD/m-p/1417434#M33515</guid>
      <dc:creator>kroberts13</dc:creator>
      <dc:date>2017-08-31T12:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement QVD</title>
      <link>https://community.qlik.com/t5/App-Development/If-Statement-QVD/m-p/1417435#M33516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kyle,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use if statement &amp;amp; resident load to get the data from the second QVD.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If(&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: black;"&gt;tdl&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: black;"&gt;DETAIL_TYPE =&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: black;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: blue;"&gt; ISNUll(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: black;"&gt;void&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: black;"&gt;OLD_ETR_ID)&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: black;"&gt; IsNull(void&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: black;"&gt;REPOSTED_ETR_ID&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;), &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: black; font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #ff00ff; font-style: inherit; font-size: 9.5pt; font-family: Consolas; font-weight: inherit;"&gt;INTERVAL&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: black; font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt;tdl&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: black; font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt;[ORIG_POST_DATE] &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: black; font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt; tdl&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: black; font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt;[ORIG_SERVICE_DATE] ,'dd') ) &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: black;"&gt; ORIGINAL_LAG_SERVICE_TO_POST&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 12:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Statement-QVD/m-p/1417435#M33516</guid>
      <dc:creator>ankur_abhishek</dc:creator>
      <dc:date>2017-08-31T12:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement QVD</title>
      <link>https://community.qlik.com/t5/App-Development/If-Statement-QVD/m-p/1417436#M33517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have not used a Resident load in this type of use case. How would it look if I am trying to get the "TDL" fields from this QVD?:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DETAIL_TYPE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; POST_DATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ORIG_SERVICE_DATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ORIG_POST_DATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TX_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HAR&lt;/P&gt;&lt;P&gt;FROM [lib://Transform QVD Path (osumc_helpstar)/FactTable.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 15:49:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Statement-QVD/m-p/1417436#M33517</guid>
      <dc:creator>kroberts13</dc:creator>
      <dc:date>2017-08-31T15:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement QVD</title>
      <link>https://community.qlik.com/t5/App-Development/If-Statement-QVD/m-p/1417437#M33518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any thoughts on this? I really appreciate it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2017 17:05:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Statement-QVD/m-p/1417437#M33518</guid>
      <dc:creator>kroberts13</dc:creator>
      <dc:date>2017-09-06T17:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement QVD</title>
      <link>https://community.qlik.com/t5/App-Development/If-Statement-QVD/m-p/1417438#M33519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The general logic will be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t1:&lt;/P&gt;&lt;P&gt;load Key(s), FurtherFields from QVD;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; join&lt;/P&gt;&lt;P&gt;load Key(s), ExtraFields from OtherSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t2:&lt;/P&gt;&lt;P&gt;load *, CreateNewField resident t1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop tables t1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whereby you need to use an if-loop with your conditions instead of a case-statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternative would be to load your ExtraFields at first within a mapping table and than using applymap() to access these values within your qvd-load: &lt;A href="https://community.qlik.com/qlik-blogpost/4125"&gt;Mapping as an Alternative to Joining&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 10:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Statement-QVD/m-p/1417438#M33519</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-09-07T10:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement QVD</title>
      <link>https://community.qlik.com/t5/App-Development/If-Statement-QVD/m-p/1417439#M33520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the explanation. I have not used a Resident table so I am rather confused. Are you willing to put my use case in the appropriate format for my load script?&amp;nbsp; I would really appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2017 18:15:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Statement-QVD/m-p/1417439#M33520</guid>
      <dc:creator>kroberts13</dc:creator>
      <dc:date>2017-09-12T18:15:16Z</dc:date>
    </item>
  </channel>
</rss>

