<?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: Count Distinct in color background expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-Distinct-in-color-background-expression/m-p/2054862#M86660</link>
    <description>&lt;P&gt;How about this?&lt;/P&gt;
&lt;P&gt;=Aggr(If(Count([Article No.])&amp;gt;1, rgb(255,128,0)), [Article No.])&lt;/P&gt;</description>
    <pubDate>Wed, 29 Mar 2023 19:57:48 GMT</pubDate>
    <dc:creator>BrunPierre</dc:creator>
    <dc:date>2023-03-29T19:57:48Z</dc:date>
    <item>
      <title>Count Distinct in color background expression</title>
      <link>https://community.qlik.com/t5/App-Development/Count-Distinct-in-color-background-expression/m-p/2054550#M86628</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I need some help with an expression.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/103749i35E4ADCF9929EFEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So it's partly correct, but it's based on the Count of orders in the excel file.&lt;BR /&gt;65-00-4011 - not highlighted: correct. There is only one occurrence in qlik table.&lt;BR /&gt;81-36-1090 - highlighted: correct. There are 3 occurrences in qlik table&lt;BR /&gt;81-36-8844 - highlighted: WRONG. There is only 1 occurrence in the Qlik table, even though there are 5 counts in excel.&lt;BR /&gt;82-90-1140 - highlighted: correct. There are multiple occurrences in the Qlik table (including a different description)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using the background color expression:&lt;BR /&gt;=if(aggr(nodistinct count([Article No.]), [Article des.]) &amp;gt; 1,rgb(255,128,0))&lt;/P&gt;
&lt;P&gt;The problem is it is highlighting everything based on the database table, not the displayed table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to highlight duplicates only on the table which I have built in the sheet?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 09:20:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-Distinct-in-color-background-expression/m-p/2054550#M86628</guid>
      <dc:creator>kiansin</dc:creator>
      <dc:date>2023-03-29T09:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct in color background expression</title>
      <link>https://community.qlik.com/t5/App-Development/Count-Distinct-in-color-background-expression/m-p/2054862#M86660</link>
      <description>&lt;P&gt;How about this?&lt;/P&gt;
&lt;P&gt;=Aggr(If(Count([Article No.])&amp;gt;1, rgb(255,128,0)), [Article No.])&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 19:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-Distinct-in-color-background-expression/m-p/2054862#M86660</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-03-29T19:57:48Z</dc:date>
    </item>
  </channel>
</rss>

