<?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: Count Supplier Numbers based on Invoice Date against Selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435117#M813657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would create a new field in the LOAD script that stores for every supplier the minimum invoice date, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SupplierTable:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SupplierID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;FROM ...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;InvoiceTable:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SupplierID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InvoiceDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;FROM ...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN (SupplierTable)&lt;/P&gt;&lt;P&gt;LOAD SupplierID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName(Min (InvoiceDate)) as [Min Invoice Date]&lt;/P&gt;&lt;P&gt;RESIDENT InvoiceTable&lt;/P&gt;&lt;P&gt;GROUP BY SupplierID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then just make your selection in Min Invoice Date field and Count(DISTINCT SupplierID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Sep 2017 13:56:18 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2017-09-18T13:56:18Z</dc:date>
    <item>
      <title>Count Supplier Numbers based on Invoice Date against Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435112#M813652</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;I'm trying to write an expression that will count distinct Supplier Numbers based on their min invoice date against the year and months selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I have 2 out of 100 supplier number records with a min invoice date of Jun 20&lt;SPAN style="font-size: 10pt;"&gt;14. When I change my selections in the Month and Year list boxes to Jun and 2014, I want 2 to be returned.&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;Any ideas how I write this?&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;Someone has kindly helped me work out how find the min Invoice Date for each supplier number (without it changing when I change selections) - &lt;STRONG&gt;Month(Min( {1} [Invoice Date])) &amp;amp; Year(Min( {1} [Invoice Date]))&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;Many thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Gareth&lt;/SPAN&gt;&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/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435112#M813652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count Supplier Numbers based on Invoice Date against Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435113#M813653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gareth,&lt;/P&gt;&lt;P&gt;Try this in a textbox:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(aggr(if(min([Invoice Date]) = min({$&amp;lt;Year=,Month=&amp;gt;}[Invoice Date]),SupplierID),&lt;SPAN style="font-size: 13.3333px;"&gt;SupplierID&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 13:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435113#M813653</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-09-18T13:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Count Supplier Numbers based on Invoice Date against Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435114#M813654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Nope it doesn't quite work. It's a shame my app and data is stored on my server otherwise I could share it with you all and it would make it easier for you guys when I ask for help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running a manual check by listing every supplier number in one column and their Min Invoice Date, there should be 14 in Aug 2017, however if I select Aug 2017 in the relevant list &lt;SPAN style="font-size: 10pt;"&gt;boxes, it returns 42 as the &lt;/SPAN&gt;result&lt;SPAN style="font-size: 10pt;"&gt; of the 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;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Gareth&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 13:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435114#M813654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-18T13:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count Supplier Numbers based on Invoice Date against Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435115#M813655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gareth,&lt;/P&gt;&lt;P&gt;Try it again with the DISTINCT keyword:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(&lt;STRONG&gt;DISTINCT&lt;/STRONG&gt; aggr(if(min([Invoice Date]) = min({$&amp;lt;Year=,Month=&amp;gt;}[Invoice Date]),SupplierID),SupplierID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 13:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435115#M813655</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-09-18T13:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Count Supplier Numbers based on Invoice Date against Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435116#M813656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, the result is still the same.&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>Mon, 18 Sep 2017 13:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435116#M813656</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-18T13:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Count Supplier Numbers based on Invoice Date against Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435117#M813657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would create a new field in the LOAD script that stores for every supplier the minimum invoice date, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SupplierTable:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SupplierID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;FROM ...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;InvoiceTable:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SupplierID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InvoiceDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;FROM ...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN (SupplierTable)&lt;/P&gt;&lt;P&gt;LOAD SupplierID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName(Min (InvoiceDate)) as [Min Invoice Date]&lt;/P&gt;&lt;P&gt;RESIDENT InvoiceTable&lt;/P&gt;&lt;P&gt;GROUP BY SupplierID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then just make your selection in Min Invoice Date field and Count(DISTINCT SupplierID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 13:56:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435117#M813657</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-18T13:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Count Supplier Numbers based on Invoice Date against Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435118#M813658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately I cannot load script, we are barred by our administrator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 14:19:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435118#M813658</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-18T14:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count Supplier Numbers based on Invoice Date against Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435119#M813659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, then you can create a list box with a field expression (select &amp;lt;expression&amp;gt; from the field drop down on general tab):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr( MonthName( Min({1} InvoiceDate)), Supplier)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select a value from the list box and count(distinct Supplier)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 14:26:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435119#M813659</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-18T14:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Count Supplier Numbers based on Invoice Date against Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435120#M813660</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;Something like this should work, whereby counting all the distinct supplier numbers with a "1", however my expression has an error. Any ideas where this is going wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({&amp;lt;If(Year(Min( {1} [Invoice Date])) = GetFieldSelections(Year) And (Month(Min( {1} [Invoice Date])) = GetFieldSelections(Month)), 1, 0) &amp;gt;}Distinct [Supplier Number])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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>Tue, 19 Sep 2017 08:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435120#M813660</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-19T08:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Count Supplier Numbers based on Invoice Date against Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435121#M813662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This won't work because you can only use field names left of the equal sign in a set analysis field selection modifier. you can't use expressions like Year(Min(Date)) here, and you can't just use GetFieldSelections() on the right side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use set analysis, I would suggest creating the field in the data model as indicated above.&lt;/P&gt;&lt;P&gt;There are other alternatives using set analysis, but it's crucial to know your data model and data if you need help here, since we need to know how your current selections may influence the record set. Also Qlik is a little picky when it comes to making date field selection modifications in set analysis. Format of the date field may be important.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it is helpful if you can create and upload a small sample QVW with some mock up data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 09:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435121#M813662</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-19T09:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Count Supplier Numbers based on Invoice Date against Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435122#M813666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok dummy file attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm looking for a textbox that will give the number of suppliers used within any selection made on the year and month list boxes using the min value of their invoice date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 10:24:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435122#M813666</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-19T10:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Count Supplier Numbers based on Invoice Date against Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435123#M813667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An expression using advanced aggregation could look like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count( DISTINCT Aggr( If( Year(Min({1} [Invoice Date]))=Year and Month(Min({1} [Invoice Date]))=Month, [Supplier Number]), [Supplier Number]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 10:57:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435123#M813667</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-19T10:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Count Supplier Numbers based on Invoice Date against Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435124#M813668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And using set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;[Supplier Number] = {"=Year(Min({1} [Invoice Date]))=Year and Month(Min({1} [Invoice Date]))=Month"}&amp;gt;}DISTINCT [Supplier Number])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 11:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435124#M813668</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-19T11:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Count Supplier Numbers based on Invoice Date against Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435125#M813669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you generate your Month &amp;amp; Year fields using date functions so they are held as dual values not text &lt;SPAN style="font-size: 13.3333px;"&gt;then this expression will work in a text box.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; year([Invoice Date]) as Year,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month([Invoice Date]) as Month,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;=count({1 &amp;lt;Year={"&amp;lt;= $(=max(Year))"}, Month={"&amp;lt;= $(=max(Month))"}&amp;gt;} distinct&amp;nbsp; [Supplier Number])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 12:33:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435125#M813669</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2017-09-19T12:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Count Supplier Numbers based on Invoice Date against Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435126#M813670</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;New dummy file - our administrator will create the variable for us on the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, with this in mind, what expression will be needed in the text box to return the correct value (for current selection (Jan 2015), should be 74)?&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>Thu, 21 Sep 2017 10:59:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435126#M813670</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-21T10:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Count Supplier Numbers based on Invoice Date against Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435127#M813671</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;Thanks for your help, I managed to get this suggestion to work in my dummy file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way of doing without the additional list box and use the existing Year and Month list boxes already existing?&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>Tue, 26 Sep 2017 13:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435127#M813671</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-26T13:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Count Supplier Numbers based on Invoice Date against Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435128#M813672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've already posted two expressions that work on your unmodified data model, both return 74.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 15:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Supplier-Numbers-based-on-Invoice-Date-against-Selections/m-p/1435128#M813672</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-26T15:40:32Z</dc:date>
    </item>
  </channel>
</rss>

