<?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 margin flagging in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/margin-flagging/m-p/1285497#M862566</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;/P&gt;&lt;P&gt;Can some one help me with this formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="216" style="width: 631px; height: 216px;" width="631"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="98"&gt;ITEM_NO&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;Sales&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;Margin&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="164"&gt;if((column(3) &amp;gt; 0),'Y','N')&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;ORI&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$1,067,241.25&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$417,707.08&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;ZZ&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$393,263.33&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$393,263.33&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;TSF&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$946,720.60&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$343,977.14&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;GLU&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$1,211,490.97&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$337,970.18&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;GLU&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$1,029,243.72&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$281,447.37&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;TER&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$37,228.43&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;($18,822.36)&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;INB&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$4,921.72&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;($18,998.05)&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;OSE&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$40,847.47&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;($21,705.15)&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if margin is negative then Y else if N.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>jadams123</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>margin flagging</title>
      <link>https://community.qlik.com/t5/QlikView/margin-flagging/m-p/1285497#M862566</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;/P&gt;&lt;P&gt;Can some one help me with this formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="216" style="width: 631px; height: 216px;" width="631"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="98"&gt;ITEM_NO&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;Sales&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;Margin&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="164"&gt;if((column(3) &amp;gt; 0),'Y','N')&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;ORI&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$1,067,241.25&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$417,707.08&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;ZZ&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$393,263.33&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$393,263.33&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;TSF&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$946,720.60&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$343,977.14&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;GLU&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$1,211,490.97&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$337,970.18&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;GLU&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$1,029,243.72&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$281,447.37&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;TER&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$37,228.43&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;($18,822.36)&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;INB&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$4,921.72&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;($18,998.05)&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;OSE&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;$40,847.47&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;($21,705.15)&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if margin is negative then Y else if N.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/margin-flagging/m-p/1285497#M862566</guid>
      <dc:creator>jadams123</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: margin flagging</title>
      <link>https://community.qlik.com/t5/QlikView/margin-flagging/m-p/1285498#M862567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am guessing that ITEM_NO is a dimension here? May be use Column(2) instead of Column(3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Column(&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;2&lt;/SPAN&gt;) &amp;gt; 0, 'Y', 'N')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 15:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/margin-flagging/m-p/1285498#M862567</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-06T15:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: margin flagging</title>
      <link>https://community.qlik.com/t5/QlikView/margin-flagging/m-p/1285499#M862568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to avoid confusion maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([Margin]&amp;gt;0,'Y','N')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 15:11:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/margin-flagging/m-p/1285499#M862568</guid>
      <dc:creator>rupamjyotidas</dc:creator>
      <dc:date>2017-01-06T15:11:48Z</dc:date>
    </item>
  </channel>
</rss>

