<?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: How would I Avoid Negative Value in Trend indicator when using Single Value visualization? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-would-I-avoid-negative-value-in-trend-indicator-when-using/m-p/608343#M49901</link>
    <description>&lt;P&gt;Yes, having a single value would defeat its purpose of showing trend comparison to last week.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Aug 2022 20:14:33 GMT</pubDate>
    <dc:creator>ojtoids</dc:creator>
    <dc:date>2022-08-04T20:14:33Z</dc:date>
    <item>
      <title>How would I avoid negative value in trend indicator when using single value visualization?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-would-I-avoid-negative-value-in-trend-indicator-when-using/m-p/608318#M49899</link>
      <description>&lt;P&gt;I am trying to build a trending dashboard of the count of tickets we get. With the below query, I am trying to display the increase/decrease in the count of tickets we got for each type for the past two weeks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=tickets
Status IN ("Open", "Pending") earliest=-14D@w0 latest=@w0
| dedup ticketid 
| eval ticket_type=case(like(Tags,"%tag1%"),"Type1",
like(Tags,"%tag2%") AND !like(Tags,"%tag1%"), "Type2",
like(Tags,"%tag3%") AND !like(Tags,"%tag1%") AND !like(Tags,"%tag2%") , "Type3") 
| timechart usenull=f span=1w count by ticket_type&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="type.png" style="width: 983px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20865iFBC2330A13516AA3/image-size/large?v=v2&amp;amp;px=999" role="button" title="type.png" alt="type.png" /&gt;&lt;/span&gt;&lt;BR /&gt;The problem is whenever we have more count(tickets) for the previous week, it shows the data with a "-" minus sign.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Question:&lt;/P&gt;
&lt;P&gt;1. Not able to understand why a "-" would be there for a count.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;2. Is there a way to suppress the "-" sign ?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 19:08:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-would-I-avoid-negative-value-in-trend-indicator-when-using/m-p/608318#M49899</guid>
      <dc:creator>ojtoids</dc:creator>
      <dc:date>2022-08-04T19:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: How would I Avoid Negative Value in Trend indicator when using Single Value visualization?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-would-I-avoid-negative-value-in-trend-indicator-when-using/m-p/608331#M49900</link>
      <description>&lt;P&gt;I'm sure there is a math option to turn the negative number to the same value on the positive side of the scale.&amp;nbsp; However, once you change the negative to a positive you will change the direction of the arrows.&amp;nbsp; It would constantly appear as though your period over period value is increasing.&lt;/P&gt;&lt;P&gt;TL;DR: The direction of the arrow is directly tied to a positive or negative value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can just do the single value without trend but I have a feeling that is not what you are after.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 19:05:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-would-I-avoid-negative-value-in-trend-indicator-when-using/m-p/608331#M49900</guid>
      <dc:creator>dural_yyz</dc:creator>
      <dc:date>2022-08-04T19:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: How would I Avoid Negative Value in Trend indicator when using Single Value visualization?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-would-I-avoid-negative-value-in-trend-indicator-when-using/m-p/608343#M49901</link>
      <description>&lt;P&gt;Yes, having a single value would defeat its purpose of showing trend comparison to last week.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 20:14:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-would-I-avoid-negative-value-in-trend-indicator-when-using/m-p/608343#M49901</guid>
      <dc:creator>ojtoids</dc:creator>
      <dc:date>2022-08-04T20:14:33Z</dc:date>
    </item>
  </channel>
</rss>

