<?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: with out set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/with-out-set-analysis/m-p/1077931#M933789</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Sum ({&amp;lt;year = {$(=max (year))}&amp;gt;} [budget amount]) - this is expression for max year right? so now &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;i want&amp;nbsp; max year by using IF condition instead of set analysis&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Mar 2016 04:38:47 GMT</pubDate>
    <dc:creator>prabhas277</dc:creator>
    <dc:date>2016-03-03T04:38:47Z</dc:date>
    <item>
      <title>with out set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/with-out-set-analysis/m-p/1077929#M933787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 12 months data in db now i want data for 6 th month.&amp;nbsp; how to write the set expression and and how to write the same query by using IF condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In advance...&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/with-out-set-analysis/m-p/1077929#M933787</guid>
      <dc:creator>prabhas277</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: with out set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/with-out-set-analysis/m-p/1077930#M933788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whenever you ask a query here, try to create a sample qvw and share. This helps you get the solution faster, because without that there would be many assumptions and subsequent queries. I.e. - let the people know how your data look like and how exactly the output you are expecting to be. So, try to share a sample qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 04:30:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/with-out-set-analysis/m-p/1077930#M933788</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-03-03T04:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: with out set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/with-out-set-analysis/m-p/1077931#M933789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Sum ({&amp;lt;year = {$(=max (year))}&amp;gt;} [budget amount]) - this is expression for max year right? so now &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;i want&amp;nbsp; max year by using IF condition instead of set analysis&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 04:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/with-out-set-analysis/m-p/1077931#M933789</guid>
      <dc:creator>prabhas277</dc:creator>
      <dc:date>2016-03-03T04:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: with out set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/with-out-set-analysis/m-p/1077932#M933790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then, you can try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(year = Max(year), true statement, false statment)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 04:44:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/with-out-set-analysis/m-p/1077932#M933790</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-03-03T04:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: with out set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/with-out-set-analysis/m-p/1077933#M933791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hope you have date field. You can try with max(date).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({&amp;lt;Date={‘&amp;gt;=$(=Addmonths(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Max(Date)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;, -6))&amp;lt;=$(=Date(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Max(Date)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;))’}&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[budget amount]&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 04:47:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/with-out-set-analysis/m-p/1077933#M933791</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-03-03T04:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: with out set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/with-out-set-analysis/m-p/1077934#M933792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a text box, try like:&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;Sum ( If(year =$(=max (year)), [budget amount]) )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 04:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/with-out-set-analysis/m-p/1077934#M933792</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-03-03T04:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: with out set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/with-out-set-analysis/m-p/1077935#M933793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set analysis is the best option for this type of scenarios, it has better performance over using If().&amp;nbsp; Not sure why you are not using the Set Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF you really want then use below expression using Aggr()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;Sum ( Aggr(If(year =Max(TOTAL year), Sum([budget amount]), 0), year))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 05:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/with-out-set-analysis/m-p/1077935#M933793</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-03T05:20:36Z</dc:date>
    </item>
  </channel>
</rss>

