<?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: Avg and Aggr in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Avg-and-Aggr/m-p/1624819#M456356</link>
    <description>&lt;P&gt;Rather than calculating that nasty dimension, try calculating that dimension in your script.&amp;nbsp; The processing horsepower needed to calculate that dimension is gone, because you are just displaying a value.&lt;/P&gt;&lt;P&gt;In your expression, try using an Interval() function to calculate the time between date values.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If those ideas don't work, or lead you to a solution, reply back and post some data in an app so we can take a deeper look.&lt;/P&gt;&lt;P&gt;Nate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2019 17:01:39 GMT</pubDate>
    <dc:creator>hallquist_nate</dc:creator>
    <dc:date>2019-09-17T17:01:39Z</dc:date>
    <item>
      <title>Avg and Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-and-Aggr/m-p/1624400#M456355</link>
      <description>&lt;P&gt;&lt;IMG border="0" width="980" height="356" /&gt;&lt;/P&gt;&lt;P&gt;How do I calculate avg days when there could be multiple DEFECT_IDs for a month?&lt;/P&gt;&lt;P&gt;Dimension:&amp;nbsp;=if(match(CUR_STATUS,'Closed', 'Deferred', 'Denied', 'Closed - Maintenance', 'Dismissed', 'Nursing Research &amp;amp; Analytics')&amp;gt;0,null(),dual( Month(ERC_ASSIGNED_DATE) &amp;amp; '-' &amp;amp; Year(date(ERC_ASSIGNED_DATE,'DD.MM.YY')), num(Year(ERC_ASSIGNED_DATE)) &amp;amp; num(Month(ERC_ASSIGNED_DATE), '00' )))&lt;/P&gt;&lt;P&gt;Expression: aggr(sum(today()-ERC_ASSIGNED_DATE),ERC_ASSIGNED_DATE,BUILD_RESOURCES_SUB) is double the number and still leaving blanks&lt;/P&gt;&lt;P&gt;aggr(avg(today()-ERC_ASSIGNED_DATE),ERC_ASSIGNED_DATE,BUILD_RESOURCES_SUB) leaves blanks when multiple tickets&lt;/P&gt;&lt;P&gt;Expression denominator: count(distinct DEFECT_ID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-and-Aggr/m-p/1624400#M456355</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2024-11-16T02:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Avg and Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-and-Aggr/m-p/1624819#M456356</link>
      <description>&lt;P&gt;Rather than calculating that nasty dimension, try calculating that dimension in your script.&amp;nbsp; The processing horsepower needed to calculate that dimension is gone, because you are just displaying a value.&lt;/P&gt;&lt;P&gt;In your expression, try using an Interval() function to calculate the time between date values.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If those ideas don't work, or lead you to a solution, reply back and post some data in an app so we can take a deeper look.&lt;/P&gt;&lt;P&gt;Nate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 17:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-and-Aggr/m-p/1624819#M456356</guid>
      <dc:creator>hallquist_nate</dc:creator>
      <dc:date>2019-09-17T17:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Avg and Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-and-Aggr/m-p/1625440#M456357</link>
      <description>&lt;P&gt;Thanks, Nate. I think the issue is how to get the syntax to recognize multiple ERC_ASSIGNED_DATE when there are multiple DEFECT_ID?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 18:50:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-and-Aggr/m-p/1625440#M456357</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2019-09-18T18:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Avg and Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-and-Aggr/m-p/1625876#M456358</link>
      <description>&lt;P&gt;Does every DEFECT_ID have a&amp;nbsp;&lt;SPAN&gt;ERC_ASSIGNED_DATE?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Nate&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 15:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-and-Aggr/m-p/1625876#M456358</guid>
      <dc:creator>hallquist_nate</dc:creator>
      <dc:date>2019-09-19T15:56:53Z</dc:date>
    </item>
  </channel>
</rss>

