<?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 expanding the string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/expanding-the-string/m-p/926837#M964434</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 have a cyclic group which has list of fields and also a field in variable. &lt;/P&gt;&lt;P&gt;eg- ='$(vAliasField)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This variable is perfectly expanded and the real field is shown in the cylic group drop down list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The chart gets its caption by below expression-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg-&lt;/P&gt;&lt;P&gt;GetCurrentField(CyclicGrp)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, when the user switch to the variable in cyclic group, the chart caption is not expanded and chart caption look like below-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='$(vAliasField)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to modify the below expression to expand the above variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GetCurrentField(CyclicGrp)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2015 12:22:28 GMT</pubDate>
    <dc:creator>surajap123</dc:creator>
    <dc:date>2015-10-07T12:22:28Z</dc:date>
    <item>
      <title>expanding the string</title>
      <link>https://community.qlik.com/t5/QlikView/expanding-the-string/m-p/926837#M964434</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 have a cyclic group which has list of fields and also a field in variable. &lt;/P&gt;&lt;P&gt;eg- ='$(vAliasField)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This variable is perfectly expanded and the real field is shown in the cylic group drop down list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The chart gets its caption by below expression-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg-&lt;/P&gt;&lt;P&gt;GetCurrentField(CyclicGrp)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, when the user switch to the variable in cyclic group, the chart caption is not expanded and chart caption look like below-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='$(vAliasField)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to modify the below expression to expand the above variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GetCurrentField(CyclicGrp)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 12:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expanding-the-string/m-p/926837#M964434</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2015-10-07T12:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: expanding the string</title>
      <link>https://community.qlik.com/t5/QlikView/expanding-the-string/m-p/926838#M964435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK the getcurrentfield-functions returned the text from the current group-member and if this is an expression or a variable they will be returned and also the additionally labeling from this group-member didn't help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only workaround seems to be to use a condition like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(GetCurrentField(CyclicGrp) = '$(vAliasField)', '$(vAliasField)', GetCurrentField(CyclicGrp))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the "=" sign within the group-expression needs to be removed for this because the match would otherwise go to '= '$(vAliasField)'' which is problematic because the multiple single-quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 12:35:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expanding-the-string/m-p/926838#M964435</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-10-07T12:35:27Z</dc:date>
    </item>
  </channel>
</rss>

