<?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: Flagging reoccurring value in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Flagging-reoccurring-value/m-p/1887647#M73147</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Second version of this answer, might have misunderstood exactly how you wanted Values to be assigned to FieldNames. But IF you want it based on script loadorder, ie the first loaded combination of FieldName and Value is what we want to assign, not the lowest for example, then you can use Aggr.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The exact aggregation here is not important, it's just the fact that the result will be displayed on the first loaded row. The idea is shown in the last two columns here.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jbhappysocks_0-1643726494899.png" style="width: 708px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/71362i6E84D7C8FEECE3CA/image-dimensions/708x154?v=v2" width="708" height="154" role="button" title="jbhappysocks_0-1643726494899.png" alt="jbhappysocks_0-1643726494899.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Feb 2022 14:43:08 GMT</pubDate>
    <dc:creator>jbhappysocks</dc:creator>
    <dc:date>2022-02-01T14:43:08Z</dc:date>
    <item>
      <title>Flagging reoccurring value</title>
      <link>https://community.qlik.com/t5/App-Development/Flagging-reoccurring-value/m-p/1887120#M73101</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;How can we highlight in QlikSense variables that have already been assigned to another value?&lt;/P&gt;
&lt;P&gt;Exemplary, in FieldName we have Field1, Field2, Field3. If a Value of 1 have already appeared in Value column and has been assigned to Field1, i would like to highlight it when it appears again and is assigned to Field2 this time.&lt;/P&gt;
&lt;P&gt;Its aimed to be a chart feature (table).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mt3_0-1643639330238.png" style="width: 225px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/71263i0656B9669E482103/image-dimensions/225x231?v=v2" width="225" height="231" role="button" title="Mt3_0-1643639330238.png" alt="Mt3_0-1643639330238.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 14:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Flagging-reoccurring-value/m-p/1887120#M73101</guid>
      <dc:creator>Mt3</dc:creator>
      <dc:date>2022-01-31T14:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging reoccurring value</title>
      <link>https://community.qlik.com/t5/App-Development/Flagging-reoccurring-value/m-p/1887441#M73132</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/162390"&gt;@Mt3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maye be like :&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;Data:


load *,rowno() as ID inline [
FieldName,Value
Field1,1
Field2,1
Field1,2
Field1,2
Field3,4
Field1,3
Field3,3
];
left join load Value,count(distinct FieldName) as FieldNameFlag resident Data group by Value;


output:
noconcatenate

load *,if(peek(FieldNameFlag)&amp;gt;1 and peek(Value)=Value,'assigned','not assigned') as Flag resident Data order by Value,ID;

drop table Data;
drop fields FieldNameFlag;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Taoufiq_Zarra_0-1643706368580.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/71325i9128C7F4155C74B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Taoufiq_Zarra_0-1643706368580.png" alt="Taoufiq_Zarra_0-1643706368580.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 09:06:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Flagging-reoccurring-value/m-p/1887441#M73132</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2022-02-01T09:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging reoccurring value</title>
      <link>https://community.qlik.com/t5/App-Development/Flagging-reoccurring-value/m-p/1887555#M73138</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;Do you think such effect would be possible to achieve&amp;nbsp; on chart level directly, without data re-load?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 12:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Flagging-reoccurring-value/m-p/1887555#M73138</guid>
      <dc:creator>Mt3</dc:creator>
      <dc:date>2022-02-01T12:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging reoccurring value</title>
      <link>https://community.qlik.com/t5/App-Development/Flagging-reoccurring-value/m-p/1887633#M73145</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/162390"&gt;@Mt3&lt;/a&gt;&amp;nbsp; I don't think so, or&amp;nbsp; I have no idea &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 14:27:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Flagging-reoccurring-value/m-p/1887633#M73145</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2022-02-01T14:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging reoccurring value</title>
      <link>https://community.qlik.com/t5/App-Development/Flagging-reoccurring-value/m-p/1887647#M73147</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Second version of this answer, might have misunderstood exactly how you wanted Values to be assigned to FieldNames. But IF you want it based on script loadorder, ie the first loaded combination of FieldName and Value is what we want to assign, not the lowest for example, then you can use Aggr.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The exact aggregation here is not important, it's just the fact that the result will be displayed on the first loaded row. The idea is shown in the last two columns here.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jbhappysocks_0-1643726494899.png" style="width: 708px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/71362i6E84D7C8FEECE3CA/image-dimensions/708x154?v=v2" width="708" height="154" role="button" title="jbhappysocks_0-1643726494899.png" alt="jbhappysocks_0-1643726494899.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 14:43:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Flagging-reoccurring-value/m-p/1887647#M73147</guid>
      <dc:creator>jbhappysocks</dc:creator>
      <dc:date>2022-02-01T14:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging reoccurring value</title>
      <link>https://community.qlik.com/t5/App-Development/Flagging-reoccurring-value/m-p/1887767#M73156</link>
      <description>&lt;P&gt;another solution might be:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcoWedel_0-1643737741952.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/71380i59689DF5BA28CD67/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcoWedel_0-1643737741952.png" alt="MarcoWedel_0-1643737741952.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcoWedel_1-1643737773575.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/71381iCA99C856DAC7FA70/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcoWedel_1-1643737773575.png" alt="MarcoWedel_1-1643737773575.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;table1:
Load RecNo() as RecID,
     *,
     If(AutoNumber(FieldName,Value)&amp;gt;1,1,0) as Reoccurred
Inline [
	FieldName, Value
	Field1, 1
	Field2, 1
	Field1, 2
	Field1, 2
	Field3, 4
	Field1, 3
	Field3, 3
];&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;hope this helps&lt;/P&gt;
&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 17:50:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Flagging-reoccurring-value/m-p/1887767#M73156</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-02-01T17:50:16Z</dc:date>
    </item>
  </channel>
</rss>

