<?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 on group not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/getcurrentfield-on-group-not-working/m-p/791504#M1025581</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashley,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to create &lt;STRONG&gt;Periodic&amp;nbsp; group &lt;/STRONG&gt;field in data modeling level, then you will achieve the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly refer my attachment file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Muni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Feb 2015 08:27:44 GMT</pubDate>
    <dc:creator>muniyandi</dc:creator>
    <dc:date>2015-02-26T08:27:44Z</dc:date>
    <item>
      <title>getcurrentfield on group not working</title>
      <link>https://community.qlik.com/t5/QlikView/getcurrentfield-on-group-not-working/m-p/791503#M1025580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi dears,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a chart, I have a grouped dimension named &lt;STRONG&gt;Periodic &lt;/STRONG&gt;with the 3 following groups on a date field:&lt;/P&gt;&lt;P&gt;1. &lt;SPAN style="font-size: 8pt;"&gt;=date(date#(Date,'DD/MM/YYYY'),'DD / MM') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. &lt;SPAN style="font-size: 8pt;"&gt;=replace(Week, 'W', 'week ') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3. &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'MMM YY'),'MM / YYYY') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When user selects the group &lt;SPAN style="font-size: 8pt;"&gt;=date(date#(Date,'DD/MM/YYYY'),'DD / MM')&amp;nbsp; &lt;/SPAN&gt;on the chart i need to set a variable value vGroupPeriodic = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When user selects the group &lt;SPAN style="font-size: 8pt;"&gt;=replace(Week, 'W', 'week ') &lt;/SPAN&gt;on the chart i need to set a variable value vGroupPeriodic = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When user selects the group &lt;SPAN style="font-size: 8pt;"&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'MMM YY'),'MM / YYYY') &lt;/SPAN&gt;&lt;/SPAN&gt;on the chart i need to set a variable value vGroupPeriodic = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a text box, I try the following &lt;STRONG&gt;if&lt;/STRONG&gt; &lt;STRONG&gt;comparison&lt;/STRONG&gt; but its not working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('['&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetCurrentField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Periodic]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;amp;']' = '[=date(date#(Date,'DD/MM/YYYY'),'DD / MM')]', 1, if('['&amp;amp;GetCurrentField(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Periodic]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;amp;']' = '[=replace(Week, 'W', 'week ')]', 2, 3) ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 06:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getcurrentfield-on-group-not-working/m-p/791503#M1025580</guid>
      <dc:creator />
      <dc:date>2015-02-26T06:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: getcurrentfield on group not working</title>
      <link>https://community.qlik.com/t5/QlikView/getcurrentfield-on-group-not-working/m-p/791504#M1025581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashley,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to create &lt;STRONG&gt;Periodic&amp;nbsp; group &lt;/STRONG&gt;field in data modeling level, then you will achieve the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly refer my attachment file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Muni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 08:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getcurrentfield-on-group-not-working/m-p/791504#M1025581</guid>
      <dc:creator>muniyandi</dc:creator>
      <dc:date>2015-02-26T08:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: getcurrentfield on group not working</title>
      <link>https://community.qlik.com/t5/QlikView/getcurrentfield-on-group-not-working/m-p/791505#M1025582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would put GetCurrentField([Periodic]) in a text box and confirm the results match your expression. In another text box, you could build the expression step by step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it would be far simpler (and better performing) if you created these calculated dimensions as fields when you load the calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 08:41:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getcurrentfield-on-group-not-working/m-p/791505#M1025582</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-02-26T08:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: getcurrentfield on group not working</title>
      <link>https://community.qlik.com/t5/QlikView/getcurrentfield-on-group-not-working/m-p/791506#M1025583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use wildmatch to check your group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;if(wildmatch(GetCurrentField(Periodic), '*date(date#(Date*'), 1,&lt;/P&gt;&lt;P&gt;if(wildmatch(GetCurrentField(Periodic), '*replace*'), 2,&lt;/P&gt;&lt;P&gt;3))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 08:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getcurrentfield-on-group-not-working/m-p/791506#M1025583</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-02-26T08:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: getcurrentfield on group not working</title>
      <link>https://community.qlik.com/t5/QlikView/getcurrentfield-on-group-not-working/m-p/791507#M1025584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow cool thanks lots man it works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 10:06:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getcurrentfield-on-group-not-working/m-p/791507#M1025584</guid>
      <dc:creator />
      <dc:date>2015-02-26T10:06:32Z</dc:date>
    </item>
  </channel>
</rss>

