<?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 Get Current Selections for CYC group in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-Current-Selections-for-CYC-group/m-p/1128076#M635650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something is wrong with my format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want my expression to be an if statement based on the Dimension from the cyc group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression is as follows:&lt;/P&gt;&lt;P&gt;If(Match(GetCurrentSelections([Date Cyc]), 'Scheduled'),&lt;/P&gt;&lt;P&gt;sum(DailyHours))&lt;/P&gt;&lt;P&gt;&lt;IMG alt="expression.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124348_expression.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error says "Bad field name."&amp;nbsp; Date Cyc is the name of my Cyclic Group. and Scheduled is the label for the expression in that group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&amp;nbsp; Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 May 2016 22:05:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-11T22:05:07Z</dc:date>
    <item>
      <title>Get Current Selections for CYC group</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Current-Selections-for-CYC-group/m-p/1128076#M635650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something is wrong with my format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want my expression to be an if statement based on the Dimension from the cyc group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression is as follows:&lt;/P&gt;&lt;P&gt;If(Match(GetCurrentSelections([Date Cyc]), 'Scheduled'),&lt;/P&gt;&lt;P&gt;sum(DailyHours))&lt;/P&gt;&lt;P&gt;&lt;IMG alt="expression.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124348_expression.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error says "Bad field name."&amp;nbsp; Date Cyc is the name of my Cyclic Group. and Scheduled is the label for the expression in that group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&amp;nbsp; Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 22:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Current-Selections-for-CYC-group/m-p/1128076#M635650</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-11T22:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get Current Selections for CYC group</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Current-Selections-for-CYC-group/m-p/1128077#M635651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you might be looking for GetCurrentField(). GetCurrentSelections() doesn't take any arguments:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(Match(&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;GetCurrentField&lt;/SPAN&gt;([Date Cyc]), 'Scheduled'), Sum(DailyHours))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/ChartFunctions/FieldFunctions/getcurrentfield.htm?q=getcurrentfield" title="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/ChartFunctions/FieldFunctions/getcurrentfield.htm?q=getcurrentfield"&gt;GetCurrentField ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 02:06:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Current-Selections-for-CYC-group/m-p/1128077#M635651</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-12T02:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Get Current Selections for CYC group</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Current-Selections-for-CYC-group/m-p/1128078#M635652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="snap.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124579_snap.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick response.&amp;nbsp; It says that the expression is okay, but the red error underline is contradicting that.&amp;nbsp; So there is no data to display in the chart.&amp;nbsp; Do have some syntax wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 22:37:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Current-Selections-for-CYC-group/m-p/1128078#M635652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-13T22:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Get Current Selections for CYC group</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Current-Selections-for-CYC-group/m-p/1128079#M635653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try clicking okay to see if the expression is giving you the output you were looking for. I think this is an issue for GetCurrentField() function. Expression editor doesn't recognize it, but it works. You can also try this since you are checking for just one field:&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;If(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;GetCurrentField&lt;/SPAN&gt;([Date Cyc]) = 'Scheduled', Sum(DailyHours))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 May 2016 11:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Current-Selections-for-CYC-group/m-p/1128079#M635653</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-14T11:39:15Z</dc:date>
    </item>
  </channel>
</rss>

