<?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: Change Single Value Visualization Based on Text in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Change-Single-Value-Visualization-Based-on-Text/m-p/696644#M57088</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201395"&gt;@mistydennis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;### Steps to Use Single Value Visualization in your dashboard.&lt;/P&gt;&lt;P&gt;1. **Run the Query**: Use the query you provided to generate the `OnTarget` value.&lt;/P&gt;&lt;P&gt;2. **Select Visualization**:&lt;BR /&gt;- After running the query, go to the **Visualization** tab in the search results.&lt;BR /&gt;- From the available visualizations, choose **Single Value**.&lt;/P&gt;&lt;P&gt;3. **Configure Conditional Coloring**:&lt;BR /&gt;- Click on **Format** in the Visualization tab.&lt;BR /&gt;- Under **Color**, enable **Color by value**.&lt;BR /&gt;- Add your conditions:&lt;BR /&gt;- **If value is "Yes"**: Set the color to green.&lt;BR /&gt;- **If value is "No"**: Set the color to red.&lt;/P&gt;&lt;P&gt;4. **Save and Use**:&lt;BR /&gt;- Apply the settings, and you will see the value displayed either in green or red based on the result ("Yes" or "No").&lt;BR /&gt;- You can then save this as part of your dashboard if needed.&lt;/P&gt;&lt;P&gt;upvote is appreciated.&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2024 19:41:35 GMT</pubDate>
    <dc:creator>uagraw01</dc:creator>
    <dc:date>2024-08-18T19:41:35Z</dc:date>
    <item>
      <title>Change Single Value Visualization Based on Text</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Change-Single-Value-Visualization-Based-on-Text/m-p/696637#M57086</link>
      <description>&lt;P&gt;Hello - I realize this question has been asked several times before and I've tried to implement every solution I've found, but nothing seems to be working.&lt;BR /&gt;&lt;BR /&gt;I simply want to update a single value visualization based on the text. If "Yes", then green, and if "No", red.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I've tried using older solutions involving rangemap and changing some of the charting options, but I'm not having any luck in v9.3.0.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup mylookup.csv 
| search $time_tok$ $field_tok$=Y 
| stats max(Distance) AS GuideMiles 
| appendcols 
    [| mylookup.csv 
    | search $month_tok$ 
    | stats max(TargetMiles)] 
| rename max(TargetMiles) AS TargetMiles 
| eval OnTarget=case(GuideMiles&amp;gt;=TargetMiles,"Yes", true(), "No") 
| table OnTarget&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 14:42:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Change-Single-Value-Visualization-Based-on-Text/m-p/696637#M57086</guid>
      <dc:creator>mistydennis</dc:creator>
      <dc:date>2024-08-18T14:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Change Single Value Visualization Based on Text</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Change-Single-Value-Visualization-Based-on-Text/m-p/696641#M57087</link>
      <description>&lt;P&gt;While you have clearly shown your search (which by the way seems perfectly fine), what you haven't shown or described is what you have tried in your dashboard. Please can you provide further information?&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 17:58:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Change-Single-Value-Visualization-Based-on-Text/m-p/696641#M57087</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-08-18T17:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change Single Value Visualization Based on Text</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Change-Single-Value-Visualization-Based-on-Text/m-p/696644#M57088</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201395"&gt;@mistydennis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;### Steps to Use Single Value Visualization in your dashboard.&lt;/P&gt;&lt;P&gt;1. **Run the Query**: Use the query you provided to generate the `OnTarget` value.&lt;/P&gt;&lt;P&gt;2. **Select Visualization**:&lt;BR /&gt;- After running the query, go to the **Visualization** tab in the search results.&lt;BR /&gt;- From the available visualizations, choose **Single Value**.&lt;/P&gt;&lt;P&gt;3. **Configure Conditional Coloring**:&lt;BR /&gt;- Click on **Format** in the Visualization tab.&lt;BR /&gt;- Under **Color**, enable **Color by value**.&lt;BR /&gt;- Add your conditions:&lt;BR /&gt;- **If value is "Yes"**: Set the color to green.&lt;BR /&gt;- **If value is "No"**: Set the color to red.&lt;/P&gt;&lt;P&gt;4. **Save and Use**:&lt;BR /&gt;- Apply the settings, and you will see the value displayed either in green or red based on the result ("Yes" or "No").&lt;BR /&gt;- You can then save this as part of your dashboard if needed.&lt;/P&gt;&lt;P&gt;upvote is appreciated.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 19:41:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Change-Single-Value-Visualization-Based-on-Text/m-p/696644#M57088</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2024-08-18T19:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Change Single Value Visualization Based on Text</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Change-Single-Value-Visualization-Based-on-Text/m-p/696997#M57140</link>
      <description>&lt;P&gt;Solution:&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-background-colour-to-single-value-visualisation-based/td-p/616565" target="_blank"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-background-colour-to-single-value-visualisation-based/td-p/616565&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 21:07:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Change-Single-Value-Visualization-Based-on-Text/m-p/696997#M57140</guid>
      <dc:creator>mistydennis</dc:creator>
      <dc:date>2024-08-21T21:07:41Z</dc:date>
    </item>
  </channel>
</rss>

