<?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 Square brackets in getcurrentfield func in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Square-brackets-in-getcurrentfield-func/m-p/1427979#M429873</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;Does anyone has problem with calculation getcurrentfild value, using in aggregation function?&lt;/P&gt;&lt;P&gt;My test dimensions, contained in cycle group are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Company id,&lt;/P&gt;&lt;P&gt;Customer id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's why i tried to use square brackets in the expression:&lt;/P&gt;&lt;P&gt;sum(aggr(sum(Sales), '['&amp;amp;GetCurrentField("Test")&amp;amp;']'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for advices.&lt;/P&gt;&lt;P&gt;There's model and source file in the attachment. !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Sep 2017 14:07:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-17T14:07:54Z</dc:date>
    <item>
      <title>Square brackets in getcurrentfield func</title>
      <link>https://community.qlik.com/t5/QlikView/Square-brackets-in-getcurrentfield-func/m-p/1427979#M429873</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;Does anyone has problem with calculation getcurrentfild value, using in aggregation function?&lt;/P&gt;&lt;P&gt;My test dimensions, contained in cycle group are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Company id,&lt;/P&gt;&lt;P&gt;Customer id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's why i tried to use square brackets in the expression:&lt;/P&gt;&lt;P&gt;sum(aggr(sum(Sales), '['&amp;amp;GetCurrentField("Test")&amp;amp;']'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for advices.&lt;/P&gt;&lt;P&gt;There's model and source file in the attachment. !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Sep 2017 14:07:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Square-brackets-in-getcurrentfield-func/m-p/1427979#M429873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-17T14:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Square brackets in getcurrentfield func</title>
      <link>https://community.qlik.com/t5/QlikView/Square-brackets-in-getcurrentfield-func/m-p/1427980#M429874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try a dollar sign expansion:&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;sum(aggr(sum(Sales), $(= '['&amp;amp;GetCurrentField("Test")&amp;amp;']') ))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Sep 2017 14:18:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Square-brackets-in-getcurrentfield-func/m-p/1427980#M429874</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-17T14:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Square brackets in getcurrentfield func</title>
      <link>https://community.qlik.com/t5/QlikView/Square-brackets-in-getcurrentfield-func/m-p/1427981#M429875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see original user did not reply, but thanks for this, Stefan.&amp;nbsp; My drill down groups were not working in a scatter chart past a certain dimension, and I noticed that it started to happen when the dimension name had a space in it (which I generally try to avoid, but this was an external data set with some constraints around naming conventions).&amp;nbsp; By concatenating brackets into the expression string, it solved the issue.&amp;nbsp; If anyone else is using GetCurrentField in a drill down group and getting a "No Data to Display" error, I recommend checking spelling and case in the group fields, and if all is well there, try this if you have a space in the field name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 12:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Square-brackets-in-getcurrentfield-func/m-p/1427981#M429875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-05T12:12:03Z</dc:date>
    </item>
  </channel>
</rss>

