<?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: valuelist and valueloop functions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/valuelist-and-valueloop-functions/m-p/463742#M488878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;You're welcome. I'm glad it was useful. I'll make a video on ValueLoop() very soon.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Happy learning!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://QlikShare.com"&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Nov 2012 18:28:15 GMT</pubDate>
    <dc:creator>IAMDV</dc:creator>
    <dc:date>2012-11-25T18:28:15Z</dc:date>
    <item>
      <title>valuelist and valueloop functions</title>
      <link>https://community.qlik.com/t5/QlikView/valuelist-and-valueloop-functions/m-p/463738#M488874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone explain me these valuelist and valueloop functions with examples. I tried reading the reference manual but not able to understand exactly. Also what is synthetic dimension means.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Nov 2012 22:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/valuelist-and-valueloop-functions/m-p/463738#M488874</guid>
      <dc:creator>sr_qlikview</dc:creator>
      <dc:date>2012-11-24T22:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: valuelist and valueloop functions</title>
      <link>https://community.qlik.com/t5/QlikView/valuelist-and-valueloop-functions/m-p/463739#M488875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example, create a calculated dimension in a straight table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=ValueList('KPI1','KPI2')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, an expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=pick(match( &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ValueList('KPI1','KPI2')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,'KPI1','KPI2')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;,sum(FIELD)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;,count(FIELD)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll get a dimension with two value, KPI1 and KPI2. To check in your expression, which is the current dimension value, you'll need to repeat the Valuelist() function as used in the dimension again in the expression. (Above can also be written as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if( ValueList('KPI1','KPI2') = 'KPI1', sum(FIELD), &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if( ValueList('KPI1','KPI2') = 'KPI2', count(FIELD) ))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can create a dimension on the fly in a chart which is not based on a field in your data model (I think that's why its called synthetic).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Valuelist() just uses the values you are listing as arguments, valueloop creates the dimension values based on start, end and step values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Nov 2012 23:26:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/valuelist-and-valueloop-functions/m-p/463739#M488875</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-11-24T23:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: valuelist and valueloop functions</title>
      <link>https://community.qlik.com/t5/QlikView/valuelist-and-valueloop-functions/m-p/463740#M488876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I'm sure Stefan covered everything you need. Here is an example of practical implementation of using ValueLoop() function...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;A _jive_internal="true" class="loading active_link" href="https://community.qlik.com/message/222888#222888" title="http://community.qlik.com/message/222888#222888"&gt;http://community.qlik.com/message/222888#222888&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Happy Learning!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://QlikShare.com"&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Nov 2012 23:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/valuelist-and-valueloop-functions/m-p/463740#M488876</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-11-24T23:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: valuelist and valueloop functions</title>
      <link>https://community.qlik.com/t5/QlikView/valuelist-and-valueloop-functions/m-p/463741#M488877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Deepak...i have gone through your videos for pick, match functions along with the discussion post you mentioned, its very helpful... thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Nov 2012 17:42:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/valuelist-and-valueloop-functions/m-p/463741#M488877</guid>
      <dc:creator>sr_qlikview</dc:creator>
      <dc:date>2012-11-25T17:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: valuelist and valueloop functions</title>
      <link>https://community.qlik.com/t5/QlikView/valuelist-and-valueloop-functions/m-p/463742#M488878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;You're welcome. I'm glad it was useful. I'll make a video on ValueLoop() very soon.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Happy learning!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://QlikShare.com"&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Nov 2012 18:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/valuelist-and-valueloop-functions/m-p/463742#M488878</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-11-25T18:28:15Z</dc:date>
    </item>
  </channel>
</rss>

