<?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: Data with multiple occurences in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Data-with-multiple-occurences/m-p/543391#M8849</link>
    <description>&lt;P&gt;I will test this out. Thank you very much!&lt;/P&gt;&lt;P&gt;Yes, the ACCOUNT_CODE does exist in both source types. It's just that it can used my multiple Business Unit and should be summed up or included in the average of the Business Units that use that particular ACCOUNT_CODE.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Mar 2021 14:54:51 GMT</pubDate>
    <dc:creator>aquinojason</dc:creator>
    <dc:date>2021-03-11T14:54:51Z</dc:date>
    <item>
      <title>Data with multiple occurences</title>
      <link>https://community.splunk.com/t5/Reporting/Data-with-multiple-occurences/m-p/543372#M8846</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have the following source tables (2 sourcetypes):&lt;/P&gt;&lt;P&gt;1st table:&lt;/P&gt;&lt;TABLE width="1099"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="111"&gt;ACCOUNT_CODE&lt;/TD&gt;&lt;TD width="328"&gt;Application&lt;/TD&gt;&lt;TD width="281"&gt;Business Unit&lt;/TD&gt;&lt;TD width="379"&gt;Application RTO&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;AD30OH00&lt;/TD&gt;&lt;TD&gt;Accounts Reconciliation Control System&lt;/TD&gt;&lt;TD&gt;Individual Life Insurance&lt;/TD&gt;&lt;TD&gt;C - Greater than 4 hours and less than or equal to 24 hours&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ADR3OH00&lt;/TD&gt;&lt;TD&gt;Accounts Reconciliation Control System&lt;/TD&gt;&lt;TD&gt;Individual Life Insurance&lt;/TD&gt;&lt;TD&gt;C - Greater than 4 hours and less than or equal to 24 hours&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;AJ52OH00&lt;/TD&gt;&lt;TD&gt;Accounts Reconciliation Control System&lt;/TD&gt;&lt;TD&gt;Individual Life Insurance&lt;/TD&gt;&lt;TD&gt;C - Greater than 4 hours and less than or equal to 24 hours&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;AN00OH00&lt;/TD&gt;&lt;TD&gt;Accounts Reconciliation Control System&lt;/TD&gt;&lt;TD&gt;Individual Life Insurance&lt;/TD&gt;&lt;TD&gt;C - Greater than 4 hours and less than or equal to 24 hours&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;AN0WOH00&lt;/TD&gt;&lt;TD&gt;Accounts Reconciliation Control System&lt;/TD&gt;&lt;TD&gt;Individual Life Insurance&lt;/TD&gt;&lt;TD&gt;C - Greater than 4 hours and less than or equal to 24 hours&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2nd Table:&lt;/P&gt;&lt;TABLE width="372"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="70"&gt;DATE&lt;/TD&gt;&lt;TD width="118"&gt;MVS_SYSTEM_ID&lt;/TD&gt;&lt;TD width="113"&gt;ACCOUNT_CODE&lt;/TD&gt;&lt;TD width="71"&gt;CALCMIPS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1/1/2020&lt;/TD&gt;&lt;TD&gt;SYST1&lt;/TD&gt;&lt;TD&gt;AD18IEDA&lt;/TD&gt;&lt;TD&gt;1.31&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1/1/2020&lt;/TD&gt;&lt;TD&gt;SYST2&lt;/TD&gt;&lt;TD&gt;AD18IE00&lt;/TD&gt;&lt;TD&gt;2.11&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We wanted to create a table where we can show the SUM or AVG CALCMIPS per Application Name based on month. However, the ACCOUNT_CODE can be used by Multiple Application so it needs to be calculated within all those occurrences.&amp;nbsp;Can you help us on how we can achieve it?&lt;/P&gt;&lt;P&gt;Table will look something like:&lt;/P&gt;&lt;TABLE width="1278"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="484"&gt;Application Name&lt;/TD&gt;&lt;TD width="281"&gt;Business Unit&lt;/TD&gt;&lt;TD width="379"&gt;Application RTO&lt;/TD&gt;&lt;TD width="134"&gt;January Avg. MIPS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Accounts Reconciliation Control System&lt;/TD&gt;&lt;TD&gt;Individual Life Insurance&lt;/TD&gt;&lt;TD&gt;C - Greater than 4 hours and less than or equal to 24 hours&lt;/TD&gt;&lt;TD&gt;0.0472767857142857&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 14:18:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Data-with-multiple-occurences/m-p/543372#M8846</guid>
      <dc:creator>aquinojason</dc:creator>
      <dc:date>2021-03-11T14:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Data with multiple occurences</title>
      <link>https://community.splunk.com/t5/Reporting/Data-with-multiple-occurences/m-p/543383#M8848</link>
      <description>&lt;P&gt;Assuming both source types contain the same&amp;nbsp;&lt;SPAN&gt;ACCOUNT_CODE values.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=index sourcetype=sourcetype1 
| append [ search index=index sourcetype=sourcetype2 
| eval DATE =strftime(strptime(DATE, "%m/%d/%Y", "%b_%Y"))] 
| eventstats max(Application) AS Application, max("Business Unit") AS "Business Unit", max("Application RTO") AS "Application RTO" by ACCOUNT_CODE 
| search sourcetype!=sourcetype1 
| stats avg(CALCMIPS) as avg_CALCMIPS, values("Business Unit") AS "Business Unit", values("Application RTO") AS "Application RTO" by DATE, Application &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this reply helps you, an upvote/like would be appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 14:47:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Data-with-multiple-occurences/m-p/543383#M8848</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-03-11T14:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Data with multiple occurences</title>
      <link>https://community.splunk.com/t5/Reporting/Data-with-multiple-occurences/m-p/543391#M8849</link>
      <description>&lt;P&gt;I will test this out. Thank you very much!&lt;/P&gt;&lt;P&gt;Yes, the ACCOUNT_CODE does exist in both source types. It's just that it can used my multiple Business Unit and should be summed up or included in the average of the Business Units that use that particular ACCOUNT_CODE.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 14:54:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Data-with-multiple-occurences/m-p/543391#M8849</guid>
      <dc:creator>aquinojason</dc:creator>
      <dc:date>2021-03-11T14:54:51Z</dc:date>
    </item>
  </channel>
</rss>

