<?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 How to write if condition in setexpression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-if-condition-in-setexpression/m-p/868186#M659763</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;I want to display count of some ticketid based on difference of two date fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;=Count(DISTINCT {&amp;lt;Process={'Change'},[Call_Day of Month]=,Call_Month=,Call_Year=&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;if( Round ( Date(Date#([Scheduled Start Date Time],'MM/DD/YYYY hh:mm:ss TT'),'MM/DD/YYYY') -Date(Max(Call_Date),'MM/DD/YYYY'))&amp;gt;= 0 and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Round( Date(Date#([Scheduled Start Date Time],'MM/DD/YYYY hh:mm:ss TT'),'MM/DD/YYYY') -Date(Max(Call_Date),'MM/DD/YYYY'))&amp;nbsp; &amp;lt;=60,TicketID))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance &lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Apr 2015 14:50:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-20T14:50:51Z</dc:date>
    <item>
      <title>How to write if condition in setexpression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-if-condition-in-setexpression/m-p/868186#M659763</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;I want to display count of some ticketid based on difference of two date fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;=Count(DISTINCT {&amp;lt;Process={'Change'},[Call_Day of Month]=,Call_Month=,Call_Year=&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;if( Round ( Date(Date#([Scheduled Start Date Time],'MM/DD/YYYY hh:mm:ss TT'),'MM/DD/YYYY') -Date(Max(Call_Date),'MM/DD/YYYY'))&amp;gt;= 0 and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Round( Date(Date#([Scheduled Start Date Time],'MM/DD/YYYY hh:mm:ss TT'),'MM/DD/YYYY') -Date(Max(Call_Date),'MM/DD/YYYY'))&amp;nbsp; &amp;lt;=60,TicketID))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance &lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 14:50:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-if-condition-in-setexpression/m-p/868186#M659763</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-20T14:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to write if condition in setexpression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-if-condition-in-setexpression/m-p/868187#M659764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #575757; font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; font-weight: inherit;"&gt;&lt;STRONG&gt;=Count(DISTINCT {&amp;lt;Process={'Change'},[Call_Day of Month]=,Call_Month=,Call_Year=&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #575757; font-size: 10pt; font-style: inherit; font-family: arial, helvetica, sans-serif;"&gt;If([Scheduled Start Date Time] - Max(Call_Date) &amp;gt;= 0 and &lt;/STRONG&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;&lt;STRONG&gt;[Scheduled Start Date Time] - Max(Call_Date) &amp;lt;= 60, TicketID))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;Sunny&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 14:55:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-if-condition-in-setexpression/m-p/868187#M659764</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-20T14:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to write if condition in setexpression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-if-condition-in-setexpression/m-p/868188#M659765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, try&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;if( Round ( Date(Date#([Scheduled Start Date Time],'MM/DD/YYYY hh:mm:ss TT'),'MM/DD/YYYY') -Date(Max(Call_Date),'MM/DD/YYYY'))&amp;gt;= 0 and&lt;/P&gt;&lt;P&gt;Round( Date(Date#([Scheduled Start Date Time],'MM/DD/YYYY hh:mm:ss TT'),'MM/DD/YYYY')) -Date(Max(Call_Date),'MM/DD/YYYY'))&amp;nbsp; &amp;lt;=60,&lt;/P&gt;&lt;P&gt;Count(DISTINCT {&amp;lt;Process={'Change'},[Call_Day of Month]=,Call_Month=,Call_Year=&amp;gt;}TicketID))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 14:58:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-if-condition-in-setexpression/m-p/868188#M659765</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-20T14:58:12Z</dc:date>
    </item>
  </channel>
</rss>

