<?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: Please Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444123#M485376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's right it's a cyclic group and I tried: &lt;/P&gt;&lt;P&gt;if(GetCurrentField(C_CampSales) = 'NameInsurance', $(vAcceptedCurrentYearDirectNoMissing))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it's not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried GetCurrentField(C_CampSales) in a text object and it gives me NameInsurance&lt;/P&gt;&lt;P&gt;I also tried vAcceptedCurrentYearDirectNoMissing as an expression and it works fine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 May 2013 13:40:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-09T13:40:57Z</dc:date>
    <item>
      <title>Please Help</title>
      <link>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444119#M485372</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;&lt;/P&gt;&lt;P&gt;I'm struggling with an IF-condition that I can't get to work in my tabell. I created a variabel called vAcceptedCurrentYearDirectNoMissing that works fine when I use it in my expression: $(vAcceptedCurrentYearDirectNoMissing).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I put it in my if-condition (see underneath) and use it in my expression it doesn't seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(GetCurrentField([C_CampSales]) = 'NameInsurance',&lt;/P&gt;&lt;P&gt;$(vAcceptedCurrentYearDirectNoMissing))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Johan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 13:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444119#M485372</guid>
      <dc:creator />
      <dc:date>2013-05-09T13:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help</title>
      <link>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444120#M485373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[C_CampSales] = {'NameInsurance'}&amp;gt;}$(vAcceptedCurrentYearDirectNoMissing))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then select the data(that is NameInsurance) of [C_CampSales] field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or alsso try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([C_CampSales] = 'NameInsurance',$(vAcceptedCurrentYearDirectNoMissing))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 13:15:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444120#M485373</guid>
      <dc:creator />
      <dc:date>2013-05-09T13:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help</title>
      <link>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444121#M485374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;If C_CampSales is a field then try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;if(C_CampSales='NameInsurance',&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; $(vAcceptedCurrentYearDirectNoMissing))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;But if C_CampSales is a cylcic group or a drilldown group try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;if(GetCurrentField(C_CampSales) = 'NameInsurance', $(vAcceptedCurrentYearDirectNoMissing))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 13:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444121#M485374</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-09T13:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help</title>
      <link>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444122#M485375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks vishwaranjan, but unfortunately it didn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C_CampSales is a group that includes two dimensions: NameInsurance and campaign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to be able to switch between these dimensions in my table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will also be a seperate expressions for each dimension: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(GetCurrentField([C_CampSales]) = 'NameInsurance',&lt;/P&gt;&lt;P&gt;$(vAcceptedCurrentYearDirectNoMissing),&lt;/P&gt;&lt;P&gt;$(vAcceptedCurrentYearDirect))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 13:31:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444122#M485375</guid>
      <dc:creator />
      <dc:date>2013-05-09T13:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help</title>
      <link>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444123#M485376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's right it's a cyclic group and I tried: &lt;/P&gt;&lt;P&gt;if(GetCurrentField(C_CampSales) = 'NameInsurance', $(vAcceptedCurrentYearDirectNoMissing))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it's not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried GetCurrentField(C_CampSales) in a text object and it gives me NameInsurance&lt;/P&gt;&lt;P&gt;I also tried vAcceptedCurrentYearDirectNoMissing as an expression and it works fine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 13:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444123#M485376</guid>
      <dc:creator />
      <dc:date>2013-05-09T13:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help</title>
      <link>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444124#M485377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps the expression in your variable needs a dimension to work. The technique works for me. See attached example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 13:55:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444124#M485377</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-09T13:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help</title>
      <link>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444125#M485378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;what is the expression in your variable (&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;vAcceptedCurrentYearDirectNoMissing&lt;/SPAN&gt;). If it starts with equal sigh (=) delete it.When the expression in a variable definition starts with equal sign the variable gets calculated globally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 14:14:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444125#M485378</guid>
      <dc:creator />
      <dc:date>2013-05-09T14:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help</title>
      <link>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444126#M485379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Gysbert, but I can't get it to work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I'm working with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variables:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 13.333333969116211px; background-color: #ffffff;"&gt;vAcceptedCurrentYearDirect&lt;/SPAN&gt;= sum( {$&amp;lt;[CurrentYear] = {1}, TypeOfInsuranceCD = {1}, Campaign = {[Name1], [Name2], [Name3]} &amp;gt;} NoOfSales) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;AcceptedCurrentYearDirectNoMissing&lt;/SPAN&gt; = sum( {$&amp;lt;[CurrentYear] = {1}, TypeOfInsuranceCD = {1}, NameInsurance = {[Name1], [Name2], [Name3]} &amp;gt;} NoOfSales) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I have a table where I want Salesman and campaign to be a group as dim.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;if(GetCurrentField(C_CampSales) = 'NameInsurance',&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;$(vAcceptedCurrentYearDirectNoMissing),&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;$(vAcceptedCurrentYearDirect))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;I'm I missing a dimension somewhere?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 14:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444126#M485379</guid>
      <dc:creator />
      <dc:date>2013-05-09T14:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help</title>
      <link>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444127#M485380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This doesn't make sense to me: Campaign = {[Name1], [Name2], [Name3]}. Same for NameInsurance = {[Name1], [Name2], [Name3]}. Unless [Name1] is really something like 'ThisIsAString' then those set modifiers would almost certainly make sure no record matches. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Name1, Name2 and Name3 are fields then those are you're missing dimensions. You won't get a result unless only one value is selected (or possible) in Name1 and only one value is selected (or possible) in Name2 and only one value is selected (or possible) in Name3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 14:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-Help/m-p/444127#M485380</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-09T14:23:56Z</dc:date>
    </item>
  </channel>
</rss>

