<?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 How to show only negative values for expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-show-only-negative-values-for-expression/m-p/1543855#M745074</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table as shown below;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture.PNG" style="width: 609px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5890iA4C2F57F489396F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to show &lt;STRONG&gt;only negative values for YTD,&amp;nbsp;&lt;/STRONG&gt;I have tried to use if condition and even sorting is not working in the table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where I'm doing wrong here, attached is the file for reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Bhavesh&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 21:24:56 GMT</pubDate>
    <dc:creator>bhaveshp90</dc:creator>
    <dc:date>2024-11-16T21:24:56Z</dc:date>
    <item>
      <title>How to show only negative values for expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-only-negative-values-for-expression/m-p/1543855#M745074</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table as shown below;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture.PNG" style="width: 609px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5890iA4C2F57F489396F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to show &lt;STRONG&gt;only negative values for YTD,&amp;nbsp;&lt;/STRONG&gt;I have tried to use if condition and even sorting is not working in the table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where I'm doing wrong here, attached is the file for reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Bhavesh&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:24:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-only-negative-values-for-expression/m-p/1543855#M745074</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2024-11-16T21:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to show only negative values for expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-only-negative-values-for-expression/m-p/1543867#M745075</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#FF0000"&gt;RangeMin(&lt;/FONT&gt;
((
(
(Sum(Updated_OEC_Budget)-Sum(Forecast_Cost_to_Complete))-(Sum(Prior_Updated_OEC_Budget)-Sum(Prior_Forecast_Cost_to_Complete))
)
*
if(Cost_Code=8,Sum({&amp;lt;Cost_Code={8}&amp;gt;}POC)/100,
if(Cost_Code=10,Sum({&amp;lt;Cost_Code={10}&amp;gt;}POC)/100,
if(Cost_Code=12,Sum({&amp;lt;Cost_Code={12}&amp;gt;}POC)/100,
Sum({&amp;lt;Cost_Code={8,10,12}&amp;gt;}POC)/300)))
)

+

(
	if(Cost_Code=8,Sum({&amp;lt;Cost_Code={8}&amp;gt;}Prior_Updated_OEC_Budget),
	if(Cost_Code=10,Sum({&amp;lt;Cost_Code={10}&amp;gt;}Prior_Updated_OEC_Budget),
	if(Cost_Code=12,Sum({&amp;lt;Cost_Code={12}&amp;gt;}Prior_Updated_OEC_Budget),
	Sum({&amp;lt;Cost_Code={8,10,12}&amp;gt;}Prior_Updated_OEC_Budget))))
	-
	if(Cost_Code=8,Sum({&amp;lt;Cost_Code={8}&amp;gt;}Prior_Forecast_Cost_to_Complete),
	if(Cost_Code=10,Sum({&amp;lt;Cost_Code={10}&amp;gt;}Prior_Forecast_Cost_to_Complete),
	if(Cost_Code=12,Sum({&amp;lt;Cost_Code={12}&amp;gt;}Prior_Forecast_Cost_to_Complete),
	Sum({&amp;lt;Cost_Code={8,10,12}&amp;gt;}Prior_Forecast_Cost_to_Complete))))
)
*
(

	If(Cost_Code=8, Num(
	(Sum({&amp;lt;Cost_Code={8}&amp;gt;}POC)/100
	-
	Alt(Above(TOTAL Sum({&amp;lt;MonthYear,YearMonth,Cost_Code={8}&amp;gt;}POC)/100, Num(Month)),0)),'###.##%'),
	
	If(Cost_Code=10, Num(
	(Sum({&amp;lt;Cost_Code={10}&amp;gt;}POC)/100
	-
	Alt(Above(TOTAL Sum({&amp;lt;MonthYear,YearMonth,Cost_Code={10}&amp;gt;}POC)/100, Num(Month)),0)),'###.##%'),
	
	if(Cost_Code=12,Num(
	(Sum({&amp;lt;Cost_Code={12}&amp;gt;}POC)/100
	-
	Alt(Above(TOTAL Sum({&amp;lt;MonthYear,YearMonth,Cost_Code={12}&amp;gt;}POC)/100, Num(Month)),0)),'###.##%'),
	
	Num(
	(Sum({&amp;lt;Cost_Code={8,10,12}&amp;gt;}POC)/300
	-
	Alt(Above(TOTAL Sum({&amp;lt;MonthYear,YearMonth,Cost_Code={8,10,12}&amp;gt;}POC)/300, Num(Month)),0)),'###.##%'),
	)))

))&lt;FONT color="#FF0000"&gt;, 0)&lt;/FONT&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Feb 2019 17:44:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-only-negative-values-for-expression/m-p/1543867#M745075</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-13T17:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to show only negative values for expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-only-negative-values-for-expression/m-p/1543881#M745076</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp; when we add other expressions say MTD, we still see the Zero values for these projects which is not correct. Is there any way we can avoid those projects completely?&amp;nbsp;&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-left" image-alt="Capture.PNG" style="width: 661px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5897i3142D209E49EC7B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 18:23:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-only-negative-values-for-expression/m-p/1543881#M745076</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2019-02-13T18:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to show only negative values for expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-only-negative-values-for-expression/m-p/1543889#M745077</link>
      <description>&lt;P&gt;What do you want to see?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 18:40:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-only-negative-values-for-expression/m-p/1543889#M745077</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-13T18:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to show only negative values for expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-only-negative-values-for-expression/m-p/1543911#M745078</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&amp;nbsp;, I want to see the top 10 MTD values (Projects with Negative values) in Descending&amp;nbsp;order.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot able to sort the MTD expression in the table as shown below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture.PNG" style="width: 706px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5900i907129F270B17E24/image-dimensions/706x579?v=v2" width="706" height="579" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 19:39:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-only-negative-values-for-expression/m-p/1543911#M745078</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2019-02-13T19:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to show only negative values for expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-only-negative-values-for-expression/m-p/1543975#M745080</link>
      <description>IF(your_expression &amp;lt; 0 , your_expression)</description>
      <pubDate>Thu, 14 Feb 2019 00:31:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-only-negative-values-for-expression/m-p/1543975#M745080</guid>
      <dc:creator>Claudiu_Anghelescu</dc:creator>
      <dc:date>2019-02-14T00:31:31Z</dc:date>
    </item>
  </channel>
</rss>

