<?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: Average from referenced dashboard widget results in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-average-from-referenced-dashboard-widget-results/m-p/633059#M51877</link>
    <description>&lt;P&gt;I'm using Dashboard Studio. I can reference the final result (like I mentioned in my original post) but that is intended to feed into a search. I just want to use that final result as part of a mathematical equation -- averaging multiple final results together. Is that possible?&lt;/P&gt;</description>
    <pubDate>Thu, 02 Mar 2023 21:03:14 GMT</pubDate>
    <dc:creator>ChadW</dc:creator>
    <dc:date>2023-03-02T21:03:14Z</dc:date>
    <item>
      <title>How to display average from referenced dashboard widget results?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-average-from-referenced-dashboard-widget-results/m-p/633034#M51874</link>
      <description>&lt;P&gt;I have a dashboard that displays 3 radials. I want to display the average of the numeric result of those three radials also on the dashboard. I can create references to those radials and refer to their results something like ($ds_1:result.avg$ +&amp;nbsp;$ds_3:result.avg$ +&amp;nbsp;$ds_3:result.avg$) / 3 but I don't know how to create SPL to do just that vs looking up logs. For example, I tried&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| eval avg=($ds_1:result.avg$ + $ds_3:result.avg$ + $ds_3:result.avg$) / 3 | table avg&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this didn't work. For context, each of those referred datasources outputs avg(field) as avg.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I achieve what I'm after?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 16:27:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-average-from-referenced-dashboard-widget-results/m-p/633034#M51874</guid>
      <dc:creator>ChadW</dc:creator>
      <dc:date>2023-03-02T16:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Average from referenced dashboard widget results</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-average-from-referenced-dashboard-widget-results/m-p/633035#M51875</link>
      <description>&lt;P&gt;In SimpleXML dashboards, you can declare a done handler - in the done handler for each radial search, you can declare a token for the result you want. You can then use these tokens elsewhere in the dashboard.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 16:17:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-average-from-referenced-dashboard-widget-results/m-p/633035#M51875</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-03-02T16:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Average from referenced dashboard widget results</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-average-from-referenced-dashboard-widget-results/m-p/633059#M51877</link>
      <description>&lt;P&gt;I'm using Dashboard Studio. I can reference the final result (like I mentioned in my original post) but that is intended to feed into a search. I just want to use that final result as part of a mathematical equation -- averaging multiple final results together. Is that possible?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 21:03:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-average-from-referenced-dashboard-widget-results/m-p/633059#M51877</guid>
      <dc:creator>ChadW</dc:creator>
      <dc:date>2023-03-02T21:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to display average from referenced dashboard widget results?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-average-from-referenced-dashboard-widget-results/m-p/633100#M51879</link>
      <description>&lt;P&gt;I figured this out using makeresults:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults format=csv data="val
$ds_1:result.avg$
$ds_3:result.avg$
$ds_3:result.avg$" | stats avg(val)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 03 Mar 2023 06:10:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-average-from-referenced-dashboard-widget-results/m-p/633100#M51879</guid>
      <dc:creator>ChadW</dc:creator>
      <dc:date>2023-03-03T06:10:37Z</dc:date>
    </item>
  </channel>
</rss>

