<?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 How can I dedup across rows and columns in a pivot table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-dedup-across-rows-and-columns-in-a-pivot-table/m-p/260728#M78227</link>
    <description>&lt;P&gt;I have a pivot table with data, but I need to find the number of times these values occur. However, a user can input the same value in different fields causing the same value to appear on different rows and in different columns. How can I dedup across all rows and columns to return the single value and total count it occurs?&lt;/P&gt;

&lt;P&gt;For example:&lt;/P&gt;

&lt;P&gt;Pivot&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Col1         Col2             Col3
Here         NULL             NULL
NULL         There            Anywhere
Here         NULL             Here
Here         Here             NULL
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 26 Jan 2017 02:00:57 GMT</pubDate>
    <dc:creator>ereed18</dc:creator>
    <dc:date>2017-01-26T02:00:57Z</dc:date>
    <item>
      <title>How can I dedup across rows and columns in a pivot table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-dedup-across-rows-and-columns-in-a-pivot-table/m-p/260728#M78227</link>
      <description>&lt;P&gt;I have a pivot table with data, but I need to find the number of times these values occur. However, a user can input the same value in different fields causing the same value to appear on different rows and in different columns. How can I dedup across all rows and columns to return the single value and total count it occurs?&lt;/P&gt;

&lt;P&gt;For example:&lt;/P&gt;

&lt;P&gt;Pivot&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Col1         Col2             Col3
Here         NULL             NULL
NULL         There            Anywhere
Here         NULL             Here
Here         Here             NULL
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 Jan 2017 02:00:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-dedup-across-rows-and-columns-in-a-pivot-table/m-p/260728#M78227</guid>
      <dc:creator>ereed18</dc:creator>
      <dc:date>2017-01-26T02:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I dedup across rows and columns in a pivot table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-dedup-across-rows-and-columns-in-a-pivot-table/m-p/260729#M78228</link>
      <description>&lt;P&gt;Assuming you want to find the count of a specific string in all rows and columns, try this.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your current search giving output mentioned in the question 
| eval temp=1 | untable temp colname colvalue | where colvalue="YourSpecificString"
| stats count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 Jan 2017 20:21:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-dedup-across-rows-and-columns-in-a-pivot-table/m-p/260729#M78228</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-01-26T20:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I dedup across rows and columns in a pivot table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-dedup-across-rows-and-columns-in-a-pivot-table/m-p/260730#M78229</link>
      <description>&lt;P&gt;@ereed18 - Were you able to test out somesoni2's solution? Did it work? If yes, please don't forget to resolve this post by clicking on "Accept". If you still need more help, please provide a comment with some feedback. Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 12 Feb 2017 05:34:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-dedup-across-rows-and-columns-in-a-pivot-table/m-p/260730#M78229</guid>
      <dc:creator>aaraneta_splunk</dc:creator>
      <dc:date>2017-02-12T05:34:13Z</dc:date>
    </item>
  </channel>
</rss>

