<?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: Cyclic Group IF Statement Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cyclic-Group-IF-Statement-Expression/m-p/555403#M207434</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;Why do you have separate user id fields ? Where do you select Sales Person ?&lt;/P&gt;&lt;P&gt;Could you share an example ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Aug 2013 20:12:47 GMT</pubDate>
    <dc:creator>whiteline</dc:creator>
    <dc:date>2013-08-30T20:12:47Z</dc:date>
    <item>
      <title>Cyclic Group IF Statement Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Cyclic-Group-IF-Statement-Expression/m-p/555402#M207433</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 need of some help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart with a Cyclic group dimension. The cyclic group contains 5 dimensions in which one of them is an expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In expression I have created an If statement is used to calculate the Sales Person as depending on the Company selected the Sales Person is taken from User ID1 or User ID3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The if statement is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Company = 'France', [User ID1], [User ID3])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This appears to work fine and when I select France and view the cyclic group by the Sales Person I get the correct results. However as soon as I select a Sales Person the chart shows a completely different and incorrect sales figure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figured out why this is happening from the current selections box. As soon as I select a Sales Person that person is selected in both [User ID1]&amp;nbsp; and [User ID3]. If I clear the [User ID3] selection then I get the correct results. I have added in list box's for both User ID's and selected the Sales Person from each list box and it works fine so I believe the issues lies with the Cyclic Group if statement expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on this is much appreciated?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nikki&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 15:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cyclic-Group-IF-Statement-Expression/m-p/555402#M207433</guid>
      <dc:creator />
      <dc:date>2013-08-30T15:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cyclic Group IF Statement Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Cyclic-Group-IF-Statement-Expression/m-p/555403#M207434</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;Why do you have separate user id fields ? Where do you select Sales Person ?&lt;/P&gt;&lt;P&gt;Could you share an example ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 20:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cyclic-Group-IF-Statement-Expression/m-p/555403#M207434</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2013-08-30T20:12:47Z</dc:date>
    </item>
  </channel>
</rss>

