<?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 write count(distinct feild) in data model script level in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-count-distinct-feild-in-data-model-script-level/m-p/1041773#M350533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two feilds coming from the same table &lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Id,&lt;/P&gt;&lt;P&gt;Purchase Tag,&lt;/P&gt;&lt;P&gt;Asset No&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to find out the duplicates in Purchase tag.&lt;/P&gt;&lt;P&gt;Ideally for a particular purchase tag only one asset no should be mapped.&lt;/P&gt;&lt;P&gt;If for the same purchase tag, more than one asset no is tagged means, it is a deviation and i need to highlight those issues.&lt;/P&gt;&lt;P&gt;How to highlight those issues???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jan 2016 05:03:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-21T05:03:21Z</dc:date>
    <item>
      <title>How to write count(distinct feild) in data model script level</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-count-distinct-feild-in-data-model-script-level/m-p/1041773#M350533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two feilds coming from the same table &lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Id,&lt;/P&gt;&lt;P&gt;Purchase Tag,&lt;/P&gt;&lt;P&gt;Asset No&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to find out the duplicates in Purchase tag.&lt;/P&gt;&lt;P&gt;Ideally for a particular purchase tag only one asset no should be mapped.&lt;/P&gt;&lt;P&gt;If for the same purchase tag, more than one asset no is tagged means, it is a deviation and i need to highlight those issues.&lt;/P&gt;&lt;P&gt;How to highlight those issues???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2016 05:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-count-distinct-feild-in-data-model-script-level/m-p/1041773#M350533</guid>
      <dc:creator />
      <dc:date>2016-01-21T05:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to write count(distinct feild) in data model script level</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-count-distinct-feild-in-data-model-script-level/m-p/1041774#M350534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Id,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Purchase Tag,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Asset No&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Join (Table1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Purchase Tag,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(Asset No) as CountCheck&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By Purchase Tag;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2016 17:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-count-distinct-feild-in-data-model-script-level/m-p/1041774#M350534</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-21T17:48:53Z</dc:date>
    </item>
  </channel>
</rss>

