<?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: expression help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/713277#M1059444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both expression are not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Sep 2014 07:49:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-09-29T07:49:59Z</dc:date>
    <item>
      <title>expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/713271#M1059438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to show number of days for condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( IN_TIME &amp;gt; GraceTime ) and Attendance_status = 'P' and 'POW' than it shud give me number of days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me to write it in &lt;STRONG&gt;set analysis.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 06:55:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/713271#M1059438</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2014-09-29T06:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/713272#M1059439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Try some thing like below&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;count({&amp;lt;Attendance_status = {'P' , 'POW'}&amp;gt;}if( IN_TIME &amp;gt; GraceTime,days))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 06:58:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/713272#M1059439</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-09-29T06:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/713273#M1059440</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(if(Wildmatch(Attendance_status,'P','POW') and IN_TIME&amp;gt;GraceTime,NoOfDays)&lt;/P&gt;&lt;P&gt;if you want distinct No of Days then write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(if(Wildmatch(Attendance_status,'P','POW') and IN_TIME&amp;gt;GraceTime,Distinct NoOfDays)&lt;/P&gt;&lt;P&gt;Need Sum write Sum instead of Count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Attendance_status={"P","POW"},IN_TIME={"&amp;gt;$(=GraceTime)"}&amp;gt;} NoOfDays)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:00:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/713273#M1059440</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-09-29T07:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/713274#M1059441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Dear Abhay,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;There are two ways:-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;1. count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;Attendance_status= {'P' , 'POW'&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;},IN_TIME&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(GraceTime)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;days&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;2. If(IN_TIME&amp;gt;GraceTime,(count&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;Attendance_status= {'P' , 'POW'&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;days))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks &amp;amp;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Prince Anand&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/713274#M1059441</guid>
      <dc:creator />
      <dc:date>2014-09-29T07:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/713275#M1059442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the expression as Max suggested but &lt;/P&gt;&lt;P&gt;Remember the fields IN_TIME and GraceTime must be of same date format.&lt;/P&gt;&lt;P&gt;You can convert them into numbers in script level and also use them to avoid confusion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/713275#M1059442</guid>
      <dc:creator />
      <dc:date>2014-09-29T07:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/713276#M1059443</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;You Can Use the following Exp. :&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;"&gt;Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;IN_TIME={"&amp;gt;$(=GraceTime)"},&lt;/SPAN&gt;Attendance_status={'P','POW'}&amp;gt;} NoOfDays).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&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;"&gt;Saurabh&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:08:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/713276#M1059443</guid>
      <dc:creator />
      <dc:date>2014-09-29T07:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/713277#M1059444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both expression are not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:49:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/713277#M1059444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-29T07:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/713278#M1059445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Abhay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the attached app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Prince Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 08:33:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/713278#M1059445</guid>
      <dc:creator />
      <dc:date>2014-09-29T08:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/713279#M1059446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here INtime is like 08:30:00 similar to ShiftStartTime not numeric.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 08:37:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/713279#M1059446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-29T08:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/713280#M1059447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Abhay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the attached app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Prince Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 08:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/713280#M1059447</guid>
      <dc:creator />
      <dc:date>2014-09-29T08:49:52Z</dc:date>
    </item>
  </channel>
</rss>

