<?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: Comparison field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparison-field/m-p/640607#M1091068</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like I need it.&lt;/P&gt;&lt;P&gt;But I do something wrong.&lt;/P&gt;&lt;P&gt;Could you please send me your example.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 May 2014 13:51:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-21T13:51:44Z</dc:date>
    <item>
      <title>Comparison field</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-field/m-p/640605#M1091066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a chart. I have 2 fields: Campaign and date. (filters)&lt;/P&gt;&lt;P&gt;I want to select from variable Campaign (for example Campaign A) and from comparison variable Campaign (for example Campaign D)&amp;nbsp; and compare them.&lt;/P&gt;&lt;P&gt;How can I set up independent variables Campaign?&lt;/P&gt;&lt;P&gt;or help with your idea.&lt;/P&gt;&lt;P&gt;Please find attached file.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 18:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-field/m-p/640605#M1091066</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-20T18:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison field</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-field/m-p/640606#M1091067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vladimir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe alternate states could be a solution for you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at first generate an alternate state like this:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="59236" alt="QlikCommunity_Thread_119141_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/59236_QlikCommunity_Thread_119141_Pic1.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this state in your comparison campaign selection chart:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="59243" alt="QlikCommunity_Thread_119141_Pic3.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/59243_QlikCommunity_Thread_119141_Pic3.JPG.jpg" style="width: 620px; height: 134px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add the alternate state to your chart's set expressions:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="59244" alt="QlikCommunity_Thread_119141_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/59244_QlikCommunity_Thread_119141_Pic2.JPG.jpg" style="width: 620px; height: 172px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the result should look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="59245" alt="QlikCommunity_Thread_119141_Pic4.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/59245_QlikCommunity_Thread_119141_Pic4.JPG.jpg" style="width: 620px; height: 395px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe you also have to adjust your set exprsssions in order to let the selections in other fields also apply to your comparison expressions.&lt;/P&gt;&lt;P&gt;see help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: arial, helvetica, sans-serif;"&gt;&lt;EM&gt;Example:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #0000ff;"&gt;&lt;EM&gt;sum({[Group 1]&amp;lt;Region = $::Region&amp;gt;} Sales)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: arial, helvetica, sans-serif;"&gt;&lt;EM&gt;This syntax uses the selections in the Region field from the default state and modifies the state ‘Group 1’ with them. The effect is to keep the Region field "synchronized" between the default state and ‘Group 1’ for this expression.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 21:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-field/m-p/640606#M1091067</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-05-20T21:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison field</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-field/m-p/640607#M1091068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like I need it.&lt;/P&gt;&lt;P&gt;But I do something wrong.&lt;/P&gt;&lt;P&gt;Could you please send me your example.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 13:51:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-field/m-p/640607#M1091068</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-21T13:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison field</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-field/m-p/640608#M1091069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I solve an issue.&lt;/P&gt;&lt;P&gt;But I use my expression. I don't know how to use your expression. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;I have selection by Campaign and/or date&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to fix my expression. Because when I select from Comparison period, my Campaign period disappears.&lt;/P&gt;&lt;P&gt;I need to re-select date from Campaign period again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 15:03:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-field/m-p/640608#M1091069</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-21T15:03:41Z</dc:date>
    </item>
  </channel>
</rss>

