<?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 in an Interval expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-an-Interval-expression/m-p/57497#M777603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean this one: &lt;EM&gt;=count({&amp;lt;CreationDate= {'&amp;gt;=$(=DayStart(today()-1))&amp;lt;$(=DayStart(today()))'}, Itemtype={'1'}&amp;gt;} [Item Number])&lt;/EM&gt; ? Yes, it does work and it provides accurate data on a daily basis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2018 15:17:25 GMT</pubDate>
    <dc:creator>nicalbert</dc:creator>
    <dc:date>2018-04-18T15:17:25Z</dc:date>
    <item>
      <title>Set analysis in an Interval expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-an-Interval-expression/m-p/57493#M777599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have a QV app where I display the number of items for "yesterday", using the following expression that works perfectly:&lt;/P&gt;&lt;P&gt;=count({&amp;lt;CreationDate= {'&amp;gt;=$(=DayStart(today()-1))&amp;lt;$(=DayStart(today()))'}, Itemtype={'1'}&amp;gt;} [Item Number])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I the same app, I am displaying the average time required to create each item, using the following:&lt;/P&gt;&lt;P&gt;=Interval(avg(ProcessEnd-ProcessStart),'hh:mm:ss')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I have the following request from my colleagues: Can we get a gauge that shows only the average processing time for each item made yesterday. My guess is that I somehow have to match both expressions... But I have no clue how to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone provide information on that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&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-in-an-Interval-expression/m-p/57493#M777599</guid>
      <dc:creator>nicalbert</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis in an Interval expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-an-Interval-expression/m-p/57494#M777600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you need to add the same set analysis to your avg expression&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;=Interval(Avg(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;CreationDate= {'&amp;gt;=$(=DayStart(today()-1))&amp;lt;$(=DayStart(today()))'}, Itemtype={'1'}&amp;gt;} &lt;/SPAN&gt;ProcessEnd-ProcessStart),'hh:mm:ss')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 14:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-in-an-Interval-expression/m-p/57494#M777600</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-18T14:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis in an Interval expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-an-Interval-expression/m-p/57495#M777601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression works, but it returns the exact same value as the average one I use, as if the set analysis was not "working" (i.e. not affecting the data selection).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 15:13:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-in-an-Interval-expression/m-p/57495#M777601</guid>
      <dc:creator>nicalbert</dc:creator>
      <dc:date>2018-04-18T15:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis in an Interval expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-an-Interval-expression/m-p/57496#M777602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure that this same set analysis expression works within the other expression that you shared above?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 15:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-in-an-Interval-expression/m-p/57496#M777602</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-18T15:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis in an Interval expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-an-Interval-expression/m-p/57497#M777603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean this one: &lt;EM&gt;=count({&amp;lt;CreationDate= {'&amp;gt;=$(=DayStart(today()-1))&amp;lt;$(=DayStart(today()))'}, Itemtype={'1'}&amp;gt;} [Item Number])&lt;/EM&gt; ? Yes, it does work and it provides accurate data on a daily basis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 15:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-in-an-Interval-expression/m-p/57497#M777603</guid>
      <dc:creator>nicalbert</dc:creator>
      <dc:date>2018-04-18T15:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis in an Interval expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-an-Interval-expression/m-p/57498#M777604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would it be possible for you to share a sample or sample data with the expected output from the sample you share?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 15:18:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-in-an-Interval-expression/m-p/57498#M777604</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-18T15:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis in an Interval expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-an-Interval-expression/m-p/57499#M777605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just made the example you've requested using the exact same data as my original app and your expression, but this time it works and shows data correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't get it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 16:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-in-an-Interval-expression/m-p/57499#M777605</guid>
      <dc:creator>nicalbert</dc:creator>
      <dc:date>2018-04-18T16:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis in an Interval expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-an-Interval-expression/m-p/57500#M777606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Creation date is a timestamp field? Are you sure your first expression worked? Because if the set analysis worked for the 1st one... it should work for the second time... if it didn't work for the first time... it could be because of the creation date set analysis?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 16:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-in-an-Interval-expression/m-p/57500#M777606</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-18T16:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis in an Interval expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-an-Interval-expression/m-p/57501#M777607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it to work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replaced the gauge from the initial app by the one I created for you and BAM! it worked!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You rock, thanks for your time!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 16:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-in-an-Interval-expression/m-p/57501#M777607</guid>
      <dc:creator>nicalbert</dc:creator>
      <dc:date>2018-04-18T16:22:32Z</dc:date>
    </item>
  </channel>
</rss>

