<?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 Grouping, whilst excluding and limiting data in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Grouping-whilst-excluding-and-limiting-data/m-p/1628246#M46737</link>
    <description>&lt;P&gt;Hi guys.&amp;nbsp; I have the attached data (sample of).&amp;nbsp; I need to show the [AD_Req_Att_Days], but grouped as follows:&lt;/P&gt;&lt;P&gt;0-7 days&lt;BR /&gt;8-14 days&lt;BR /&gt;Over 14 days&lt;BR /&gt;&lt;BR /&gt;I also only wish to show the demand element of this (see field [AD_Data]).&lt;/P&gt;&lt;P&gt;I also only want to show those values which are greater than zero (the minus figures are data quality issues with our upload from systems).&amp;nbsp; I also wish to exclude any '9999' numbers within the [AD_Req_Att_Days] field.&lt;/P&gt;&lt;P&gt;The field [AD_Event_Key] is a unique value which is generated by our systems - we use it when we're counting in Qlikview.&amp;nbsp; You'll notice there is often one of these event keys for each of activity and demand.&amp;nbsp; We only want to display those occurences relating to Activity (as explained above).&lt;/P&gt;&lt;P&gt;Preferably shown in a straight table.&lt;/P&gt;&lt;P&gt;I'd then like to create a list box which will allow me to select 0-7, 8-14 or Over 14 days.&lt;/P&gt;&lt;P&gt;Hopefully this is all possible!&amp;nbsp; Many thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Dec 2021 16:36:32 GMT</pubDate>
    <dc:creator>jlampard40</dc:creator>
    <dc:date>2021-12-22T16:36:32Z</dc:date>
    <item>
      <title>Grouping, whilst excluding and limiting data</title>
      <link>https://community.qlik.com/t5/App-Development/Grouping-whilst-excluding-and-limiting-data/m-p/1628246#M46737</link>
      <description>&lt;P&gt;Hi guys.&amp;nbsp; I have the attached data (sample of).&amp;nbsp; I need to show the [AD_Req_Att_Days], but grouped as follows:&lt;/P&gt;&lt;P&gt;0-7 days&lt;BR /&gt;8-14 days&lt;BR /&gt;Over 14 days&lt;BR /&gt;&lt;BR /&gt;I also only wish to show the demand element of this (see field [AD_Data]).&lt;/P&gt;&lt;P&gt;I also only want to show those values which are greater than zero (the minus figures are data quality issues with our upload from systems).&amp;nbsp; I also wish to exclude any '9999' numbers within the [AD_Req_Att_Days] field.&lt;/P&gt;&lt;P&gt;The field [AD_Event_Key] is a unique value which is generated by our systems - we use it when we're counting in Qlikview.&amp;nbsp; You'll notice there is often one of these event keys for each of activity and demand.&amp;nbsp; We only want to display those occurences relating to Activity (as explained above).&lt;/P&gt;&lt;P&gt;Preferably shown in a straight table.&lt;/P&gt;&lt;P&gt;I'd then like to create a list box which will allow me to select 0-7, 8-14 or Over 14 days.&lt;/P&gt;&lt;P&gt;Hopefully this is all possible!&amp;nbsp; Many thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 16:36:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grouping-whilst-excluding-and-limiting-data/m-p/1628246#M46737</guid>
      <dc:creator>jlampard40</dc:creator>
      <dc:date>2021-12-22T16:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping, whilst excluding and limiting data</title>
      <link>https://community.qlik.com/t5/App-Development/Grouping-whilst-excluding-and-limiting-data/m-p/1628266#M46738</link>
      <description>&lt;P&gt;use interval match&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g. below script&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;range:
load * Inline [
start, end,group
0,7,0-7 days
8,14,8-14 days
14,9998,Over 14 days


];
fact:
LOAD
    AD_Event_Key,
    AD_Data,
    AD_Req_Att_Days
FROM [lib://Downloads/20190925 Sample Excel QV.xlsx]
(ooxml, embedded labels, table is [Sample data]);



left Join IntervalMatch ( AD_Req_Att_Days )
load start,end
resident range;

// rest of the code is just to remove the synthetic key
left join(fact)
load 
start,end,group
Resident range;

drop table range;&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 25 Sep 2019 18:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grouping-whilst-excluding-and-limiting-data/m-p/1628266#M46738</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-09-25T18:04:46Z</dc:date>
    </item>
  </channel>
</rss>

