<?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: How to write different expression for two fields in a cyclic group in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-different-expression-for-two-fields-in-a-cyclic/m-p/1544128#M744925</link>
    <description>Are you utsikt correct spelling for GetCurrentField(GeoGroup) ? It's not GetCurrentFields(GeoGroup) .&lt;BR /&gt;&lt;BR /&gt;The pseudo expression below should work.&lt;BR /&gt;&lt;BR /&gt;If(GetCurrentField(GeoGroup) = 'Country',&lt;BR /&gt;Sum(Countrymeasure1),&lt;BR /&gt;Sum(Othermeasure)&lt;BR /&gt;)</description>
    <pubDate>Thu, 14 Feb 2019 09:17:14 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2019-02-14T09:17:14Z</dc:date>
    <item>
      <title>How to write different expression for two fields in a cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-different-expression-for-two-fields-in-a-cyclic/m-p/1544086#M744924</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I have to write two separate expression for two fields in a cyclic group. So, for example, I have a cyclic group called GeoGroup which has two fields i.e, Region and Country. Now I have to use it in a bar chart but i want to make small change in my main expression based on the field the user selects in the chart. So, if the user selects Region, Exp_1 should be executed and if he/she selects Country field then the Exp_2 should get executed.&lt;/P&gt;&lt;P&gt;I tried implementing this using GetCurrentFields(GeoGroup) function but it doesn't work for some reason.&lt;/P&gt;&lt;P&gt;Any suggestion or a tip would be great as I need to get this done quickly.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pranav&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-different-expression-for-two-fields-in-a-cyclic/m-p/1544086#M744924</guid>
      <dc:creator>pranaview</dc:creator>
      <dc:date>2024-11-16T21:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to write different expression for two fields in a cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-different-expression-for-two-fields-in-a-cyclic/m-p/1544128#M744925</link>
      <description>Are you utsikt correct spelling for GetCurrentField(GeoGroup) ? It's not GetCurrentFields(GeoGroup) .&lt;BR /&gt;&lt;BR /&gt;The pseudo expression below should work.&lt;BR /&gt;&lt;BR /&gt;If(GetCurrentField(GeoGroup) = 'Country',&lt;BR /&gt;Sum(Countrymeasure1),&lt;BR /&gt;Sum(Othermeasure)&lt;BR /&gt;)</description>
      <pubDate>Thu, 14 Feb 2019 09:17:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-different-expression-for-two-fields-in-a-cyclic/m-p/1544128#M744925</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-02-14T09:17:14Z</dc:date>
    </item>
  </channel>
</rss>

