<?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: If statement to Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-statement-to-Set-Analysis/m-p/450053#M167953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set analysis is not really a replacement for IF statements, so it is a bit unclear what you are trying to accomplish in this case. What issue are you trying to resolve by altering the statement? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is most often essential to have access to a sample QVW when evaluating an expression, since the dimensions of the chart and the data model are relevant &lt;SPAN style="font-size: 10pt;"&gt;considerations. also your expression has variable, which content is unclear without a sample application. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please clarify what issue you have run into and what you are trying to accomplish, along with a sample appplicaiton and you will increase the possibility to get a quicker and morehelpful answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Apr 2013 19:25:53 GMT</pubDate>
    <dc:creator>ToniKautto</dc:creator>
    <dc:date>2013-04-12T19:25:53Z</dc:date>
    <item>
      <title>If statement to Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-to-Set-Analysis/m-p/450052#M167952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone help me transform this if statement to set analysis instead please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(isnull(min({$&amp;lt;Shift_Date={'$(vYesterday)'}&amp;gt;}ClockInOutTime)) and sum(OrderComplete_Flag)&amp;gt;0,vClockIn,&lt;/P&gt;&lt;P&gt;if(frac(num(Min({$&amp;lt;Shift_Date={'$(vYesterday)'}&amp;gt;}ClockInOutTime)))&amp;gt;num(time(vLateClockIn)),vClockIn,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;frac(num(Min({$&amp;lt;Shift_Date={'$(vYesterday)'}&amp;gt;}ClockInOutTime)))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 14:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-to-Set-Analysis/m-p/450052#M167952</guid>
      <dc:creator />
      <dc:date>2013-04-12T14:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-to-Set-Analysis/m-p/450053#M167953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set analysis is not really a replacement for IF statements, so it is a bit unclear what you are trying to accomplish in this case. What issue are you trying to resolve by altering the statement? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is most often essential to have access to a sample QVW when evaluating an expression, since the dimensions of the chart and the data model are relevant &lt;SPAN style="font-size: 10pt;"&gt;considerations. also your expression has variable, which content is unclear without a sample application. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please clarify what issue you have run into and what you are trying to accomplish, along with a sample appplicaiton and you will increase the possibility to get a quicker and morehelpful answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 19:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-to-Set-Analysis/m-p/450053#M167953</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2013-04-12T19:25:53Z</dc:date>
    </item>
  </channel>
</rss>

