<?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: Distinct values in a list box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Distinct-values-in-a-list-box/m-p/1075718#M936998</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stefan apparently there was a problem in my model and I fixed it which ultimately resolved the issue in list box as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Feb 2016 19:49:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-10T19:49:09Z</dc:date>
    <item>
      <title>Distinct values in a list box</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-values-in-a-list-box/m-p/1075715#M936994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;sunindia&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quick qn, I have same values being displayed multiple times in list box due to some concatenations I have in my model.&lt;/P&gt;&lt;P&gt;Is there a way to only display only the distinct values in the list box. I don't see the distinct function while trying to write expression in the list box.&lt;/P&gt;&lt;P&gt;The name of the field is [Report Month]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Roy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 19:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-values-in-a-list-box/m-p/1075715#M936994</guid>
      <dc:creator />
      <dc:date>2016-02-08T19:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct values in a list box</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-values-in-a-list-box/m-p/1075716#M936996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How have you create this field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume you have used a formatting function like Date() that keeps the underlying numeric value. So If you format a date as Year Month, you will get a list box entry per date, showing same Text representation for same Year Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use e.g&lt;EM&gt;. MonthName(DateField)&lt;/EM&gt; function instead, or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Date( Monthstart( DateField), 'MMM YYYY')&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 21:19:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-values-in-a-list-box/m-p/1075716#M936996</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-08T21:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct values in a list box</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-values-in-a-list-box/m-p/1075717#M936997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello roy,&lt;/P&gt;&lt;P&gt;List boxes will always shown distinct values.&lt;/P&gt;&lt;P&gt;Here you are seeing multiple values because each of the month year values must be having different day.&lt;/P&gt;&lt;P&gt;for eg:&lt;/P&gt;&lt;P&gt;MONTH_YEAR: 1-Nov-2015, 4-Nov-2015, 7-Nov-2015&lt;/P&gt;&lt;P&gt;if you show this in list box as month year as per your attached screen shot you will definitely see 3 values, because each of them belongs to different day, no matter even if you cast them to month year in UI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would suggest you to cast your date filed values as this in your SCRIPT:&lt;/P&gt;&lt;P&gt;monthName([date filed]) as Month_Year,&lt;/P&gt;&lt;P&gt;this will make dates to 1st day of the month, now when you call this in the list box it will surely show you one value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 21:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-values-in-a-list-box/m-p/1075717#M936997</guid>
      <dc:creator>harsh44_bhatia</dc:creator>
      <dc:date>2016-02-08T21:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct values in a list box</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-values-in-a-list-box/m-p/1075718#M936998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stefan apparently there was a problem in my model and I fixed it which ultimately resolved the issue in list box as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 19:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-values-in-a-list-box/m-p/1075718#M936998</guid>
      <dc:creator />
      <dc:date>2016-02-10T19:49:09Z</dc:date>
    </item>
  </channel>
</rss>

