<?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: Finding average days between two dates in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Finding-average-days-between-two-dates/m-p/1246611#M24886</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;&lt;STRONG&gt;May be this&lt;BR /&gt;&lt;/STRONG&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;STRONG&gt;avg({$&amp;lt;transcript_status_code = {'W','w'}&lt;SPAN style="text-decoration: underline;"&gt;,Course={"=(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: underline;"&gt;date(today()&lt;/SPAN&gt;,'MM/DD/YYYY')-&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: underline;"&gt;waitlist_date&lt;/SPAN&gt;)&amp;lt;=100"}&lt;/SPAN&gt;&amp;gt;}(date(today() - waitlist_date)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Feb 2017 15:32:45 GMT</pubDate>
    <dc:creator>aarkay29</dc:creator>
    <dc:date>2017-02-22T15:32:45Z</dc:date>
    <item>
      <title>Finding average days between two dates</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-average-days-between-two-dates/m-p/1246609#M24884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a set analysis to find the average days that students are on the waitlist for a course.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Course being my &lt;STRONG&gt;Dimension&lt;/STRONG&gt;, and "Average Days on Waitlist" being my &lt;STRONG&gt;Measure&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code for the Measure looks like this:&lt;/P&gt;&lt;P&gt;avg({$&amp;lt;transcript_status_code = {'W','w'}&amp;gt;}(date(today() - waitlist_date)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having trouble building the code to show only the course(s) that have less then or equal 100 days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 15:14:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-average-days-between-two-dates/m-p/1246609#M24884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-22T15:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Finding average days between two dates</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-average-days-between-two-dates/m-p/1246610#M24885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will this work ...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Avg({$&amp;lt;transcript_status_code = {'W','w'}&amp;gt;}(date(today() - waitlist_date)))&amp;gt;100,0,&lt;/P&gt;&lt;P&gt;Avg({$&amp;lt;transcript_status_code = {'W','w'}&amp;gt;}(date(today() - waitlist_date)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nav Pienaar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 15:32:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-average-days-between-two-dates/m-p/1246610#M24885</guid>
      <dc:creator>nav_pienaar</dc:creator>
      <dc:date>2017-02-22T15:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Finding average days between two dates</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-average-days-between-two-dates/m-p/1246611#M24886</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;&lt;STRONG&gt;May be this&lt;BR /&gt;&lt;/STRONG&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;STRONG&gt;avg({$&amp;lt;transcript_status_code = {'W','w'}&lt;SPAN style="text-decoration: underline;"&gt;,Course={"=(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: underline;"&gt;date(today()&lt;/SPAN&gt;,'MM/DD/YYYY')-&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: underline;"&gt;waitlist_date&lt;/SPAN&gt;)&amp;lt;=100"}&lt;/SPAN&gt;&amp;gt;}(date(today() - waitlist_date)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 15:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-average-days-between-two-dates/m-p/1246611#M24886</guid>
      <dc:creator>aarkay29</dc:creator>
      <dc:date>2017-02-22T15:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Finding average days between two dates</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-average-days-between-two-dates/m-p/1246612#M24887</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&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Date(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;Avg({$&amp;lt;transcript_status_code = {'W','w'}, Course = {"=&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Today() - waitlist_date&lt;/STRONG&gt; &amp;lt;= 100"}&amp;gt;}(Today() - waitlist_date)))&lt;/STRONG&gt;&lt;/SPAN&gt;&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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;If(&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Today() - waitlist_date&lt;/STRONG&gt; &amp;lt;= 100&lt;/STRONG&gt;, Date(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Avg({$&amp;lt;transcript_status_code = {'W','w'}&amp;gt;} (Today() - waitlist_date))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 15:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-average-days-between-two-dates/m-p/1246612#M24887</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-22T15:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Finding average days between two dates</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-average-days-between-two-dates/m-p/1246613#M24888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to use the If statement to get it to work with a little finesse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your help all!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 15:51:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-average-days-between-two-dates/m-p/1246613#M24888</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-22T15:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Finding average days between two dates</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-average-days-between-two-dates/m-p/1246614#M24889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is actually the exact code I implemented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(avg({$&amp;lt;transcript_status_code = {'W','w'}&amp;gt;}(date(today() - waitlist_date))) &lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt; 100, avg({$&amp;lt;transcript_status_code = {'W','w'}&amp;gt;}(date(today() - waitlist_date))), null())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 16:21:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-average-days-between-two-dates/m-p/1246614#M24889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-22T16:21:44Z</dc:date>
    </item>
  </channel>
</rss>

