<?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: Using IF and Match as a filter to display certain row in a straight table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Using-IF-and-Match-as-a-filter-to-display-certain-row-in-a/m-p/1739375#M64068</link>
    <description>&lt;P&gt;Try this calculated dimension:&lt;/P&gt;&lt;P&gt;Aggr(if(Count(Distinct {&amp;lt;Status={Green}&amp;gt;}Status) and Count(Distinct Status)&amp;gt;1,&lt;SPAN&gt;PartNumber)&lt;/SPAN&gt;,&amp;nbsp;&lt;SPAN&gt;PartNumber)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Aug 2020 07:27:34 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2020-08-28T07:27:34Z</dc:date>
    <item>
      <title>Using IF and Match as a filter to display certain row in a straight table</title>
      <link>https://community.qlik.com/t5/App-Development/Using-IF-and-Match-as-a-filter-to-display-certain-row-in-a/m-p/1739368#M64067</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I use straight table a lot as I use it to prepare standard report with certain filtering condition. It has been working well so far. One of the easy example is as follow&lt;/P&gt;&lt;P&gt;=If(Match(Status, 'Red', 'Yellow')&amp;gt;=1 AND SpecTime &amp;gt;= ProductReportTime, PartNumber)&lt;/P&gt;&lt;P&gt;This will help to display the part numbers where the status is Red or Yellow, after certain time. All the PartNumber with status = green will be hidden.&lt;/P&gt;&lt;P&gt;Now I would like to display PartNumber with the Status = green, if the same PartNumber also has other line items that is yellow or red. In another words, I would like to exclude the PartNumber that has Status = Green only or Status is not equal to Green.&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;PartNumber&amp;nbsp; &amp;nbsp;Supplier&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Red&lt;BR /&gt;A1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Yellow&lt;BR /&gt;A2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Green&lt;BR /&gt;A2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Red&lt;BR /&gt;A2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Yellow&lt;BR /&gt;A3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S6&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Green&lt;/P&gt;&lt;P&gt;The output should be&lt;/P&gt;&lt;P&gt;PartNumber&amp;nbsp; &amp;nbsp;Supplier&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Green&lt;BR /&gt;A2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Red&lt;BR /&gt;A2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Yellow&lt;/P&gt;&lt;P&gt;The&amp;nbsp; row with A1 should not appear because it does not have any line with Status = Green.&lt;BR /&gt;The row with A3 should not&amp;nbsp; appear because it only has one line with Status = Green.&lt;/P&gt;&lt;P&gt;Appreciate any suggestion or comment that I can try.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards, Ernest&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-IF-and-Match-as-a-filter-to-display-certain-row-in-a/m-p/1739368#M64067</guid>
      <dc:creator>A7R3</dc:creator>
      <dc:date>2024-11-16T18:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using IF and Match as a filter to display certain row in a straight table</title>
      <link>https://community.qlik.com/t5/App-Development/Using-IF-and-Match-as-a-filter-to-display-certain-row-in-a/m-p/1739375#M64068</link>
      <description>&lt;P&gt;Try this calculated dimension:&lt;/P&gt;&lt;P&gt;Aggr(if(Count(Distinct {&amp;lt;Status={Green}&amp;gt;}Status) and Count(Distinct Status)&amp;gt;1,&lt;SPAN&gt;PartNumber)&lt;/SPAN&gt;,&amp;nbsp;&lt;SPAN&gt;PartNumber)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2020 07:27:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-IF-and-Match-as-a-filter-to-display-certain-row-in-a/m-p/1739375#M64068</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-08-28T07:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using IF and Match as a filter to display certain row in a straight table</title>
      <link>https://community.qlik.com/t5/App-Development/Using-IF-and-Match-as-a-filter-to-display-certain-row-in-a/m-p/1739389#M64069</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Tresesco,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you for the help. With some minor tweak, the QS accepted the statement.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Aggr(if(Count(Distinct {&amp;lt;Status={&lt;STRONG&gt;'&lt;/STRONG&gt;Green&lt;STRONG&gt;'&lt;/STRONG&gt;}&amp;gt;}Status) and Count(Distinct Status)&amp;gt;1,&lt;/SPAN&gt;&lt;SPAN&gt;PartNumber)&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;PartNumber)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have an idea how this works, and it is a promising concept.&lt;/P&gt;&lt;P&gt;However, it did not work as intended, because I try to simplify the actual situation as the example.&lt;/P&gt;&lt;P&gt;My actual data need to include 'Green_1' and "Green_2'. So the acceptable condition are the following&lt;/P&gt;&lt;P&gt;* Green_1 and Yellow&lt;BR /&gt;* Green_1 and Red&lt;BR /&gt;* Green_1 and Yellow and Red&lt;BR /&gt;* Green_2 and Yellow&lt;BR /&gt;* Green_2 and Red&lt;BR /&gt;* Green_2 and Yellow and Red&lt;/P&gt;&lt;P&gt;The following are to be excluded:&lt;/P&gt;&lt;P&gt;* Green_1&lt;BR /&gt;* Green_2&lt;BR /&gt;* Green_1 and Green_2&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I think the issue with&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;Count(Distinct Status)&amp;gt;1&lt;/EM&gt;. It will accept Green_1 and Green_2.&lt;BR /&gt;&lt;BR /&gt;Is there any way to improve the aggr statement?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards, Ernest&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2020 08:17:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-IF-and-Match-as-a-filter-to-display-certain-row-in-a/m-p/1739389#M64069</guid>
      <dc:creator>A7R3</dc:creator>
      <dc:date>2020-08-28T08:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using IF and Match as a filter to display certain row in a straight table</title>
      <link>https://community.qlik.com/t5/App-Development/Using-IF-and-Match-as-a-filter-to-display-certain-row-in-a/m-p/1739425#M64070</link>
      <description>&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;=Aggr(if(Count(Distinct {&amp;lt;Status={"Green*"}&amp;gt;}Status) and Count(Distinct {&amp;lt;Status&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;-=&lt;/STRONG&gt;&lt;/FONT&gt;{"Green*"}&amp;gt;} Status)&amp;gt;0,PartNumber), PartNumber)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2020 09:56:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-IF-and-Match-as-a-filter-to-display-certain-row-in-a/m-p/1739425#M64070</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-08-28T09:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using IF and Match as a filter to display certain row in a straight table</title>
      <link>https://community.qlik.com/t5/App-Development/Using-IF-and-Match-as-a-filter-to-display-certain-row-in-a/m-p/1739606#M64071</link>
      <description>&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;This works very well. Thank you very much.&lt;/P&gt;&lt;P&gt;My next challenges is with the timestamp and I wish to filter further.&lt;/P&gt;&lt;P&gt;This is to keep (Because Red/Yellow are the newer data)&lt;/P&gt;&lt;P&gt;PN&amp;nbsp; &amp;nbsp;Status&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SpecTime&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A1&amp;nbsp; &amp;nbsp;Red&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 08/20/2020&amp;nbsp;&lt;BR /&gt;A1&amp;nbsp; &amp;nbsp;Green_1&amp;nbsp; &amp;nbsp; &amp;nbsp;07/03/2020&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is to exclude (Becasue the Red/Yellow are the older data)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A2&amp;nbsp; &amp;nbsp;Yellow&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;07/03/2020&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A2&amp;nbsp; &amp;nbsp;Green_2&amp;nbsp; &amp;nbsp; &amp;nbsp;08/20/2020&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Where the ProductReportTime =&amp;nbsp;08/20/2020 = The timestamp of the most recent data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried with this, and it works.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Aggr(if(&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Count(Distinct {&amp;lt;Status={"Green*"}&amp;gt;}Status)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;and Count(Distinct {&amp;lt;Status&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;-=&lt;/STRONG&gt;&lt;/FONT&gt;{"Green*"},&amp;nbsp; ReportTime={"$(=ProductReportTime)"}&amp;gt;}&amp;nbsp; Status)&amp;gt;0&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;,PartNumber), PartNumber)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, the problem with this is that it only show the correct result when I choose&lt;STRONG&gt; 1&lt;/STRONG&gt; product.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What happen is that I load all the report to create a first table with all the p/n with the timestamp = ReportTime&lt;BR /&gt;I created another table from the first load to determine the timestamp of latest report for each product = ProductReportTime.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The table _1 will look like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Products&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PartNumber&amp;nbsp; &amp;nbsp;Supplier&amp;nbsp; &amp;nbsp; Status&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ReportTime&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Product_1&amp;nbsp; &amp;nbsp; &amp;nbsp; A1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Yellow&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 07/03/2020&lt;BR /&gt;Product&amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; A1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Yellow&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 07/03/2020&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Product_1&amp;nbsp; &amp;nbsp; &amp;nbsp; A1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Green&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 08/20/2020&lt;BR /&gt;Product&amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; A1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Yellow&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 08/20/2020&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The table_2 will look like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Products&amp;nbsp; &amp;nbsp; &amp;nbsp;ProductReportTime&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Product_1&amp;nbsp; 08/20/2020&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;---- The latest report date for Product_1, because&amp;nbsp;08/20/2020 is newer&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Product_2&amp;nbsp; 08/21/2020&lt;BR /&gt;Product_3&amp;nbsp; 08/23/2020&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The two tables are associated with "Products".&lt;/P&gt;&lt;P&gt;When I select any 1 product, the report is correct. When I select more than 1 product, the report becomes empty. I am guessing that is because each product has its own ProductReportTime, and some PartNumber are common to several Products. Is there anyway to fix this?&lt;/P&gt;&lt;P&gt;The above solution is already very helpful. If the statement can filter based on the timestamp further, it would be perfect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Aug 2020 00:00:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-IF-and-Match-as-a-filter-to-display-certain-row-in-a/m-p/1739606#M64071</guid>
      <dc:creator>A7R3</dc:creator>
      <dc:date>2020-08-29T00:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using IF and Match as a filter to display certain row in a straight table</title>
      <link>https://community.qlik.com/t5/App-Development/Using-IF-and-Match-as-a-filter-to-display-certain-row-in-a/m-p/1740467#M64072</link>
      <description>&lt;P&gt;After thinking through it, I think the issue is with the fact that some parts are common to several products. So QS won't know which ProductReportTime to use for comparison, and will return nothing.&lt;/P&gt;&lt;P&gt;I tried to use Max(ProductReportTime) to get the most recent date. However, it will use the maximum value for all the reports for all parts, so the result will be wrong.&lt;/P&gt;&lt;P&gt;The correct logic would be to get the Max(ProductReportTime) for those products that have common parts, for each parts.&lt;/P&gt;&lt;P&gt;Something like Max (ProductReportTime for Product_1,&amp;nbsp;ProductReportTime for Product_2,&amp;nbsp;ProductReportTime for Product_3, ...)&amp;nbsp; for All Product that has A1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The challenge here is that each part may be common to 2 Products, or 20 Products.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, if there is a way to identify the correct ProductReportTime for each part during loading, it would be a good consideration as well. Is this going to be a simpler route?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 00:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-IF-and-Match-as-a-filter-to-display-certain-row-in-a/m-p/1740467#M64072</guid>
      <dc:creator>A7R3</dc:creator>
      <dc:date>2020-09-02T00:52:41Z</dc:date>
    </item>
  </channel>
</rss>

