<?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: How to write a greater than expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-a-greater-than-expression/m-p/1390622#M459177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(If(Count(&lt;SPAN style="color: #ff0000;"&gt;TOTAL &amp;lt;[MATERIAL CODE], [PLANT CODE]&amp;gt;&lt;/SPAN&gt; {&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], Supplier)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Nov 2017 08:53:09 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-11-01T08:53:09Z</dc:date>
    <item>
      <title>How to write a greater than expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-a-greater-than-expression/m-p/1390620#M459175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; vertical-align: baseline; color: #3d3d3d; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;Hello All,&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; vertical-align: baseline; color: #3d3d3d; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; vertical-align: baseline; color: #3d3d3d; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&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-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;materials and plants combination&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; vertical-align: baseline; color: #3d3d3d; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; vertical-align: baseline; color: #3d3d3d; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;so i wrote this expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; vertical-align: baseline; color: #3d3d3d; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; vertical-align: baseline; color: #3d3d3d; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&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 style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; vertical-align: baseline; color: #3d3d3d; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; vertical-align: baseline; color: #3d3d3d; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;so what i got is this()&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; vertical-align: baseline; color: #3d3d3d; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-1372923-181695/Capture1.PNG" style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #3778c7;"&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/181700_Capture1.PNG" style="width: 620px; height: 61px;" /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; vertical-align: baseline; color: #3d3d3d; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; 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 style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; vertical-align: baseline; color: #3d3d3d; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;IMG alt="Capture.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/181701_Capture.PNG" style="width: 620px; height: 205px;" /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/181696_Capture.PNG"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; vertical-align: baseline; color: #3d3d3d; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 08:25:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-a-greater-than-expression/m-p/1390620#M459175</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2017-11-01T08:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a greater than expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-a-greater-than-expression/m-p/1390621#M459176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be add Supplier to your Aggr() function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;SPAN style="color: #ff0000;"&gt;Supplier&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 08:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-a-greater-than-expression/m-p/1390621#M459176</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-01T08:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a greater than expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-a-greater-than-expression/m-p/1390622#M459177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(If(Count(&lt;SPAN style="color: #ff0000;"&gt;TOTAL &amp;lt;[MATERIAL CODE], [PLANT CODE]&amp;gt;&lt;/SPAN&gt; {&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], Supplier)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 08:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-a-greater-than-expression/m-p/1390622#M459177</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-01T08:53:09Z</dc:date>
    </item>
  </channel>
</rss>

