<?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: Create table for all values matching only 1 comparison field value in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Create-table-for-all-values-matching-only-1-comparison-field/m-p/1544343#M39249</link>
    <description>great, thanks, that produces the same output</description>
    <pubDate>Thu, 14 Feb 2019 13:30:20 GMT</pubDate>
    <dc:creator>dmanbbg24</dc:creator>
    <dc:date>2019-02-14T13:30:20Z</dc:date>
    <item>
      <title>Create table for all values matching only 1 comparison field value</title>
      <link>https://community.qlik.com/t5/App-Development/Create-table-for-all-values-matching-only-1-comparison-field/m-p/1544320#M39245</link>
      <description>&lt;P&gt;I've got an expression problem I'm looking for some help with.&lt;BR /&gt;&lt;BR /&gt;My data looks like:&lt;BR /&gt;&lt;BR /&gt;field_counter|week_num&lt;BR /&gt;z |4&lt;BR /&gt;x |4&lt;BR /&gt;y |3&lt;BR /&gt;x |3&lt;BR /&gt;y |2&lt;BR /&gt;x |2&lt;BR /&gt;y |1&lt;BR /&gt;x |1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;New week data is continually added. I want to create a table filtered for those fields appearing in the +latest week only+, i.e. newly used fields. In the above case that would be 'z'.&lt;/P&gt;&lt;P&gt;I can get a count using:&lt;/P&gt;&lt;P&gt;Count({&amp;lt;field_counter = e({&amp;lt;week_num -= {'$(=MaxString(week_num))'}&amp;gt;} field_counter)&amp;gt;} DISTINCT field_counter)&lt;/P&gt;&lt;P&gt;And create a table filter using (where the latest week is '4'):&lt;/P&gt;&lt;P&gt;=aggr(if(match(week_num, '1', '2', '3')=0, field_counter),field_counter)&lt;/P&gt;&lt;P&gt;But I need to replace the hardcoded list of prior weeks with, essentially, 'all weeks that are not MaxString(week_num)'. Tried 'not match' and 'only' with no luck.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:24:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-table-for-all-values-matching-only-1-comparison-field/m-p/1544320#M39245</guid>
      <dc:creator>dmanbbg24</dc:creator>
      <dc:date>2024-11-16T21:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create table for all values matching only 1 comparison field value</title>
      <link>https://community.qlik.com/t5/App-Development/Create-table-for-all-values-matching-only-1-comparison-field/m-p/1544321#M39246</link>
      <description>&lt;P&gt;Can you explain the highlighted part of the expression&lt;/P&gt;&lt;PRE&gt;Count(&amp;lt;field_counter = e({&amp;lt;week_num -= {'$(=MaxString(week_num))' &lt;FONT color="#FF0000"&gt;&amp;lt;GO&amp;gt;&amp;gt;&lt;/FONT&gt;} field_counter)&amp;gt;} DISTINCT field_counter)&lt;/PRE&gt;&lt;P&gt;Is this expression even working for you?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 13:09:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-table-for-all-values-matching-only-1-comparison-field/m-p/1544321#M39246</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-14T13:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create table for all values matching only 1 comparison field value</title>
      <link>https://community.qlik.com/t5/App-Development/Create-table-for-all-values-matching-only-1-comparison-field/m-p/1544323#M39247</link>
      <description>sorry, fixed that now</description>
      <pubDate>Thu, 14 Feb 2019 13:10:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-table-for-all-values-matching-only-1-comparison-field/m-p/1544323#M39247</guid>
      <dc:creator>dmanbbg24</dc:creator>
      <dc:date>2019-02-14T13:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create table for all values matching only 1 comparison field value</title>
      <link>https://community.qlik.com/t5/App-Development/Create-table-for-all-values-matching-only-1-comparison-field/m-p/1544336#M39248</link>
      <description>&lt;P&gt;How about this&lt;/P&gt;&lt;PRE&gt;=Aggr(Only({&amp;lt;field_counter = e({&amp;lt;week_num -= {'$(=MaxString(week_num))'}&amp;gt;} field_counter)&amp;gt;} field_counter), field_counter)&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Feb 2019 13:21:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-table-for-all-values-matching-only-1-comparison-field/m-p/1544336#M39248</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-14T13:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create table for all values matching only 1 comparison field value</title>
      <link>https://community.qlik.com/t5/App-Development/Create-table-for-all-values-matching-only-1-comparison-field/m-p/1544343#M39249</link>
      <description>great, thanks, that produces the same output</description>
      <pubDate>Thu, 14 Feb 2019 13:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-table-for-all-values-matching-only-1-comparison-field/m-p/1544343#M39249</guid>
      <dc:creator>dmanbbg24</dc:creator>
      <dc:date>2019-02-14T13:30:20Z</dc:date>
    </item>
  </channel>
</rss>

