<?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 result combination in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576719#M47256</link>
    <description>&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="20%" height="25px"&gt;ORG&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;Month&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;KPI_1&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;KPI_2&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;KPI_3&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;KPI_4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%" height="25px"&gt;first&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;Sep21&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;100&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;NA&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;NA&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;NA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%" height="25px"&gt;first&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;Sep21&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;NA&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;100&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;NA&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;NA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%" height="25px"&gt;first&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;Sep21&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;NA&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;NA&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;100&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;NA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%" height="25px"&gt;first&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;Sep21&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;NA&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;NA&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;NA&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;how do i convert the table above&amp;nbsp; to get&amp;nbsp; the table below:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;ORG&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;Month&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;KPI_1&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;KPI_2&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;KPI_3&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;KPI_4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;first&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;Sep21&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;100&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;100&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;100&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
    <pubDate>Tue, 30 Nov 2021 08:53:44 GMT</pubDate>
    <dc:creator>lostcauz3</dc:creator>
    <dc:date>2021-11-30T08:53:44Z</dc:date>
    <item>
      <title>result combination</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576719#M47256</link>
      <description>&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="20%" height="25px"&gt;ORG&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;Month&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;KPI_1&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;KPI_2&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;KPI_3&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;KPI_4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%" height="25px"&gt;first&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;Sep21&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;100&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;NA&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;NA&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;NA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%" height="25px"&gt;first&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;Sep21&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;NA&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;100&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;NA&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;NA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%" height="25px"&gt;first&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;Sep21&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;NA&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;NA&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;100&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;NA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%" height="25px"&gt;first&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;Sep21&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;NA&lt;/TD&gt;&lt;TD width="20%" height="25px"&gt;NA&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;NA&lt;/TD&gt;&lt;TD width="10%" height="25px"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;how do i convert the table above&amp;nbsp; to get&amp;nbsp; the table below:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;ORG&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;Month&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;KPI_1&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;KPI_2&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;KPI_3&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;KPI_4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;first&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;Sep21&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;100&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;100&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;100&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 30 Nov 2021 08:53:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576719#M47256</guid>
      <dc:creator>lostcauz3</dc:creator>
      <dc:date>2021-11-30T08:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: result combination</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576726#M47257</link>
      <description>&lt;LI-CODE lang="markup"&gt;| foreach KPI_*
  [| eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=if(&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;="NA",null(),&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;)]
| stats values(*) as * by ORG Month&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 30 Nov 2021 09:44:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576726#M47257</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-11-30T09:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: result combination</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576732#M47258</link>
      <description>&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;ORG&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;Month&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;KPI_1&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;KPI_2&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;KPI_3&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;KP_4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;first&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;Sep21&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;100&lt;BR /&gt;NA&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;100&lt;BR /&gt;NA&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;100&lt;BR /&gt;NA&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;100&lt;BR /&gt;NA&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output is coming like this for the above query you mentioned&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 10:11:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576732#M47258</guid>
      <dc:creator>lostcauz3</dc:creator>
      <dc:date>2021-11-30T10:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: result combination</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576736#M47259</link>
      <description>&lt;P&gt;Here is a runanywhere example showing it working&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval _raw="ORG	Month	KPI_1	KPI_2	KPI_3	KPI_4
first	Sep21	100	NA	NA	NA
first	Sep21	NA	100	NA	NA
first	Sep21	NA	NA	100	NA
first	Sep21	NA	NA	NA	100"
| multikv forceheader=1
| table ORG Month KPI*
| foreach KPI*
    [| eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=if(&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;="NA",null(),&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;)]
| stats values(*) as * by ORG Month&lt;/LI-CODE&gt;&lt;P&gt;This probably means your real data does not match your example data closely enough.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 10:21:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576736#M47259</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-11-30T10:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: result combination</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576756#M47260</link>
      <description>&lt;P&gt;thanks for the suggestion this is working but there is something with my data that i am missing i guess that's why extra "NA" is being added to the fields containing 100.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 13:02:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576756#M47260</guid>
      <dc:creator>lostcauz3</dc:creator>
      <dc:date>2021-11-30T13:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: result combination</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576757#M47261</link>
      <description>&lt;P&gt;You could something like instead&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=if(match(&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;,"NA"),null(),&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;)&lt;/LI-CODE&gt;&lt;P&gt;but at the end of the day, you have access to your data and can find out what's really going on.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 13:10:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576757#M47261</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-11-30T13:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: result combination</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576760#M47262</link>
      <description>&lt;P&gt;this is happening after stats values(*) as * by ORG,MONTH.&lt;BR /&gt;&lt;BR /&gt;any way i can delete the multivalues of these fields that is NA &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 14:31:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576760#M47262</guid>
      <dc:creator>lostcauz3</dc:creator>
      <dc:date>2021-11-30T14:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: result combination</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576761#M47263</link>
      <description>&lt;P&gt;Anything that is NA should have been set to null() by the foreach command, so anything that is left should not be NA but somehow something else. You need to examine these more closely to figure out why they are not being set to null(). For example, is there a trailing space? or is it N/A? etc.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 14:41:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576761#M47263</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-11-30T14:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: result combination</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576776#M47264</link>
      <description>&lt;P&gt;thanks a ton,&lt;/P&gt;&lt;P&gt;Solved it!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 16:46:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/result-combination/m-p/576776#M47264</guid>
      <dc:creator>lostcauz3</dc:creator>
      <dc:date>2021-11-30T16:46:09Z</dc:date>
    </item>
  </channel>
</rss>

