<?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: Need to show only the negative values in a bar chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Need-to-show-only-the-negative-values-in-a-bar-chart/m-p/1907750#M74815</link>
    <description>&lt;P&gt;Aggregated data not allowed in dimension, Instead you can try this&lt;/P&gt;
&lt;P&gt;=if(&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Aggr(&lt;/STRONG&gt;Sum(Date([Projected Need Date]) - Date([Delivery Date]))&lt;STRONG&gt;,ID)&lt;/STRONG&gt; &amp;lt;0&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;,[ID])&lt;/P&gt;</description>
    <pubDate>Mon, 21 Mar 2022 15:35:43 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2022-03-21T15:35:43Z</dc:date>
    <item>
      <title>Need to show only the negative values in a bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Need-to-show-only-the-negative-values-in-a-bar-chart/m-p/1907706#M74809</link>
      <description>&lt;P&gt;I am calculating the difference between two dates and need to graph on a bar chart only the dates that have a value less than 0 (these are the dates that were not delivered by the need by date)&lt;/P&gt;
&lt;P&gt;To calculate the difference, I am doing this:&lt;/P&gt;
&lt;P&gt;Sum(Date([Projected Need Date]) - Date([DeliveryDate])&lt;/P&gt;
&lt;P&gt;I have set up a bar chart with the dimension [ID] and the measure&amp;nbsp; is&amp;nbsp;&lt;SPAN&gt;Sum(Date([Projected Need Date]) - Date([DeliveryDate]).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This shows me a graph of all of the date differences, both positive, negative, and zero (arrived on the need by date).&amp;nbsp; What I need to show is only the negatives.&amp;nbsp; Any ideas?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 14:54:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-to-show-only-the-negative-values-in-a-bar-chart/m-p/1907706#M74809</guid>
      <dc:creator>Evan0211</dc:creator>
      <dc:date>2022-03-21T14:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need to show only the negative values in a bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Need-to-show-only-the-negative-values-in-a-bar-chart/m-p/1907711#M74810</link>
      <description>&lt;P&gt;Perhaps this?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;ID={"=Len(Sum(Date([Projected Need Date]) - Date([DeliveryDate]))&amp;lt;=0"}&amp;gt;}Date([Projected Need Date]) - Date([DeliveryDate])&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 14:58:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-to-show-only-the-negative-values-in-a-bar-chart/m-p/1907711#M74810</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2022-03-21T14:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need to show only the negative values in a bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Need-to-show-only-the-negative-values-in-a-bar-chart/m-p/1907722#M74812</link>
      <description>&lt;P&gt;In my expression for the ID dimension, I have updated the code to this but it says it is invalid, though the expression shows as OK&lt;/P&gt;
&lt;P&gt;=if(&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Sum(Date([Projected Need Date]) - Date([Delivery Date])) &amp;lt;0&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;,[ID])&lt;/P&gt;
&lt;P&gt;In my head, this would only show the IDs that have a result less than 0 but it is not working.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 15:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-to-show-only-the-negative-values-in-a-bar-chart/m-p/1907722#M74812</guid>
      <dc:creator>Evan0211</dc:creator>
      <dc:date>2022-03-21T15:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need to show only the negative values in a bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Need-to-show-only-the-negative-values-in-a-bar-chart/m-p/1907750#M74815</link>
      <description>&lt;P&gt;Aggregated data not allowed in dimension, Instead you can try this&lt;/P&gt;
&lt;P&gt;=if(&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Aggr(&lt;/STRONG&gt;Sum(Date([Projected Need Date]) - Date([Delivery Date]))&lt;STRONG&gt;,ID)&lt;/STRONG&gt; &amp;lt;0&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;,[ID])&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 15:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-to-show-only-the-negative-values-in-a-bar-chart/m-p/1907750#M74815</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2022-03-21T15:35:43Z</dc:date>
    </item>
  </channel>
</rss>

