<?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 greater than one expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-greater-than-one-expression/m-p/1390874#M459178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I need to write a expression to display only those prices where count of distinct prices are greater than 1 for a &lt;SPAN style="font-size: 10pt;"&gt; materials and plants combination&lt;/SPAN&gt;&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;so i wrote this expression&lt;/SPAN&gt;&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;&lt;STRONG&gt;Aggr(If(Count({&amp;lt;SCOPE={'Yes'}, VALIDTO ={"&amp;gt;$(=Date(today(),'DD-MM-YYYY'))"}&amp;gt;} DISTINCT PRICE_MAT) &amp;gt; 1, sum({&amp;lt;SCOPE={'Yes'}, VALIDTO ={"&amp;gt;$(=Date(today(),'DD-MM-YYYY'))"}&amp;gt;}DISTINCT PRICE_MAT)),[MATERIAL CODE],[PLANT CODE])&lt;/STRONG&gt;&lt;/SPAN&gt;&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;so what i got is this()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181695_Capture1.PNG" style="height: 61px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;The Above expression is picking only one supplier even though it is having 6 distinct supplier ,so what should i need to change in my expression to get display all the supplier for that material plant combination&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/181696_Capture.PNG" style="height: 205px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Nov 2017 07:18:52 GMT</pubDate>
    <dc:creator>naveen_kunuru</dc:creator>
    <dc:date>2017-11-01T07:18:52Z</dc:date>
    <item>
      <title>How to write greater than one expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-greater-than-one-expression/m-p/1390874#M459178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I need to write a expression to display only those prices where count of distinct prices are greater than 1 for a &lt;SPAN style="font-size: 10pt;"&gt; materials and plants combination&lt;/SPAN&gt;&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;so i wrote this expression&lt;/SPAN&gt;&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;&lt;STRONG&gt;Aggr(If(Count({&amp;lt;SCOPE={'Yes'}, VALIDTO ={"&amp;gt;$(=Date(today(),'DD-MM-YYYY'))"}&amp;gt;} DISTINCT PRICE_MAT) &amp;gt; 1, sum({&amp;lt;SCOPE={'Yes'}, VALIDTO ={"&amp;gt;$(=Date(today(),'DD-MM-YYYY'))"}&amp;gt;}DISTINCT PRICE_MAT)),[MATERIAL CODE],[PLANT CODE])&lt;/STRONG&gt;&lt;/SPAN&gt;&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;so what i got is this()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181695_Capture1.PNG" style="height: 61px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;The Above expression is picking only one supplier even though it is having 6 distinct supplier ,so what should i need to change in my expression to get display all the supplier for that material plant combination&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/181696_Capture.PNG" style="height: 205px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 07:18:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-greater-than-one-expression/m-p/1390874#M459178</guid>
      <dc:creator>naveen_kunuru</dc:creator>
      <dc:date>2017-11-01T07:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to write greater than one expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-greater-than-one-expression/m-p/1390875#M459179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create two profiles to ask the same question? Look for my response here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/280036"&gt;How to write a greater than expression&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 11:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-greater-than-one-expression/m-p/1390875#M459179</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-01T11:19:55Z</dc:date>
    </item>
  </channel>
</rss>

