<?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: Filling the blanks in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124150#M18888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort the original table by Value, then Code ascending. Then load code by checking whether there is a code or not. If there is, use that code. If not, use the code from the previous row. That way every value should have a code and the test should work for every entry, correct? Then if necessary sort by ID again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only situation I can think of where this wouldn't work is if there is a category where no entry has a code, but as you said there should always be at least one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a file where I made this work, note that when there is no code my table shows '?', you might have to change that if it's different in your data. Just make sure that the 'order by' always puts the rows with a code above the ones without a code, or this won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, I'm still fairly new to Qlikview myself so there might still be a better solution to your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Oct 2018 12:15:56 GMT</pubDate>
    <dc:creator>jensmunnichs</dc:creator>
    <dc:date>2018-10-02T12:15:56Z</dc:date>
    <item>
      <title>Filling the blanks</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124141#M18879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is what I'm trying to achieve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My entries have a code, and some codes are missing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the code to &lt;STRONG&gt;test&lt;/STRONG&gt; the entry (let's say the test is "is the code an even number ?")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the code is missing, I know I can use the result of the test from another entry with the same value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it look like this:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; 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;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;VALUE&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;CODE&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Paris&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Denver&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Boston&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;...&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Paris&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;...&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Seattle&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Boston&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first step is to add a field to Flag the duplicate Values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then it looks like this&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; 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;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;VALUE&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;CODE&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Duplicate&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Paris&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;YES&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Denver&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NO&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Boston&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;...&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;YES&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Paris&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;...&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;YES&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Seattle&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NO&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Boston&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;YES&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I create a category field to group the entries with duplicate &amp;amp; the same value&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; 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;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;VALUE&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;CODE&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Duplicate&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Category&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Paris&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;YES&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ParisCAT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Denver&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NO&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Boston&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;...&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;YES&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;BostonCAT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Paris&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;...&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;YES&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ParisCat&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Seattle&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NO&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Boston&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;YES&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;BostonCAT&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I run the Test and put the result ina new Field&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; 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;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;VALUE&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;CODE&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Duplicate&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Category&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;TestResult&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Paris&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;YES&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ParisCAT&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Denver&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NO&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Boston&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;...&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;YES&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;BostonCAT&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;?&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Paris&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;...&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;YES&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ParisCAT&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;?&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Seattle&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NO&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Boston&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;YES&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;BonstonCAT&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my question is&lt;/P&gt;&lt;P&gt;How do I get to to create a fill the cells with the Question mark ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I started creating a Category: table where I list all categories and I am trying to add a field with a value that says&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If the Somme of the test result for 1 category is &amp;gt;= 1, then the category should be flagged as Valide&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But I can't work out the bit of script that does that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or maybe there is a way to fill the "test result" field directly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyone ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps: just so you know I stated with the Udemy course but I need to get to solve this now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2018 12:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124141#M18879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-01T12:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Filling the blanks</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124142#M18880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which of the two instance of a repeating is flagged with the question mark? In case of Paris, you marked the second occurrence with the question mark... but for Boston, it was the first occurrence? How was this decided?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2018 16:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124142#M18880</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-01T16:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Filling the blanks</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124143#M18881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thing is the order is random&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I have duplicates&lt;/P&gt;&lt;P&gt;- one amoung them can be valid (pass the "is even" test)&lt;/P&gt;&lt;P&gt;- It can be any of them&lt;/P&gt;&lt;P&gt;- it can also be none of them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my test should go like:&lt;/P&gt;&lt;P&gt;That is why I imagine a test going like&lt;/P&gt;&lt;P&gt;- if I give the value 1 to any valid entry&lt;/P&gt;&lt;P&gt;- if I sum the value of the valid field for each category&lt;/P&gt;&lt;P&gt;-&amp;gt; then is that value is &amp;lt;&amp;gt;0, the category is "category valid" then anymember of this category is "valid"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 04:21:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124143#M18881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-02T04:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Filling the blanks</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124144#M18882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess randomness is okay, but who do you want to code this randomness is the question... I guess you tried to explain this here&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;So my test should go like:&lt;/P&gt;
&lt;P&gt;That is why I imagine a test going like&lt;/P&gt;
&lt;P&gt;- if I give the value 1 to any valid entry&lt;/P&gt;
&lt;P&gt;- if I sum the value of the valid field for each category&lt;/P&gt;
&lt;P&gt;-&amp;gt; then is that value is &amp;lt;&amp;gt;0, the category is "category valid" then anymember of this category is "valid"&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But I don't think I am able to understand how is question mark linked to valid or invalid. I think can you provide more data points with the expected output for TestResult to see if I can generalize what you are trying to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 11:06:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124144#M18882</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-02T11:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Filling the blanks</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124145#M18883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for trying Sunny &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at the last table on the original question, you see:&lt;/P&gt;&lt;P&gt; - 2 out of the 6 entries lack a CODE. Namely entry 3 and entry 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This lead to the same entries lacking a TestResult value (?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But we know that enry 3 belong has the value "BonstonCAT" in category&lt;/P&gt;&lt;P&gt;And t&lt;SPAN style="text-decoration: underline;"&gt;his is my knowledge&lt;/SPAN&gt; that entries of the same Category have CODE of the same king (even or odd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; some I know that entry 3 should have a CODE of the same kind as entry 6 (odd)&lt;/P&gt;&lt;P&gt;therefore its TestResult is 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same goes for entry 4 that should have 1 in TestResult because, even though it doesn't have CODE value, &lt;/P&gt;&lt;P&gt;it is of Category "ParisCAT" ...And we already have one entry of Category "ParisCAT", its TestResult is 1, therefore it is an even number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For every Category there is alway 1 entry with a CODE value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that helps ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 11:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124145#M18883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-02T11:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Filling the blanks</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124146#M18884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think I fully understand your question and I might be oversimplifying, but&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;STRONG&gt;How do I get to to create a fill the cells with the Question mark ?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;or maybe there is a way to fill the "test result" field directly&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Can you not just add an IF statement to your 'test' that returns 0 when the code is missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like IF(IsNull(Code), 0, YourTest)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 11:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124146#M18884</guid>
      <dc:creator>jensmunnichs</dc:creator>
      <dc:date>2018-10-02T11:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Filling the blanks</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124147#M18885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I guess&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IF(IsNull(Code), 0, YourTest)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;wouldn't work&amp;nbsp; because I cannot run the test on the entry that has&lt;STRONG&gt; i&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;sNull(Code)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;What I need is to ask:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;If i&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;sNull(Code) then take the TestResult of the Caterory&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;That is why I'm thinking about creating another table with 2 fields&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; Category | CategoryTestResult&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;And to make the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CategoryTestResult value to True (or 1) if at least 1 entry of the same category has&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TestResult = 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 11:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124147#M18885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-02T11:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Filling the blanks</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124148#M18886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I'm starting to understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you already know all the codes and their corresponding values? In that case you could create a mapping table and apply it to the data to make sure none of the codes are missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There might be a better solution though, I'll let you know if I think of it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 11:56:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124148#M18886</guid>
      <dc:creator>jensmunnichs</dc:creator>
      <dc:date>2018-10-02T11:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Filling the blanks</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124149#M18887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;almost that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know all the codes&lt;/P&gt;&lt;P&gt;some entries have no CODE value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I know is:&lt;/P&gt;&lt;P&gt;In every Category, there is at least 1 Entry that has a CODE value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm sure that I could deduce the TestResult of every Entry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 11:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124149#M18887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-02T11:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Filling the blanks</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124150#M18888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort the original table by Value, then Code ascending. Then load code by checking whether there is a code or not. If there is, use that code. If not, use the code from the previous row. That way every value should have a code and the test should work for every entry, correct? Then if necessary sort by ID again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only situation I can think of where this wouldn't work is if there is a category where no entry has a code, but as you said there should always be at least one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a file where I made this work, note that when there is no code my table shows '?', you might have to change that if it's different in your data. Just make sure that the 'order by' always puts the rows with a code above the ones without a code, or this won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, I'm still fairly new to Qlikview myself so there might still be a better solution to your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 12:15:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124150#M18888</guid>
      <dc:creator>jensmunnichs</dc:creator>
      <dc:date>2018-10-02T12:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Filling the blanks</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124151#M18889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it seems great !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm taking it home to work at it tonight and I'll tell you tomorow&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 12:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124151#M18889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-02T12:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Filling the blanks</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124152#M18890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Raw:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD ID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CODE,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(even(CODE), 1, 0) as TestResultTemp&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2051" data-containertype="14" data-objectid="315510" data-objecttype="1" href="https://community.qlik.com/thread/315510"&gt;https://community.qlik.com/thread/315510&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LEFT JOIN (Raw)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;VALUE,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;max(TestResultTemp) as TestResult&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Resident Raw&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Group By VALUE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;DROP FIELD TestResultTemp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.easyqlik.com" rel="nofollow" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 15:34:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124152#M18890</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-10-02T15:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Filling the blanks</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124153#M18891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And ... Yes ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much Rob&lt;/P&gt;&lt;P&gt;This is exactly what I was looking for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jens's answer worked for the exemple but the LEFT JOIN / Group by &lt;BR /&gt;solution works alway &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You guys made a very happy guy in Reunion Island , thank you !&lt;IMG alt="meme.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/215011_meme.png" style="height: 869px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 12:12:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-the-blanks/m-p/124153#M18891</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-03T12:12:16Z</dc:date>
    </item>
  </channel>
</rss>

