<?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 Retrieve values from a variable? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Retrieve-values-from-a-variable/m-p/720662#M258820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;subfield(YourVariable, ',', -1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Aug 2014 12:23:20 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2014-08-21T12:23:20Z</dc:date>
    <item>
      <title>How to Retrieve values from a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Retrieve-values-from-a-variable/m-p/720661#M258819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a variable in which comma separated values get appended. Is there any way by which I can retrieve the latest appended value and Display it in a text box?&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pratik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 12:20:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Retrieve-values-from-a-variable/m-p/720661#M258819</guid>
      <dc:creator />
      <dc:date>2014-08-21T12:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to Retrieve values from a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Retrieve-values-from-a-variable/m-p/720662#M258820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;subfield(YourVariable, ',', -1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 12:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Retrieve-values-from-a-variable/m-p/720662#M258820</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-08-21T12:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to Retrieve values from a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Retrieve-values-from-a-variable/m-p/720663#M258821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am Using FieldValueCount function in Load Script..&lt;/P&gt;&lt;P&gt;Let var1=FieldValueCount(ID);&lt;/P&gt;&lt;P&gt;what if I want to give an if condition in Load Script?&lt;/P&gt;&lt;P&gt;Like if there is another dimension Dept.&lt;/P&gt;&lt;P&gt;So wht will the syntax be if I want the fieldValue count of ID where Dept is Finance?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 12:52:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Retrieve-values-from-a-variable/m-p/720663#M258821</guid>
      <dc:creator />
      <dc:date>2014-08-21T12:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to Retrieve values from a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Retrieve-values-from-a-variable/m-p/720664#M258822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you will need a load for this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t1:&lt;/P&gt;&lt;P&gt;Load count(distinct ID &amp;amp; Dept) as Count_IDDept Resident xyz where Dept = 'Fianance';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could this use as field or write it per peek() in a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 13:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Retrieve-values-from-a-variable/m-p/720664#M258822</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-08-21T13:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to Retrieve values from a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Retrieve-values-from-a-variable/m-p/720665#M258823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus, thanks for the reply it worked with the above expression but I want to put a condition on date field as well its showing error then..&lt;/P&gt;&lt;P&gt;below is my Script.&lt;/P&gt;&lt;P&gt;temp:&lt;/P&gt;&lt;P&gt;Load count(distinct ID &amp;amp; [Dept] &amp;amp; [Joining Date]) as Count_IDDept Resident MyTable where [Joining Date]&amp;gt;=weekstart(date(now()),-1) &amp;amp; [Dept] = 'Finance';&lt;/P&gt;&lt;P&gt;It says "Garbage after&amp;nbsp; Statement&lt;/P&gt;&lt;P&gt;temp:&lt;/P&gt;&lt;P&gt;Load......"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 05:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Retrieve-values-from-a-variable/m-p/720665#M258823</guid>
      <dc:creator />
      <dc:date>2014-08-22T05:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Retrieve values from a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Retrieve-values-from-a-variable/m-p/720666#M258824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it's the "&amp;amp;" which meant a string-concat - you need a "and":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;temp:&lt;/P&gt;&lt;P&gt;Load count(distinct ID &amp;amp; [Dept] &amp;amp; [Joining Date]) as Count_IDDept Resident MyTable where [Joining Date]&amp;gt;=weekstart(date(now()),-1) &lt;STRONG&gt;and&lt;/STRONG&gt; [Dept] = 'Finance';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 08:36:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Retrieve-values-from-a-variable/m-p/720666#M258824</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-08-22T08:36:57Z</dc:date>
    </item>
  </channel>
</rss>

