<?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: comparing two columns in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/comparing-two-columns-in-set-analysis/m-p/359763#M133577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attach sample file and also explain the output what you want i.e. Show the data of chart in image or table view.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 May 2012 15:00:08 GMT</pubDate>
    <dc:creator>jagannalla</dc:creator>
    <dc:date>2012-05-19T15:00:08Z</dc:date>
    <item>
      <title>comparing two columns in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-two-columns-in-set-analysis/m-p/359759#M133573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I got a qlikview document that has the following tables:&lt;/P&gt;&lt;P&gt;Daily Sales&lt;/P&gt;&lt;P&gt;Business Units&lt;/P&gt;&lt;P&gt;Calendar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Calendar has a field called [Transaction Date] linked to the Daily Sales&lt;/P&gt;&lt;P&gt;and the Daily Sales has a field [BU Code] that links it to the table Business Units&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each business unit has an [Open Date] that determines when the businees unit was open&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the user selects the Year 2012 and Week 14&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a chart I want to find the following:&lt;/P&gt;&lt;P&gt;The sales of each business unit that correspond to the transactions that have date ([Transaction Date]) at least one year after the opening date of the business unit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote the following expression yet it is giving me nothing!&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; H_Flag={'Sales'},&lt;/P&gt;&lt;P&gt;&amp;nbsp; [H_Transaction Date] = {"&amp;gt;= $(=AddYears([Open Date],1))"}//,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Sales Amount USD]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 May 2012 13:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-two-columns-in-set-analysis/m-p/359759#M133573</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2012-05-19T13:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: comparing two columns in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-two-columns-in-set-analysis/m-p/359760#M133574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your set analysis is wrong. B'coz we need to compare with values in set analysis, but you are comparing with field data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;H_TransactionDate={"&amp;gt;=$(=Min(OpenDate))"}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 May 2012 13:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-two-columns-in-set-analysis/m-p/359760#M133574</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2012-05-19T13:23:38Z</dc:date>
    </item>
    <item>
      <title>comparing two columns in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-two-columns-in-set-analysis/m-p/359761#M133575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How Min(OpenDate)?&lt;/P&gt;&lt;P&gt;I need to compare with open date of each business unit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 May 2012 14:20:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-two-columns-in-set-analysis/m-p/359761#M133575</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2012-05-19T14:20:05Z</dc:date>
    </item>
    <item>
      <title>comparing two columns in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-two-columns-in-set-analysis/m-p/359762#M133576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to add one year to the minimum of the Open Date as you are suggesting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 May 2012 14:55:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-two-columns-in-set-analysis/m-p/359762#M133576</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2012-05-19T14:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: comparing two columns in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-two-columns-in-set-analysis/m-p/359763#M133577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attach sample file and also explain the output what you want i.e. Show the data of chart in image or table view.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 May 2012 15:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-two-columns-in-set-analysis/m-p/359763#M133577</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2012-05-19T15:00:08Z</dc:date>
    </item>
    <item>
      <title>comparing two columns in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-two-columns-in-set-analysis/m-p/359764#M133578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check attached document&lt;/P&gt;&lt;P&gt;in the chart the Tezenis brand should have some value for sure less than the one it is shown since this shop was opened on 5/5/2011&lt;/P&gt;&lt;P&gt;We are actually calculating the Like for like sales in the first column&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 May 2012 15:12:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-two-columns-in-set-analysis/m-p/359764#M133578</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2012-05-19T15:12:57Z</dc:date>
    </item>
  </channel>
</rss>

