<?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 Complicated AGGR in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Complicated-AGGR/m-p/93579#M509329</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I have a requirement to show avg number of days from when a generic build resource is populated to when a named resource is populated.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Generic resources = &lt;SPAN style="color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Open Sans', sans-serif; font-size: 14px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;RESOURCE with a&amp;nbsp; "_" in the name like charges_builder.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG style="font-size: 12pt;"&gt;Requirement&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt;: &lt;STRONG&gt;avg number of days from when a generic build resource is populated to the FIRST time a named resource is populated&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Requirement: IGNORE generic name of &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&lt;SPAN style="color: #000000;"&gt;ccl&lt;/SPAN&gt;_consult&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&lt;STRONG&gt;Requirement: if no "_" (generic) resource, use start date of COMMITTEE_CAT = "ERC - Assigned" to first date name is populated&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Open Sans', sans-serif; font-size: 14px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;One DEFECT_ID could have multiple generics or multiple names for each RESOURCE_TYPE&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;Example: DEFECT_ID 9787 should be 102 days - 3/29/18 through 7/9/18 for the Resource Type of CCL Resource.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;&lt;IMG alt="2018-09-04_13-47-05.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/212654_2018-09-04_13-47-05.jpg" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;It should also show a calculation for the Resource Type of Primary Assignee but in this case it's also from 3/29/18-7/9/18&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;&lt;IMG alt="2018-09-04_13-52-18.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/212655_2018-09-04_13-52-18.jpg" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Open Sans', sans-serif; font-size: 14px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;How do I write the expression to give me the time that a specific RESOURCE_TYPE went from generic to named?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Open Sans', sans-serif; font-size: 14px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;This did not return anything: &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Open Sans', sans-serif; font-size: 14px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[ccl_consult]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt;}&lt;BR /&gt;&amp;nbsp; Aggr(Only({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[ccl_consult]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt;}&lt;BR /&gt;&amp;nbsp; ( Max(FACT_ALM_DEFECT_RESOURCE.START_DATE)- Min({&amp;lt;FACT_ALM_DEFECT_RESOURCE.RESOURCE = {'*_*'}&amp;gt;}FACT_ALM_DEFECT_RESOURCE.START_DATE)))&lt;BR /&gt;&amp;nbsp; ,DEFECT_ID,DM_STAT_ALM_DEFECT_BUILD_RESOURCE.RESOURCE)&lt;BR /&gt;&amp;nbsp; ) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2018 20:55:52 GMT</pubDate>
    <dc:creator>cbaqir</dc:creator>
    <dc:date>2018-09-04T20:55:52Z</dc:date>
    <item>
      <title>Complicated AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Complicated-AGGR/m-p/93579#M509329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I have a requirement to show avg number of days from when a generic build resource is populated to when a named resource is populated.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Generic resources = &lt;SPAN style="color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Open Sans', sans-serif; font-size: 14px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;RESOURCE with a&amp;nbsp; "_" in the name like charges_builder.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG style="font-size: 12pt;"&gt;Requirement&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt;: &lt;STRONG&gt;avg number of days from when a generic build resource is populated to the FIRST time a named resource is populated&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Requirement: IGNORE generic name of &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&lt;SPAN style="color: #000000;"&gt;ccl&lt;/SPAN&gt;_consult&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&lt;STRONG&gt;Requirement: if no "_" (generic) resource, use start date of COMMITTEE_CAT = "ERC - Assigned" to first date name is populated&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Open Sans', sans-serif; font-size: 14px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;One DEFECT_ID could have multiple generics or multiple names for each RESOURCE_TYPE&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;Example: DEFECT_ID 9787 should be 102 days - 3/29/18 through 7/9/18 for the Resource Type of CCL Resource.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;&lt;IMG alt="2018-09-04_13-47-05.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/212654_2018-09-04_13-47-05.jpg" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;It should also show a calculation for the Resource Type of Primary Assignee but in this case it's also from 3/29/18-7/9/18&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;&lt;IMG alt="2018-09-04_13-52-18.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/212655_2018-09-04_13-52-18.jpg" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Open Sans', sans-serif; font-size: 14px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;How do I write the expression to give me the time that a specific RESOURCE_TYPE went from generic to named?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Open Sans', sans-serif; font-size: 14px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;This did not return anything: &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Open Sans', sans-serif; font-size: 14px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[ccl_consult]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt;}&lt;BR /&gt;&amp;nbsp; Aggr(Only({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[ccl_consult]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt;}&lt;BR /&gt;&amp;nbsp; ( Max(FACT_ALM_DEFECT_RESOURCE.START_DATE)- Min({&amp;lt;FACT_ALM_DEFECT_RESOURCE.RESOURCE = {'*_*'}&amp;gt;}FACT_ALM_DEFECT_RESOURCE.START_DATE)))&lt;BR /&gt;&amp;nbsp; ,DEFECT_ID,DM_STAT_ALM_DEFECT_BUILD_RESOURCE.RESOURCE)&lt;BR /&gt;&amp;nbsp; ) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 20:55:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complicated-AGGR/m-p/93579#M509329</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2018-09-04T20:55:52Z</dc:date>
    </item>
  </channel>
</rss>

