<?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: Help Understanding a expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-Understanding-a-expression/m-p/1199198#M880154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So based on your dimension value, the number is assigned to it and that number is used to sort the list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Match([Month Name], 'Jan', 'Feb', 'March')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;will assign Jan = 1, Feb = 2, and March = 3 and this 1, 2, 3 are used to sort your list box based on ascending/descending order you choose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this what you wanted to understand?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Oct 2016 22:51:58 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-10-16T22:51:58Z</dc:date>
    <item>
      <title>Help Understanding a expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Understanding-a-expression/m-p/1199197#M880153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to qlikview .I am loading month into ListBox. The months were not displaying in proper sequence so i did some googling and got the below expression,&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14766261495881862 jive_text_macro" jivemacro_uid="_14766261495881862"&gt;
&lt;P&gt;=match([Month Name],'Jan','Feb','March')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above expression work for me and months were displayed in Jan,Feb,March.... i.e. as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i tried to figure out what does the expression means, the function "Match" according to qlik.com returns&amp;nbsp; "&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;returns the number of the expression that matches&lt;/SPAN&gt;". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i am not able to figure our the logic, match returns a number of expression that matches but how could that sort my items in ListBox.&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/Help-Understanding-a-expression/m-p/1199197#M880153</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help Understanding a expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Understanding-a-expression/m-p/1199198#M880154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So based on your dimension value, the number is assigned to it and that number is used to sort the list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Match([Month Name], 'Jan', 'Feb', 'March')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;will assign Jan = 1, Feb = 2, and March = 3 and this 1, 2, 3 are used to sort your list box based on ascending/descending order you choose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this what you wanted to understand?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Oct 2016 22:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Understanding-a-expression/m-p/1199198#M880154</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-16T22:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help Understanding a expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Understanding-a-expression/m-p/1199199#M880155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply, it help me understood the expression. I have 1 more question. When i select the month from the ListBox , then again the month are distorted. I have attached the image for more better understanding of my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="MonthSeq1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/140794_MonthSeq1.png" style="height: 139px; width: 620px;" /&gt;&lt;IMG alt="MonthSeq2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/140810_MonthSeq2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 04:43:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Understanding-a-expression/m-p/1199199#M880155</guid>
      <dc:creator />
      <dc:date>2016-10-17T04:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help Understanding a expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Understanding-a-expression/m-p/1199200#M880156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what you need then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Match(&lt;SPAN style="color: #ff0000;"&gt;Only({1}&lt;/SPAN&gt; [Month Name]&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;, 'Jan', 'Feb', 'March')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is that as soon as you select a particular month, the Month Name function only shows that particular month and then everything else become a 0. Adding {1} ignore any selection and your sort order stays intact.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 16:06:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Understanding-a-expression/m-p/1199200#M880156</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-17T16:06:11Z</dc:date>
    </item>
  </channel>
</rss>

