<?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: Column Reference with Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Column-Reference-with-Set-Analysis/m-p/529454#M197910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the field "Y" is the field that you selected&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Dec 2013 21:35:44 GMT</pubDate>
    <dc:creator>marthacano01</dc:creator>
    <dc:date>2013-12-04T21:35:44Z</dc:date>
    <item>
      <title>Column Reference with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Column-Reference-with-Set-Analysis/m-p/529450#M197906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've created a line chart to compare activity year over year.&amp;nbsp; I'm having trouble creating the expression to represent the prior year's data, using set analysis to get the year prior to the selected year.&amp;nbsp; I have 2 issues:&lt;/P&gt;&lt;P&gt;1) I don't want to aggregate any data, I'm using column references so the data is already aggregated.&amp;nbsp; (I guess I could use MAX or AVG if necessary to make this work&lt;/P&gt;&lt;P&gt;2) Qlikview doesn't appear to want to allow me to use column references.&amp;nbsp; I get the red underline indicating a syntax error under the columns I'm trying to reference and no data is returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me understand what I need to do differently to make this work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;({$&amp;lt;EmailYear={$(=Max(EmailYear)-1)}&amp;gt;}&amp;nbsp; [#Unique Open Rate])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 19:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-Reference-with-Set-Analysis/m-p/529450#M197906</guid>
      <dc:creator />
      <dc:date>2013-12-04T19:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Column Reference with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Column-Reference-with-Set-Analysis/m-p/529451#M197907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Ashley. Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;({$&amp;lt;EmailYear={"=Max(EmailYear)-1)"}&amp;gt;}&amp;nbsp; [#Unique Open Rate])&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 20:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-Reference-with-Set-Analysis/m-p/529451#M197907</guid>
      <dc:creator>marthacano01</dc:creator>
      <dc:date>2013-12-04T20:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Column Reference with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Column-Reference-with-Set-Analysis/m-p/529452#M197908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That doesn't work.&amp;nbsp; It shows the red underline under the whole expression indicating an error.&amp;nbsp; When I put MAX or AVG in front of it, then the red underline is only under the column reference.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 20:48:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-Reference-with-Set-Analysis/m-p/529452#M197908</guid>
      <dc:creator />
      <dc:date>2013-12-04T20:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Column Reference with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Column-Reference-with-Set-Analysis/m-p/529453#M197909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, please create a variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vYear = &lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Y&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)-1 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum &lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EmailYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vYear)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;} &amp;gt;} [#Unique Open Rate])&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 21:34:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-Reference-with-Set-Analysis/m-p/529453#M197909</guid>
      <dc:creator>marthacano01</dc:creator>
      <dc:date>2013-12-04T21:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Column Reference with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Column-Reference-with-Set-Analysis/m-p/529454#M197910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the field "Y" is the field that you selected&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 21:35:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-Reference-with-Set-Analysis/m-p/529454#M197910</guid>
      <dc:creator>marthacano01</dc:creator>
      <dc:date>2013-12-04T21:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Column Reference with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Column-Reference-with-Set-Analysis/m-p/529455#M197911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Something Like below&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;Email&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'$(=Max(EmailYear)-1)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SALE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Change SUM and SALE as per your required field... &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 22:08:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-Reference-with-Set-Analysis/m-p/529455#M197911</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2013-12-04T22:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Column Reference with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Column-Reference-with-Set-Analysis/m-p/529456#M197912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, you can change content of the variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;vYear = &lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EmailYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)-1 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum &lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EmailYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(vYear)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SALE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 22:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-Reference-with-Set-Analysis/m-p/529456#M197912</guid>
      <dc:creator>marthacano01</dc:creator>
      <dc:date>2013-12-04T22:30:28Z</dc:date>
    </item>
  </channel>
</rss>

