<?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: Expression Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408775#M816654</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bingo, that worked a treat thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Sep 2017 15:01:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-13T15:01:39Z</dc:date>
    <item>
      <title>Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408771#M816650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two fields, Supplier Number and Min Invoice Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I write an expression that counts all Supplier Numbers whereby the Min Invoice Date value falls within the previous month;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example a Supplier Number has a Min Invoice Date of 12/08/2017 so I want this to be counted as it falls between 01/08/2017 and 31/08/2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408771#M816650</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408772#M816651</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;= Count({&amp;lt; SupplierNum = {"$(= '&amp;gt;=' &amp;amp; MonthStart(Min(InvoiceDate)) &amp;amp; '&amp;lt;=' MonthEnd(Min(InvoiceDate)))"} &amp;gt;} SupplierNum)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or Create a Resident table to get MinInvoice data for those suppliersname like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD SupplierName,&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; Min(InvoiceDate) AS MinInvoiceDate&lt;/P&gt;&lt;P&gt;Resident YourActualTable&lt;/P&gt;&lt;P&gt;Group By SupplierName; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use this new Field in your set analysis. Like &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;= Count(DISTINCT {&amp;lt; SupplierNum = {"$(= '&amp;gt;=' &amp;amp; MonthStart(MinInvoiceDate) &amp;amp; '&amp;lt;=' &amp;amp; MonthEnd(MinInvoiceDate))"} &amp;gt;} SupplierNum)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 14:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408772#M816651</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-13T14:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408773#M816652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry change SupplierName to SupplierNumber. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 14:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408773#M816652</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-13T14:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408774#M816653</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;Count(DISTINCT {&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;[Supplier Number] = {"=Min([Invoice Date]) &amp;gt;= MakeDate(2017, 8, 1) and Min([Invoice Date]) &amp;lt;= MakeDate(2017, 8, 31)"}&lt;/SPAN&gt;&amp;gt;}[Supplier Number])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 14:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408774#M816653</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-13T14:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408775#M816654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bingo, that worked a treat thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 15:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408775#M816654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-13T15:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408776#M816655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That didn't work for me unfortunately. Thanks for responding though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 15:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408776#M816655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-13T15:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408777#M816657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I amend this so that it only shows suppliers that have their min invoice date within the month of selection (using a list box)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 09:33:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408777#M816657</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-15T09:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408778#M816658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand your data model well enough to answer this... would you be able to share a small sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 11:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408778#M816658</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-15T11:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408779#M816660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot share the app or the background data because it's stored on a server unfortunately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the below screen shot shows the selections that I want to determine the result in the New Suppliers expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, it's currently set as default to show the number used in the previous month based on today's date (so August 2017). I wish to make it so that the number of new suppliers shows the number used in a relevant month (so for example, 2nd January 2017) that weren't used prior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two fields that contains the data to base this on are [Supplier Number] and [Invoice Date]&lt;/P&gt;&lt;P&gt;&lt;IMG alt="New Suppliers.PNG" class="jive-image image-1" src="/legacyfs/online/176900_New Suppliers.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 08:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1408779#M816660</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-18T08:05:46Z</dc:date>
    </item>
  </channel>
</rss>

