<?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: Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1058382#M927844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are not allowed to use functions on the left hand side of the set analysis modifier and that is why the first expression isn't working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Mar 2016 15:44:53 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-03-23T15:44:53Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1058381#M927843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey There, &lt;/P&gt;&lt;P&gt;i try to use function on set analysis but i see i have an errors in my expression.&lt;/P&gt;&lt;P&gt;need some help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; text-decoration: underline;"&gt;This is not working&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Left(OrderDateKey,4)={'2006'}&amp;gt;}SalesAmount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;This is work :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Year={"$(=Year(Today()))"}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1058381#M927843</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1058382#M927844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are not allowed to use functions on the left hand side of the set analysis modifier and that is why the first expression isn't working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 15:44:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1058382#M927844</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-23T15:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1058383#M927845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can only compare fields (in your case Year) with values within Set Analysis.&lt;/P&gt;&lt;P&gt;So if you convert OrderDateKey in your script into a Year field, you'll be able to create the second proposed Set Analysis.&lt;/P&gt;&lt;P&gt;And for performance reasons it is also better to prepare your dimensions in the script instead of having a calculated dimension in your front-end of the dashboard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 15:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1058383#M927845</guid>
      <dc:creator>jepeerik</dc:creator>
      <dc:date>2016-03-23T15:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1058384#M927846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1st expression:&lt;/P&gt;&lt;P&gt;one solution could be to add a year field in the script (maybe in a calendar), &lt;/P&gt;&lt;P&gt;then use this new field in set analysis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 15:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1058384#M927846</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-03-23T15:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1058385#M927847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But you can do a search on your field values like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum( {&amp;lt;OrderDateKey=&lt;STRONG&gt;{"2006*"} &lt;/STRONG&gt;&amp;gt;} SalesAmount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should also work, just for demonstration:&lt;/P&gt;&lt;P&gt;=Sum( OrderDateKey={"=Left(OrderDateKey,4)=2006"}&amp;gt;}SalesAmount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 15:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1058385#M927847</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-23T15:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1058386#M927848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you but the second expression not working for me. i think the best way to do it is on the script &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 05:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1058386#M927848</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-24T05:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1058387#M927849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think about it as solution wanna be sure that is not possible Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 05:57:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1058387#M927849</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-24T05:57:39Z</dc:date>
    </item>
  </channel>
</rss>

