<?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: Finding the number of null cells in a table in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Finding-the-number-of-null-cells-in-a-table/m-p/659635#M227742</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/261201"&gt;@P3G4SUS&lt;/a&gt;&amp;nbsp;- You can do that like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;....
| eval empty_cells = case(isnull(A) AND isnull(B), 2, isnull(A), 1, isnull(B), 1, 1==1, 0)
| stats sum(empty_cells) as total_empty_cells&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm assuming your two fields in the table is A and B, but you can replace that with what you have in above query and you should get your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!!!&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2023 11:22:21 GMT</pubDate>
    <dc:creator>VatsalJagani</dc:creator>
    <dc:date>2023-10-04T11:22:21Z</dc:date>
    <item>
      <title>Finding the number of null cells in a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Finding-the-number-of-null-cells-in-a-table/m-p/659595#M227740</link>
      <description>&lt;P&gt;Lets say I have a table of two fields. and some of the cells are empty.&lt;BR /&gt;How do I find the number of empty cells using "&lt;EM&gt;&lt;STRONG&gt;addcoltotals&lt;/STRONG&gt;&lt;/EM&gt;"&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 07:38:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Finding-the-number-of-null-cells-in-a-table/m-p/659595#M227740</guid>
      <dc:creator>P3G4SUS</dc:creator>
      <dc:date>2023-10-04T07:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the number of null cells in a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Finding-the-number-of-null-cells-in-a-table/m-p/659603#M227741</link>
      <description>&lt;P&gt;You can't, addcoltotals doesn't work like that.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 07:49:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Finding-the-number-of-null-cells-in-a-table/m-p/659603#M227741</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-10-04T07:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the number of null cells in a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Finding-the-number-of-null-cells-in-a-table/m-p/659635#M227742</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/261201"&gt;@P3G4SUS&lt;/a&gt;&amp;nbsp;- You can do that like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;....
| eval empty_cells = case(isnull(A) AND isnull(B), 2, isnull(A), 1, isnull(B), 1, 1==1, 0)
| stats sum(empty_cells) as total_empty_cells&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm assuming your two fields in the table is A and B, but you can replace that with what you have in above query and you should get your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!!!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 11:22:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Finding-the-number-of-null-cells-in-a-table/m-p/659635#M227742</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2023-10-04T11:22:21Z</dc:date>
    </item>
  </channel>
</rss>

