<?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: what is pick function where to we use ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/what-is-pick-function-where-to-we-use/m-p/623348#M1115043</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below video may be helpful to understand pick function completely&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.youtube.com/watch?v=V7-H71hePxI" title="http://www.youtube.com/watch?v=V7-H71hePxI"&gt;Pick Function in QlikView - YouTube&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Feb 2014 03:55:14 GMT</pubDate>
    <dc:creator>chiru_thota</dc:creator>
    <dc:date>2014-02-08T03:55:14Z</dc:date>
    <item>
      <title>what is pick function where to we use ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-pick-function-where-to-we-use/m-p/623345#M1115040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is pick function where to we use ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Feb 2014 03:35:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-pick-function-where-to-we-use/m-p/623345#M1115040</guid>
      <dc:creator />
      <dc:date>2014-02-08T03:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: what is pick function where to we use ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-pick-function-where-to-we-use/m-p/623346#M1115041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView Help:&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor408"&gt;&lt;/A&gt;&lt;A name="pick"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;pick(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;n, expr1[ , expr2,...exprN]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Returns the &lt;SPAN class="Italic"&gt;n&lt;/SPAN&gt;:th expression in the list. &lt;SPAN class="Italic"&gt;n&lt;/SPAN&gt; is an integer between 1 and &lt;SPAN class="Italic"&gt;N&lt;/SPAN&gt;. &lt;/P&gt;&lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;pick( N'A''B'4, , , )&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;returns &lt;SPAN class="Italic"&gt;'B'&lt;/SPAN&gt; if &lt;SPAN class="Italic"&gt;N&lt;/SPAN&gt; = &lt;SPAN class="Italic"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;returns &lt;SPAN class="Italic"&gt;4&lt;/SPAN&gt; if &lt;SPAN class="Italic"&gt;N&lt;/SPAN&gt; = &lt;SPAN class="Italic"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Feb 2014 03:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-pick-function-where-to-we-use/m-p/623346#M1115041</guid>
      <dc:creator>iktrayanov</dc:creator>
      <dc:date>2014-02-08T03:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: what is pick function where to we use ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-pick-function-where-to-we-use/m-p/623347#M1115042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manoj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggestion you to use help file in QlikView or try your best to find in community. There are lots of topic talking about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Feb 2014 03:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-pick-function-where-to-we-use/m-p/623347#M1115042</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2014-02-08T03:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: what is pick function where to we use ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-pick-function-where-to-we-use/m-p/623348#M1115043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below video may be helpful to understand pick function completely&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.youtube.com/watch?v=V7-H71hePxI" title="http://www.youtube.com/watch?v=V7-H71hePxI"&gt;Pick Function in QlikView - YouTube&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Feb 2014 03:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-pick-function-where-to-we-use/m-p/623348#M1115043</guid>
      <dc:creator>chiru_thota</dc:creator>
      <dc:date>2014-02-08T03:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: what is pick function where to we use ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-pick-function-where-to-we-use/m-p/623349#M1115044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use PICK function any where (script or UI) in qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally You can use where the expressions changes automatically on user selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple case: The user requested and needs show only one expression in the chart either Order Value or No of Orders and users can switch between on any one what he needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the above requirement, create a Variable and create the Input and enter the predefined the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vExpression= { Order Value , No of Orders }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&amp;nbsp; PICK( Match('$(vExpression)','Order Value','No of Orders') , SUM(ORDER_AMOUNT) , COUNT(ORDER_ID))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Feb 2014 04:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-pick-function-where-to-we-use/m-p/623349#M1115044</guid>
      <dc:creator />
      <dc:date>2014-02-08T04:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: what is pick function where to we use ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-pick-function-where-to-we-use/m-p/623350#M1115046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manoj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have used pick function in charts-----suppose different colors for different dimension values.&lt;/P&gt;&lt;P&gt;for example-expression---&amp;gt;backgroundcolor----&amp;gt;pick(match(country,'india','usa','uk'),red(),blue(),green()).&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Mahesh T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Feb 2014 04:30:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-pick-function-where-to-we-use/m-p/623350#M1115046</guid>
      <dc:creator />
      <dc:date>2014-02-08T04:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: what is pick function where to we use ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-pick-function-where-to-we-use/m-p/623351#M1115049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far I have studied from Qlikview Developers 11 book, Pick function is an alternative to the If(then_condition,&lt;/P&gt;&lt;P&gt;else_condition). If() is very memory intensive and nested if() can consume heavy resources, it should be avoided and instead Pick function should be used. Below is the explanation from the Book:&lt;/P&gt;&lt;P&gt;The &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;parameters this function takes are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Pick(n, expr1, expr2)&lt;/P&gt;&lt;P&gt;Where n is an integer number that determines which of the subsequent expressions&lt;/P&gt;&lt;P&gt;should be evaluated. expr1 is an expression to be evaluated when n= 1 and expr2 is&lt;/P&gt;&lt;P&gt;an expression to be evaluated when n= 2&lt;/P&gt;&lt;P&gt;The same result of the Pick function can be accomplished using a nested If;&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;If (n = 1, expr1, If(n = 2, expr2))&lt;/P&gt;&lt;P&gt;However, we can easily see that the Pick function is much simpler to use in this case&lt;/P&gt;&lt;P&gt;and can even be lighter in terms of resource usage. &lt;/P&gt;&lt;P&gt;For more details you can lookup the Qlikview for Developers 11 book.&lt;/P&gt;&lt;P&gt;Hope this helped.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 09:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-pick-function-where-to-we-use/m-p/623351#M1115049</guid>
      <dc:creator />
      <dc:date>2016-03-30T09:07:27Z</dc:date>
    </item>
  </channel>
</rss>

