<?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: GetCurrentField use in cyclic group in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/GetCurrentField-use-in-cyclic-group/m-p/547252#M1123829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hate to bump an old thread, but in the interest of those who use this solution, this didn't work for me, and I had to change it. The ampersands seem to mess things up in the final set analysis expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;='[GetCurrentField(group_name)]'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Final expression is the same as Nicole's original:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=count({&amp;lt;$(vGroup)={'&amp;lt;NULL&amp;gt;'}&amp;gt;} [&lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;field&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jun 2015 15:49:39 GMT</pubDate>
    <dc:creator>chrissurguine</dc:creator>
    <dc:date>2015-06-15T15:49:39Z</dc:date>
    <item>
      <title>GetCurrentField use in cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-use-in-cyclic-group/m-p/547245#M1123822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use GetCurrentField() to individualize the expression for each field in the cyclic group, but it doesnt seem to be working. My whole expression is currently:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;GetCurrentField(&lt;EM&gt;group_name&lt;/EM&gt;)={'&amp;lt;NULL&amp;gt;'}&amp;gt;} [&lt;EM&gt;field&lt;/EM&gt;])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression editor says the expression above has an error. However, if I take out the surrounding text and just have "=GetCurrentField(&lt;EM&gt;group_name&lt;/EM&gt;)", the expression returns the name of the field. Also, if I just substitute the cyclic group field into the location of the function GetCurrentField(), qlikview also returns the correct result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd appreciate any help as to why it doesn't work when I combine the two expressions. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 20:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-use-in-cyclic-group/m-p/547245#M1123822</guid>
      <dc:creator />
      <dc:date>2014-01-21T20:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField use in cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-use-in-cyclic-group/m-p/547246#M1123823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stephen,&lt;/P&gt;&lt;P&gt;In set analysis, it is allowed to use only explicit field names, no expressions here&lt;/P&gt;&lt;P&gt;=count({&amp;lt;&lt;STRONG&gt;FieldNameHere&lt;/STRONG&gt;={whatever}&amp;gt;} [&lt;EM&gt;field&lt;/EM&gt;])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: it makes sense to try with variables though..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 20:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-use-in-cyclic-group/m-p/547246#M1123823</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-21T20:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField use in cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-use-in-cyclic-group/m-p/547247#M1123824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use dollar sign expression.&lt;/P&gt;&lt;P&gt;=count({&amp;lt;$(GetCurrentField(&lt;EM&gt;group_name&lt;/EM&gt;))={'&amp;lt;NULL&amp;gt;'}&amp;gt;} [&lt;EM&gt;field&lt;/EM&gt;])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 20:23:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-use-in-cyclic-group/m-p/547247#M1123824</guid>
      <dc:creator>iktrayanov</dc:creator>
      <dc:date>2014-01-21T20:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField use in cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-use-in-cyclic-group/m-p/547248#M1123825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a variable (let's say vGroup) and define it as:&lt;/P&gt;&lt;P&gt;='[' &amp;amp; GetCurrentField(group_name) &amp;amp; ']'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then your expression should be:&lt;/P&gt;&lt;P&gt;=count({&amp;lt;$(vGroup)={'&amp;lt;NULL&amp;gt;'}&amp;gt;} [&lt;EM&gt;field&lt;/EM&gt;])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 20:23:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-use-in-cyclic-group/m-p/547248#M1123825</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-21T20:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField use in cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-use-in-cyclic-group/m-p/547249#M1123826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use&lt;/P&gt;&lt;P&gt;sum({&amp;lt;$(=GetCurrentField(GH))={'A'}&amp;gt;}Expression1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 20:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-use-in-cyclic-group/m-p/547249#M1123826</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2014-01-21T20:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField use in cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-use-in-cyclic-group/m-p/547250#M1123827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it does work, to my surprise.&amp;nbsp; I had to add [] because some fields had spaces:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;&lt;STRONG&gt;[&lt;/STRONG&gt;$(=GetCurrentField(GH))&lt;STRONG&gt;]&lt;/STRONG&gt;={'A'}&amp;gt;}Expression1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 20:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-use-in-cyclic-group/m-p/547250#M1123827</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-21T20:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField use in cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-use-in-cyclic-group/m-p/547251#M1123828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a question to you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I declare a Group name like '&amp;gt;&amp;gt;Group1' or '&amp;lt;&amp;lt;Group' is it possible to write expression with that Name?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 09:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-use-in-cyclic-group/m-p/547251#M1123828</guid>
      <dc:creator />
      <dc:date>2014-12-18T09:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField use in cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-use-in-cyclic-group/m-p/547252#M1123829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hate to bump an old thread, but in the interest of those who use this solution, this didn't work for me, and I had to change it. The ampersands seem to mess things up in the final set analysis expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;='[GetCurrentField(group_name)]'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Final expression is the same as Nicole's original:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=count({&amp;lt;$(vGroup)={'&amp;lt;NULL&amp;gt;'}&amp;gt;} [&lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;field&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 15:49:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-use-in-cyclic-group/m-p/547252#M1123829</guid>
      <dc:creator>chrissurguine</dc:creator>
      <dc:date>2015-06-15T15:49:39Z</dc:date>
    </item>
  </channel>
</rss>

