<?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 columns in set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Comparing-columns-in-set-analysis/m-p/1777051#M60263</link>
    <description>&lt;P&gt;using if else in expressions result in very slow response&amp;nbsp;&lt;BR /&gt;I never used if else (but rarely)&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jan 2021 10:47:10 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2021-01-25T10:47:10Z</dc:date>
    <item>
      <title>Comparing columns in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-columns-in-set-analysis/m-p/1776926#M60243</link>
      <description>&lt;P&gt;Hello Qlik_ers&lt;BR /&gt;I was reviewing the set analysis in the help page of Qlik and I found the following:&lt;/P&gt;&lt;TABLE cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;sum({$&amp;lt;OrderDate = DeliveryDate&amp;gt;} Sales)&lt;/TD&gt;&lt;TD&gt;Returns the sales for the current selection where&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;OrderDate = DeliveryDate.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;and you can find this under the following link:&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense/November2020/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense/November2020/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-analysis-expressions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;the editor give ok on the syntax&lt;BR /&gt;I always know that I need a key column and write instead sum({&amp;lt;key_column={"=OrderDate=DeliveryDate"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;so I tried what is written in the help link in my dashboard I have but this doesn't work at all and always returns zero&lt;BR /&gt;&lt;BR /&gt;Kindly advise&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2021 15:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-columns-in-set-analysis/m-p/1776926#M60243</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2021-01-24T15:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing columns in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-columns-in-set-analysis/m-p/1776932#M60246</link>
      <description>&lt;P&gt;It is not mandatory to have Key column until unless your data literacy wrong in model. You can simplify this way&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum(If(OrderDate = DeliveryDate, Sales))&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2021 16:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-columns-in-set-analysis/m-p/1776932#M60246</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2021-01-24T16:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing columns in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-columns-in-set-analysis/m-p/1776956#M60252</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;yes for me also result become Zero&lt;/P&gt;&lt;P&gt;ksrinivasan&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2021 19:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-columns-in-set-analysis/m-p/1776956#M60252</guid>
      <dc:creator>Ksrinivasan</dc:creator>
      <dc:date>2021-01-24T19:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing columns in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-columns-in-set-analysis/m-p/1777051#M60263</link>
      <description>&lt;P&gt;using if else in expressions result in very slow response&amp;nbsp;&lt;BR /&gt;I never used if else (but rarely)&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 10:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-columns-in-set-analysis/m-p/1777051#M60263</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2021-01-25T10:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing columns in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-columns-in-set-analysis/m-p/1777052#M60264</link>
      <description>&lt;P&gt;so how come they put something that doesn't work?!&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 10:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-columns-in-set-analysis/m-p/1777052#M60264</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2021-01-25T10:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing columns in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-columns-in-set-analysis/m-p/1777124#M60271</link>
      <description>&lt;P&gt;I think it's a mistake within the help maybe a copy &amp;amp; paste error from an alpha-release of the set analysis (earlier as QV 8.5) as they developed this&amp;nbsp;feature. I could imagine that those syntax was functionable at this time and they decided to remove it from the final product because it could be never a pure set analysis. This means both mentioned approaches:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{$&amp;lt;OrderDate = DeliveryDate&amp;gt;}&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and&amp;nbsp;{"=OrderDate=DeliveryDate"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;aren't a real set analysis else an if-loop in the syntax of a set analysis and mainly the same like:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(OrderDate=DeliveryDate, sum(Anything))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Marcus&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 13:59:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-columns-in-set-analysis/m-p/1777124#M60271</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-01-25T13:59:25Z</dc:date>
    </item>
  </channel>
</rss>

