<?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: Reverse entry in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141095#M373883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MappingTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mapping&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD RDOC,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; 'Yes' as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Community_221370.xlsx&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1);&lt;/STRONG&gt;&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 S.No., &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DDOC, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RDOC,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp; ApplyMap('MappingTable', DDOC, If(Len(Trim(RDOC)) &amp;gt; 0, 'Yes', 'No')) as [IsReversal]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Community_221370.xlsx&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Jun 2016 13:47:04 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-06-18T13:47:04Z</dc:date>
    <item>
      <title>Reverse entry</title>
      <link>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141087#M373875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the below scenario&amp;nbsp; where if any document has an reversal enrty, i have to show Yes in a column called Is Reversal and No if it do not contain a reversal entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="125" style="width: 447px; height: 126px;" width="446"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="93"&gt;DDOC&amp;nbsp; (Document No)&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="86"&gt;RDOC (Reversal Doc)&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="70"&gt;Is reversal&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;123&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;456&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Yes&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;456&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;123&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Yes&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;789&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;987&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the below logic, but it is not showing Yes for all reversal entries. can you let me know where Am going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map:&lt;/P&gt;&lt;P&gt;Mapping Load&lt;/P&gt;&lt;P&gt;RDOC,&lt;/P&gt;&lt;P&gt;DDOC&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Test.QVD]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in main table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(match(RDOC,Applymap('Map',DDOC)),'Yes','No') as Is reversal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, if RDOC is in DDOC i want it as Yes and no if it is not there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 12:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141087#M373875</guid>
      <dc:creator />
      <dc:date>2016-06-17T12:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse entry</title>
      <link>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141088#M373876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Map:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Mapping Load&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;RDOC,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;'Yes' as Flag&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;[Test.QVD]&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;(qvd);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and in main table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;ApplyMap('Map', DDOC, 'No')&lt;/SPAN&gt; as Is reversal&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 12:58:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141088#M373876</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-17T12:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse entry</title>
      <link>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141089#M373877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what a simple solution !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Mate, not sure why I thought so complicated and written such a big logic.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 13:21:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141089#M373877</guid>
      <dc:creator />
      <dc:date>2016-06-17T13:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse entry</title>
      <link>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141090#M373878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, Where &lt;STRONG&gt;RDOC &lt;/STRONG&gt;is null and &lt;STRONG&gt;DDOC&lt;/STRONG&gt; has value, it is showing as YES. where it should come as No.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 13:39:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141090#M373878</guid>
      <dc:creator />
      <dc:date>2016-06-17T13:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse entry</title>
      <link>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141091#M373879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Map:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mapping Load&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RDOC,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'Yes' as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Test.QVD]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(qvd)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #ff0000;"&gt;Where Len(Trim(RDOC)) &amp;gt; 0;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 13:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141091#M373879</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-17T13:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse entry</title>
      <link>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141092#M373880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue is, for few Document nos, RDOC is empty even though it is a reversal entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i need to get YES for which RDOC is missing, since it is part of reversal entry.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this achievable, could you plz help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="110" style="width: 633px; height: 110px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border: 0px solid black;" width="93"&gt;DDOC&amp;nbsp; (Document No)&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="86"&gt;RDOC (Reversal Doc)&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="70"&gt;Is reversal&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border: 0px solid black; border-top: none;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;123&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none; border-top: none;"&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none; border-top: none;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Yes&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border: 0px solid black; border-top: none;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;456&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none; border-top: none;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;123&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none; border-top: none;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;No&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 14:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141092#M373880</guid>
      <dc:creator />
      <dc:date>2016-06-17T14:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse entry</title>
      <link>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141093#M373881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would have thought that this is true now. Can you share a sample where this doesn't work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 14:49:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141093#M373881</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-17T14:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse entry</title>
      <link>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141094#M373882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, if the table is as below, IsReversal should be as mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the rows 1 to 4 should be YES.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="253"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;S.No.&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="59"&gt;DDOC&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="57"&gt; RDOC&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="73"&gt;Is Reversal&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;321&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;123&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;789&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;987&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;987&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;789&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;111&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;222&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;7&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;222&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;444&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;9&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;555&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;666&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jun 2016 07:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141094#M373882</guid>
      <dc:creator />
      <dc:date>2016-06-18T07:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse entry</title>
      <link>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141095#M373883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MappingTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mapping&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD RDOC,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; 'Yes' as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Community_221370.xlsx&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1);&lt;/STRONG&gt;&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 S.No., &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DDOC, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RDOC,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp; ApplyMap('MappingTable', DDOC, If(Len(Trim(RDOC)) &amp;gt; 0, 'Yes', 'No')) as [IsReversal]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Community_221370.xlsx&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jun 2016 13:47:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141095#M373883</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-18T13:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse entry</title>
      <link>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141096#M373884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, you logic is working perfectly. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, say, in future if we get a entry which has a RDOC filled and doesn't have a reversal entry in the data which we posses, it should come as 'No' which is logically correct. So I have have added one more condition to your condition...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MappingTable1:&lt;/P&gt;&lt;P&gt;LOAD RDOC,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Yes' as Flag&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Test.xls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mapping2:&lt;/P&gt;&lt;P&gt;LOAD DDOC,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Yes' as Flag&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Test.xls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MainTable:&lt;/P&gt;&lt;P&gt;ApplyMap('MappingTable1', DDOC, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Len(Trim(RDOC)) &amp;gt; 0 &lt;STRONG style="text-decoration: underline;"&gt;&lt;EM&gt;and (ApplyMap('MappingTable2', RDOC))='Yes'&lt;/EM&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&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; 'Yes', 'No')) as [IsReversal]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 253px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border: 0px solid black;" width="64"&gt;S.No.&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="59"&gt;DDOC&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="57"&gt; RDOC&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="73"&gt;Is Reversal&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border: 0px solid black; border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;123&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border: 0px solid black; border-left: none; border-top: none;"&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border: 0px solid black; border-top: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;321&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;123&lt;/TD&gt;&lt;TD class="xl65" style="border: 0px solid black; border-left: none; border-top: none;"&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border: 0px solid black; border-top: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;789&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;987&lt;/TD&gt;&lt;TD class="xl65" style="border: 0px solid black; border-left: none; border-top: none;"&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border: 0px solid black; border-top: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;987&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;789&lt;/TD&gt;&lt;TD class="xl65" style="border: 0px solid black; border-left: none; border-top: none;"&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border: 0px solid black; border-top: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;456&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-left: none; border-top: none;"&gt;654&lt;/TD&gt;&lt;TD class="xl65" style="border: 0px solid black; border-left: none; border-top: none;"&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Sunny.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jun 2016 20:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141096#M373884</guid>
      <dc:creator />
      <dc:date>2016-06-18T20:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse entry</title>
      <link>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141097#M373885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand how is 321 Yes? 321 is not a RDOC, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:27:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reverse-entry/m-p/1141097#M373885</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-19T01:27:59Z</dc:date>
    </item>
  </channel>
</rss>

