<?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: Chart Top Seller Between Three Regions Per Year in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Chart-Top-Seller-Between-Three-Regions-Per-Year/m-p/309746#M92931</link>
    <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=vgsales
| eval date_year=strftime(_time, "%Y")
| stats sum(EU_Sales) AS EUSALES sum(JP_Sales) AS JPSALES sum(NA_Sales) AS NASALES BY date_year
| untable date_year country sales
| sort 0 - sales
| dedup date_year
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 01 Dec 2017 03:53:19 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-12-01T03:53:19Z</dc:date>
    <item>
      <title>Chart Top Seller Between Three Regions Per Year</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-Top-Seller-Between-Three-Regions-Per-Year/m-p/309745#M92930</link>
      <description>&lt;P&gt;Hello I'm new to Splunk and I'm stuck trying to create what should be a simple table.&lt;/P&gt;

&lt;P&gt;Basically, I have a database of all video games every made since 1980. I have each games European, Japanese and North American sales.  I wanted to see how the sales in each nation region to the others per year.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=vgsales &lt;BR /&gt;
|chart sum(EU_Sales) as EUSALES sum(JP_Sales) as JPSALES sum(NA_Sales) as NASALES by year&lt;BR /&gt;
&lt;/CODE&gt;&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3925iE83795204F1CC510/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I wanted to know if it is possible to isolate the top performing region per year.  I've tried many times to do this but just can't figure it out.  This would be extremely helpful as my classmate would also like to chart the top selling genre per year.&lt;/P&gt;

&lt;P&gt;Thanks in advance for the help.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 00:40:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-Top-Seller-Between-Three-Regions-Per-Year/m-p/309745#M92930</guid>
      <dc:creator>rfernandez2010</dc:creator>
      <dc:date>2017-12-01T00:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Top Seller Between Three Regions Per Year</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-Top-Seller-Between-Three-Regions-Per-Year/m-p/309746#M92931</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=vgsales
| eval date_year=strftime(_time, "%Y")
| stats sum(EU_Sales) AS EUSALES sum(JP_Sales) AS JPSALES sum(NA_Sales) AS NASALES BY date_year
| untable date_year country sales
| sort 0 - sales
| dedup date_year
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Dec 2017 03:53:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-Top-Seller-Between-Three-Regions-Per-Year/m-p/309746#M92931</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-12-01T03:53:19Z</dc:date>
    </item>
  </channel>
</rss>

