<?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: Picking the first option in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Picking-the-first-option/m-p/509307#M190312</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Items,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer_Picks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Company_Picks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Default_Picks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(NOT IsNull(Customer_Picks), 'Customer' , IF(Not IsNull(Company_Picks), 'Company' ,'Default') ) AS Pick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Serial_Code&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp; Test.xlsx (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;find the attached file for reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Nov 2013 22:59:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-11T22:59:00Z</dc:date>
    <item>
      <title>Picking the first option</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-first-option/m-p/509304#M190309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having issues trying to pick the first option depending on the different picks. I have three different picks. "Customer_Pick", "Company_Pick", and "Default_Pick". I need to pick up the first item that is a "Customer_Pick". If there is no "Customer_Pick", I need to pick up the first item that is a "Company_Pick". If there are no "Customer_Pick" or "Company_Pick", I need to grab the first "Default_Pick" item.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 21:35:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-first-option/m-p/509304#M190309</guid>
      <dc:creator />
      <dc:date>2013-11-11T21:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Picking the first option</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-first-option/m-p/509305#M190310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try &lt;STRONG&gt;Alt()&lt;/STRONG&gt; function..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 21:41:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-first-option/m-p/509305#M190310</guid>
      <dc:creator />
      <dc:date>2013-11-11T21:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Picking the first option</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-first-option/m-p/509306#M190311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load with rowno() flag with 1 if it is pick then sort by Custom-&amp;gt; Company -&amp;gt; Default -&amp;gt; rowno and&amp;nbsp; Group By if you need the pick not for total. If you group the aggregation is firstvalue(), if you only want a Var with total first value of a field you can after sort use let a=peek('Field',0,'Table')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 21:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-first-option/m-p/509306#M190311</guid>
      <dc:creator>jonasheisterkam</dc:creator>
      <dc:date>2013-11-11T21:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Picking the first option</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-first-option/m-p/509307#M190312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Items,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer_Picks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Company_Picks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Default_Picks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(NOT IsNull(Customer_Picks), 'Customer' , IF(Not IsNull(Company_Picks), 'Company' ,'Default') ) AS Pick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Serial_Code&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp; Test.xlsx (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;find the attached file for reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 22:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-first-option/m-p/509307#M190312</guid>
      <dc:creator />
      <dc:date>2013-11-11T22:59:00Z</dc:date>
    </item>
  </channel>
</rss>

