<?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 sort based on 2 string values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-sort-based-on-2-string-values/m-p/1080280#M523796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didnt understand you properly, might be asking to sort this order as per your requirement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Properties-&amp;gt; Sort-&amp;gt; Expression to sort&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(Grounp&amp;amp;FunctionField='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Agent - ABC', 1,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;IF(Grounp&amp;amp;FunctionField='&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Agent - BBB', 2,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;IF(Grounp&amp;amp;FunctionField='&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Agent - CCC', 3,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;IF(Grounp&amp;amp;FunctionField='&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Agent - DDD', 4))))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With above expression you can change the order, hope this well help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Mar 2016 07:40:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-03T07:40:30Z</dc:date>
    <item>
      <title>How to sort based on 2 string values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-based-on-2-string-values/m-p/1080279#M523795</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 have 2 columns Group and Function , I need to sort Function based on Group values and retrieve the first Function value based on Group values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Group Values&lt;/P&gt;&lt;P&gt;Agent&lt;/P&gt;&lt;P&gt;Billing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functions values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABC&lt;/P&gt;&lt;P&gt;BBB&lt;/P&gt;&lt;P&gt;CCC&lt;/P&gt;&lt;P&gt;DDD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Association&amp;nbsp; between Group and Function is as below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Agent - ABC&lt;/P&gt;&lt;P&gt;Agent - BBB&lt;/P&gt;&lt;P&gt;Billing - CCC&lt;/P&gt;&lt;P&gt;Billing - DDD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get ABC value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 07:31:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-based-on-2-string-values/m-p/1080279#M523795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-03T07:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort based on 2 string values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-based-on-2-string-values/m-p/1080280#M523796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didnt understand you properly, might be asking to sort this order as per your requirement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Properties-&amp;gt; Sort-&amp;gt; Expression to sort&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(Grounp&amp;amp;FunctionField='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Agent - ABC', 1,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;IF(Grounp&amp;amp;FunctionField='&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Agent - BBB', 2,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;IF(Grounp&amp;amp;FunctionField='&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Agent - CCC', 3,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;IF(Grounp&amp;amp;FunctionField='&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Agent - DDD', 4))))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With above expression you can change the order, hope this well help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 07:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-based-on-2-string-values/m-p/1080280#M523796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-03T07:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort based on 2 string values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-based-on-2-string-values/m-p/1080281#M523797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramya ,&lt;/P&gt;&lt;P&gt;Have a nice day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Small clarification&amp;nbsp; where your trying to do the sorting &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any Object or edit script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 07:42:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-based-on-2-string-values/m-p/1080281#M523797</guid>
      <dc:creator />
      <dc:date>2016-03-03T07:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort based on 2 string values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-based-on-2-string-values/m-p/1080282#M523798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try Firstsortedvalue([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Group Values]&lt;/SPAN&gt;,[&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Functions values]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 08:16:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-based-on-2-string-values/m-p/1080282#M523798</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-03-03T08:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort based on 2 string values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-based-on-2-string-values/m-p/1080283#M523799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could please explain what your trying to achieve ?? what value you need from the function ? &lt;/P&gt;&lt;P&gt;please share the sample output and data so that it will be helpful for us to understand &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 12:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-based-on-2-string-values/m-p/1080283#M523799</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-03T12:19:32Z</dc:date>
    </item>
  </channel>
</rss>

