<?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 How to find a single record in a data source in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-find-a-single-record-in-a-data-source/m-p/1601688#M444469</link>
    <description>&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;I have following data table in my QV doc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.png" style="width: 345px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15323i7B939124CC693AC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_1.png" alt="Screenshot_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;From the data table I want to mark record highlighted in yellow as Y in a separate field namely&amp;nbsp; 'FLAG'&amp;nbsp; In other words all single record (RISK) with TRN_TYPE= 'R' should be marked as 'Y' in the FLAG field in Data load script. Kindly help me with syntax for it .&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jul 2019 08:01:36 GMT</pubDate>
    <dc:creator>upaliwije</dc:creator>
    <dc:date>2019-07-12T08:01:36Z</dc:date>
    <item>
      <title>How to find a single record in a data source</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-a-single-record-in-a-data-source/m-p/1601688#M444469</link>
      <description>&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;I have following data table in my QV doc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.png" style="width: 345px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15323i7B939124CC693AC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_1.png" alt="Screenshot_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;From the data table I want to mark record highlighted in yellow as Y in a separate field namely&amp;nbsp; 'FLAG'&amp;nbsp; In other words all single record (RISK) with TRN_TYPE= 'R' should be marked as 'Y' in the FLAG field in Data load script. Kindly help me with syntax for it .&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 08:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-a-single-record-in-a-data-source/m-p/1601688#M444469</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2019-07-12T08:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a single record in a data source</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-a-single-record-in-a-data-source/m-p/1603862#M444555</link>
      <description>&lt;P&gt;When loading your data in the script, just create another field called FLAG. Like:&lt;/P&gt;&lt;P&gt;LOAD [POLICY_NO],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [R_SEQ],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [RISK],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [TRN_TYPE],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [FROM_DATE],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (count([RISK]) = 1 and [TRN_TYPE] = 'R', 'Y', 'N') as [FLAG]&lt;/P&gt;&lt;P&gt;FROM ….&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 17:43:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-a-single-record-in-a-data-source/m-p/1603862#M444555</guid>
      <dc:creator>lockematthewp</dc:creator>
      <dc:date>2019-07-18T17:43:51Z</dc:date>
    </item>
  </channel>
</rss>

