<?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: Use of Expression Label in antoher Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-of-Expression-Label-in-antoher-Expression/m-p/644942#M1086531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure where the timestamp difference fits into your expression, but you can use [Informal Hours] anywhere in your expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jun 2014 15:35:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-09T15:35:06Z</dc:date>
    <item>
      <title>Use of Expression Label in antoher Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Expression-Label-in-antoher-Expression/m-p/644940#M1086529</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;I have an expression label called "Informal Hours" which calculates two timestamps difference in working hours. How can I use this label in the following exression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=if(count(Day) &amp;gt; 2 , avg(if(Sales &amp;gt; aggr(NODISTINCT fractile(Sales, 0.1), Month) and Sales &amp;lt; aggr(NODISTINCT fractile(Sales, 0.9), Month),Sales)), avg(Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 15:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Expression-Label-in-antoher-Expression/m-p/644940#M1086529</guid>
      <dc:creator />
      <dc:date>2014-06-09T15:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Expression Label in antoher Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Expression-Label-in-antoher-Expression/m-p/644941#M1086530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use that header (only if there are not varibles in it) with squares: [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Informal Hours]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 15:31:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Expression-Label-in-antoher-Expression/m-p/644941#M1086530</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-06-09T15:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Expression Label in antoher Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Expression-Label-in-antoher-Expression/m-p/644942#M1086531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure where the timestamp difference fits into your expression, but you can use [Informal Hours] anywhere in your expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 15:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Expression-Label-in-antoher-Expression/m-p/644942#M1086531</guid>
      <dc:creator />
      <dc:date>2014-06-09T15:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Expression Label in antoher Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Expression-Label-in-antoher-Expression/m-p/644943#M1086532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Alessandro and Jacob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think i can use Sales with Informal Hours but what about Day and Month becuase my calculation is based on hours&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 15:38:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Expression-Label-in-antoher-Expression/m-p/644943#M1086532</guid>
      <dc:creator />
      <dc:date>2014-06-09T15:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Expression Label in antoher Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Expression-Label-in-antoher-Expression/m-p/644944#M1086533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you provide your qvw? I'm unsure of what you are trying to accomplish with your expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 16:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Expression-Label-in-antoher-Expression/m-p/644944#M1086533</guid>
      <dc:creator />
      <dc:date>2014-06-09T16:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Expression Label in antoher Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Expression-Label-in-antoher-Expression/m-p/644945#M1086534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jacob, I am afraid ca't upload qvw file. I am using the following expression to calcualte working hours. If you know better expression to calcualate two timestamps difference in hours based on Monday to Friday and 9am to 9pm please let me know. I will replace it then. In the following expression my application entered date is EnteredFirstTimestamp and decisioned date is AnalysedFirstTimestamp. I happy with this expression but there are outliers in the therfore i need to use the above (or whatever you suggest) to exlucde the outliers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;avg(fabs(interval(((Networkdays(Date(EnteredFirstTimestamp,'DD/MM/YYYY hh:mm:ss'),Date(AnalysedFirstTimestamp,'DD/MM/YYYY hh:mm:ss')) -2)*'$(vWorkDay)') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; + &lt;/P&gt;&lt;P&gt;if(frac(date(EnteredFirstTimestamp))&amp;lt;num('$(vQuitTime)'),if(frac(date(EnteredFirstTimestamp))&amp;gt;num('$(vStartTime)'),Date#(date(floor(EnteredFirstTimestamp),'DD/MM/YYYY') &amp;amp; '$(vQuitTime)' ,'DD/MM/YYYYhh:mm:ss')-Date(EnteredFirstTimestamp,'DD/MM/YYYY hh:mm:ss'),Date#(date(floor(EnteredFirstTimestamp),'DD/MM/YYYY') &amp;amp; '$(vQuitTime)' ,'DD/MM/YYYYhh:mm:ss')-Date#(date(floor(EnteredFirstTimestamp),'DD/MM/YYYY') &amp;amp; '$(vStartTime)' ,'DD/MM/YYYYhh:mm:ss')),0) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;+ &lt;/P&gt;&lt;P&gt; if(frac(date(AnalysedFirstTimestamp))&amp;gt;num('$(vStartTime)'),if(frac(date(AnalysedFirstTimestamp))&amp;lt;num('$(vQuitTime)'),(Date(AnalysedFirstTimestamp,'DD/MM/YYYY hh:mm:ss')-Date#(date(floor(AnalysedFirstTimestamp),'DD/MM/YYYY') &amp;amp; '$(vStartTime)','DD/MM/YYYYhh:mm:ss')),Date#(date(floor(AnalysedFirstTimestamp),'DD/MM/YYYY') &amp;amp; '$(vQuitTime)','DD/MM/YYYYhh:mm:ss')-Date#(date(floor(AnalysedFirstTimestamp),'DD/MM/YYYY') &amp;amp; '$(vStartTime)','DD/MM/YYYYhh:mm:ss')),0), 'hh:mm:ss')))*24&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 16:16:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Expression-Label-in-antoher-Expression/m-p/644945#M1086534</guid>
      <dc:creator />
      <dc:date>2014-06-09T16:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Expression Label in antoher Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Expression-Label-in-antoher-Expression/m-p/644946#M1086535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How does the presence of variables affect this?&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 23:01:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Expression-Label-in-antoher-Expression/m-p/644946#M1086535</guid>
      <dc:creator />
      <dc:date>2014-09-24T23:01:14Z</dc:date>
    </item>
  </channel>
</rss>

