<?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: Comparing field Data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919812#M985540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in a chart with article_key as dim you can use the following expression&lt;/P&gt;&lt;P&gt;if(Only(Table)='table2',red())&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/94741_1.png" style="height: 178px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Aug 2015 19:18:47 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-08-01T19:18:47Z</dc:date>
    <item>
      <title>Comparing field Data</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919807#M985535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Question. I have data from two different resources which I have linked together using a concatenated key:&lt;/P&gt;&lt;P&gt;article+color+size+amount as article_key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is loaded into the table differentiating them using a custom Table field. (one is loaded as 'table1' as Table, the other 'table2' as Table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The list looks as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;article_key&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Table&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;trouser-900-34-20&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;table1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;trouser-900-34-20&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;table 2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;sweater-999-XL-10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;table1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;sweater-999-XL-15&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;table2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do know is to create a statement in which the sweater-999-XL-15 gives a different color since it is only available in table2 and not in table1. Is it possible to compare data like this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Maarten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919807#M985535</guid>
      <dc:creator />
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing field Data</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919808#M985536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be create a flag for the entry in the script and use that to color it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [ &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;article_key, Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;trouser-900-34-20, table1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;trouser-900-34-20, table2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sweater-999-XL-10, table1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sweater-999-XL-15, table2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Join(Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD If(article_key = Peek('article_key'), 1, 0) as Flag,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; article_key,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By article_key, Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/94418_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 12:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919808#M985536</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-29T12:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing field Data</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919809#M985537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for your reply, but it doesn't seem to be the answer. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 09:05:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919809#M985537</guid>
      <dc:creator />
      <dc:date>2015-07-30T09:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing field Data</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919810#M985538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to color articles in table 2 which do not have a matching article in table1, right??? At least that's how I interpreted your situation. What are you trying to do, if above is not what you want???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 10:20:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919810#M985538</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-30T10:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing field Data</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919811#M985539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maarten, if that is an expression in a table you can set the font color like:&lt;/P&gt;&lt;P&gt;If(Count(DISTINCT Table)&amp;lt;2 and Table&amp;lt;&amp;gt;'table1', Red(), Black())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 10:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919811#M985539</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-07-30T10:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing field Data</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919812#M985540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in a chart with article_key as dim you can use the following expression&lt;/P&gt;&lt;P&gt;if(Only(Table)='table2',red())&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/94741_1.png" style="height: 178px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Aug 2015 19:18:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919812#M985540</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-08-01T19:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing field Data</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919813#M985541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you please upload your sample file to demonstrate your issue?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Aug 2015 06:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919813#M985541</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-08-02T06:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing field Data</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919814#M985542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a great answer. It works and immediately visualizes the results. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 13:40:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919814#M985542</guid>
      <dc:creator />
      <dc:date>2015-08-04T13:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing field Data</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919815#M985543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im now trying to add this to the script for calculations. Is this possible. Im getting different results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My script looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Article_Key,&lt;/P&gt;&lt;P&gt;Concat(DISTINCT Table, ' &amp;amp; ') as TABLE_FLAG&lt;/P&gt;&lt;P&gt;Group By KEY_ARTIKEL;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is there a way to calculate results for 'table 1' , 'table 1 &amp;amp; table 2' or 'table 2' seperately?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Maarten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 12:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-field-Data/m-p/919815#M985543</guid>
      <dc:creator />
      <dc:date>2015-08-06T12:17:48Z</dc:date>
    </item>
  </channel>
</rss>

