<?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: Sorting Data using field names in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-Data-using-field-names/m-p/1391384#M807021</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akpofure,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Wildmatch(UPPER([Name of Companies]),'*LIMITED*','*LTD*'),'Federal', 'States')&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>Wed, 01 Nov 2017 09:32:45 GMT</pubDate>
    <dc:creator>effinty2112</dc:creator>
    <dc:date>2017-11-01T09:32:45Z</dc:date>
    <item>
      <title>Sorting Data using field names</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Data-using-field-names/m-p/1391383#M807020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a set of data that are pretty dirty. The data is a list of companies. I need to sort them into two specific groups.&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Name of Companies&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Type&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Amount&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="25" style="width: 5px; height: 16px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;OSAKITIKPI INDUSTRIAL SERVICES&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Local&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ENCAPSULATE NIGERIA LIMITED&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Federal&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;BRIGHT SHARKES &amp;amp; ASSOCIATES&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Local&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;43&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;FRANCIS KOYO &amp;amp; COMPANY.&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Local&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;DJOMAH GLOBAL PETROLEUM SERVICES&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Local&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;procare global services ltd,&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Federal&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;23&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table above, I need to sort the company based on their registration mode (Limited or Enterprise).&amp;nbsp; I want all 'Limited and ltd'&amp;nbsp; to Federal and others States.&amp;nbsp;&amp;nbsp; &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/Sorting-Data-using-field-names/m-p/1391383#M807020</guid>
      <dc:creator>akpofureenughwu</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Data using field names</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Data-using-field-names/m-p/1391384#M807021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akpofure,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Wildmatch(UPPER([Name of Companies]),'*LIMITED*','*LTD*'),'Federal', 'States')&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>Wed, 01 Nov 2017 09:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Data-using-field-names/m-p/1391384#M807021</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-11-01T09:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Data using field names</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Data-using-field-names/m-p/1391385#M807022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/152494"&gt;effinty2112&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your prompt response. It looks promising...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I build a chart to show only companies under the&amp;nbsp; IF(Wildmatch(UPPER([Name of Companies]),'*LIMITED*','*LTD*'),'Federal', 'States') expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 11:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Data-using-field-names/m-p/1391385#M807022</guid>
      <dc:creator>akpofureenughwu</dc:creator>
      <dc:date>2017-11-01T11:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Data using field names</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Data-using-field-names/m-p/1391386#M807023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akpofure,&lt;/P&gt;&lt;P&gt;There's a couple of approaches. You can add this piece of set analysis to all the expressions&lt;/P&gt;&lt;P&gt;{$&amp;lt;Customer = {'*ltd','*limited'}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or instead you can use this dimension which would leave you free to add simple expressions without having to remember to include the set analysis in each one&lt;SPAN style="font-size: 10pt;"&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;=Aggr(if(Wildmatch(Upper([Name of Companies]),'*LTD','*LIMITED'),[Name of Companies]),[Name of Companies])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the dimensions tab check the option to &lt;EM&gt;Suppress When Value Is Null.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've dropped the second * from my expressions so that we are only looking at the end of a company name and won't now pick a company if the name has 'ltd' in the middle of the name.&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>Wed, 01 Nov 2017 11:55:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Data-using-field-names/m-p/1391386#M807023</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-11-01T11:55:10Z</dc:date>
    </item>
  </channel>
</rss>

