<?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 query in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981965#M980187</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please share the sample data&amp;nbsp;&amp;nbsp; or QVW ..it will give us a better idea what exactly your looking for??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR you can explain with an example &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2015 13:46:08 GMT</pubDate>
    <dc:creator>avinashelite</dc:creator>
    <dc:date>2015-08-24T13:46:08Z</dc:date>
    <item>
      <title>GetCurrentField query</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981963#M980185</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;&lt;/P&gt;&lt;P&gt;I am using the GetCurrentField(goupname) in the general tab under chart title.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine apart from the group name that it is pulling is made up of an expression (ie =Left([Car sales.first name],1) &amp;amp; .....).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way I change this expression name to 'Sales Person'? Changing the label name under group setting only works for the cyclic logo and not the chart title name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestions welcome. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 13:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981963#M980185</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2015-08-24T13:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField query</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981964#M980186</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;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;STRONG&gt;If(GetCurrentField(GroupName) = '&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: line-through;"&gt;&lt;STRONG&gt;=Left([Car sales.first name],1) &amp;amp; .....)', Car Sales, GetCurrentField(GroupName))&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;&lt;STRONG&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;If(GetCurrentField(GroupName) = '&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=Left([Car sales.first name],1) &amp;amp; .....)', 'Sales Person', GetCurrentField(GroupName))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure you have the exact expression, including the spaces and commas, within the two single quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 13:44:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981964#M980186</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-24T13:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField query</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981965#M980187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please share the sample data&amp;nbsp;&amp;nbsp; or QVW ..it will give us a better idea what exactly your looking for??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR you can explain with an example &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 13:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981965#M980187</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-08-24T13:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField query</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981966#M980188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have put this into the title in chart box and get error in expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=IfGetCurrentField ([activity group]) = '=left ([Sales_Sales.First Name],1) &amp;amp; '. ' &amp;amp; [Car_Sales.Last Name]', Car Sales, GetCurrentField([activity group])&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does Car Sales need to be in single quotes? As the chart title should show 'Sales Person'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Continuing on from this, do I repeat this for the second field in my group?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981966#M980188</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2015-08-24T14:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField query</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981967#M980189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it does. I did make the change in my above comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;If(GetCurrentField ([activity group]) = '=left ([Sales_Sales.First Name],1) &amp;amp; '. ' &amp;amp; [Car_Sales.Last Name]', 'Sales Person', GetCurrentField([activity group]))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:05:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981967#M980189</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-24T14:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField query</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981968#M980190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And yes repeat this for all your calculated fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:06:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981968#M980190</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-24T14:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField query</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981969#M980191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a cyclic group with two fields. The two fields within this group both have expressions in them so when I use the getcurrentfields(groupname) in the Title Chart on the general tab, its pulls the expression from the 'used field'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression then sits above the chart and is not very user friendly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to change the name under the 'used field' to represent something easy to read.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:10:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981969#M980191</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2015-08-24T14:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField query</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981970#M980192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can give the expression a label in the Document Properties | Groups tab. Select the Group, Click Edit..., select the calculated field (in Used Fields) and enter a label in the Label box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:13:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981970#M980192</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-24T14:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField query</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981971#M980193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Ive 95% got the answer here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still get an error as I've already used single quotes in my group expression to be used within the IF function. See highlighted in red below and so when I use the single quotes I still get this error. How do I get around this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;If(GetCurrentField ([activity group]) = '=left ([Sales_Sales.First Name],1) &amp;amp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt; '. '&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt; &amp;amp; [Car_Sales.Last Name]', 'Sales Person', GetCurrentField([activity group]))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Your formula works perfectly for the other field in my group (and its has no single quotes in the original expression!)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981971#M980193</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2015-08-24T14:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField query</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981972#M980194</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;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;If(GetCurrentField ([activity group]) = '=left ([Sales_Sales.First Name],1) &amp;amp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 14pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt; ' &amp;amp; Chr(39) &amp;amp;.&amp;amp; Chr(39) &amp;amp; '&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt; &amp;amp; [Car_Sales.Last Name]', 'Sales Person', GetCurrentField([activity group]))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Chr(39) = Single Quote&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981972#M980194</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-24T14:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField query</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981973#M980195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;If(GetCurrentField ([activity group]) = '=left ([Sales_Sales.First Name],1) &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt; ' &amp;amp; Chr(39) &amp;amp;'.'&amp;amp; Chr(39) &amp;amp; '&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt; &amp;amp; [Car_Sales.Last Name]', 'Sales Person', GetCurrentField([activity group]))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981973#M980195</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-24T14:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField query</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981974#M980196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion but this does not work. I am looking to change the Used Field name so it will appear in the Graph title rather than pull the expression. Your idea only works for the cyclic logo dropdown as far as i can see. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:42:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981974#M980196</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2015-08-24T14:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField query</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981975#M980197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really appreciate the help here but its still is not showing although its says expression is ok! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only change I have made is that I fixed the table names in the expression from Sales_Sales to my table name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error must still rely around the Chr(39) workaround. Any final suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981975#M980197</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2015-08-24T14:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField query</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981976#M980198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scrap the above note, it was a spacing difference from '.' to '. ' that did the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks again and appreciate all the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981976#M980198</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2015-08-24T14:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: GetCurrentField query</title>
      <link>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981977#M980199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad that finally it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 15:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetCurrentField-query/m-p/981977#M980199</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-24T15:01:23Z</dc:date>
    </item>
  </channel>
</rss>

