<?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 Query in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Query/m-p/1115445#M909035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think Question No 1 can be converted to set analysis, unless I am missing something here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question No 2&lt;/P&gt;&lt;P&gt;Can be converted to set analysis, but it would be helpful to look at your data model before we propose anything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2016 18:18:54 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-06-14T18:18:54Z</dc:date>
    <item>
      <title>Set Analysis Query</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Query/m-p/1115444#M909033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if i can write the Set Analysis for the below code. If so any help on the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Question No 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 .if(x=0),'Yes','NO').&lt;/P&gt;&lt;P&gt;2. if(x=0 and y=1 , zx-1 ,0)&lt;/P&gt;&lt;P&gt;3. if(x&amp;gt;0 and y&amp;lt;&amp;gt;o or x1=0, Zx-1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here x,x1,y,z, are the variables.&lt;/P&gt;&lt;P&gt;________________________________________________________________________________&lt;/P&gt;&lt;P&gt;Question No 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(sum(if(date&amp;lt;=enddate and((line=('other') and len(override)=0) or (override= 'other')), (AMountx-1),0))+0,'###,###,(###,###);')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;__________________________________________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooja.&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-Query/m-p/1115444#M909033</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Query</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Query/m-p/1115445#M909035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think Question No 1 can be converted to set analysis, unless I am missing something here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question No 2&lt;/P&gt;&lt;P&gt;Can be converted to set analysis, but it would be helpful to look at your data model before we propose anything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 18:18:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Query/m-p/1115445#M909035</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-14T18:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Query</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Query/m-p/1115446#M909036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps using your IF logic in the backend script could solve your problem for the first question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this for Question2:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #312e25; font-size: 10pt; background-color: #f5f3e5; font-family: arial, helvetica, sans-serif;"&gt;Sum({$&amp;lt;override={'&lt;SPAN style="color: #3d3d3d;"&gt;other&lt;/SPAN&gt;'},&lt;SPAN style="color: #312e25; background-color: #f5f3e5;"&gt;line={'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;other&lt;/SPAN&gt;&lt;SPAN style="color: #312e25; background-color: #f5f3e5;"&gt;'},&lt;SPAN style="color: #3d3d3d;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt; = {"&amp;lt;=only(enddate)"}&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;}AMountx-1)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 08:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Query/m-p/1115446#M909036</guid>
      <dc:creator />
      <dc:date>2016-06-15T08:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Query</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Query/m-p/1115447#M909038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response and i guessed the same for Question 1. I have one more doubt that, can we do this by using 'only' function.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For question no 2&amp;nbsp; I I will prepare the data modeling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 05:18:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Query/m-p/1115447#M909038</guid>
      <dc:creator />
      <dc:date>2016-06-19T05:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Query</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Query/m-p/1115448#M909039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Pravesh, Will check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 05:19:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Query/m-p/1115448#M909039</guid>
      <dc:creator />
      <dc:date>2016-06-19T05:19:24Z</dc:date>
    </item>
  </channel>
</rss>

