<?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: How do I use a value from a different field in drilldown? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388557#M25443</link>
    <description>&lt;P&gt;Okay, I didn't test it out before but strangely, if I click on {row_one, column_three}, then $cell.value2$ = 5.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 22:36:17 GMT</pubDate>
    <dc:creator>ZacEsa</dc:creator>
    <dc:date>2020-09-29T22:36:17Z</dc:date>
    <item>
      <title>How do I use a value from a different field in drilldown?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388556#M25442</link>
      <description>&lt;P&gt;Right now, when I click on the value in column two, I can use the values in column one and two with $click.value$ and $click.value2$. However, if I click on the value in column one, I can only use the value in column one with $click.value$. $click.value2$ basically becomes the same as $click.value$.&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/262728-screen-shot-2019-01-08-at-53212-pm.png" alt="Sample Table" /&gt;&lt;/P&gt;

&lt;P&gt;Example;&lt;BR /&gt;
If I click on {row_one, column_two}, $cell.value$ = 1 and $cell.value2$ = 3&lt;BR /&gt;
If I click on {row_one, column_one}, $cell.value$ = 1 and $cell.value2$ = 1&lt;/P&gt;

&lt;P&gt;So, how do I use the value of {row_one, column_two} even if only {row_one, column_one} is clicked?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:36:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388556#M25442</guid>
      <dc:creator>ZacEsa</dc:creator>
      <dc:date>2020-09-29T22:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use a value from a different field in drilldown?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388557#M25443</link>
      <description>&lt;P&gt;Okay, I didn't test it out before but strangely, if I click on {row_one, column_three}, then $cell.value2$ = 5.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:36:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388557#M25443</guid>
      <dc:creator>ZacEsa</dc:creator>
      <dc:date>2020-09-29T22:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use a value from a different field in drilldown?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388558#M25444</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/178477"&gt;@ZacEsa&lt;/a&gt;,&lt;/P&gt;

&lt;P&gt;In drilldown, &lt;CODE&gt;$click.value$&lt;/CODE&gt; is value of the first cell in row however &lt;CODE&gt;$click.value2$&lt;/CODE&gt; is actual clicked cell value. &lt;/P&gt;

&lt;P&gt;For example&lt;BR /&gt;
If you click on row_one, column_three it will give you &lt;CODE&gt;$click.value$=1&lt;/CODE&gt; and &lt;CODE&gt;$click.value2$=5&lt;/CODE&gt;&lt;BR /&gt;
If you click on row_two, column_four it will give you &lt;CODE&gt;$click.value$=2&lt;/CODE&gt; and &lt;CODE&gt;$click.value2$=8&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;If you would like to use 2nd column value from every row in drilldown then you can use &lt;CODE&gt;$row.column_two$&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;So based your data when you click anywhere in first row it will give you &lt;CODE&gt;$row.column_two$=3&lt;/CODE&gt; and in 2nd row it will give you &lt;CODE&gt;$row.column_two$=4&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:40:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388558#M25444</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2020-09-29T22:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use a value from a different field in drilldown?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388559#M25445</link>
      <description>&lt;P&gt;@ZacEsa you can always use &lt;CODE&gt;$row.column_one$&lt;/CODE&gt;,&lt;CODE&gt;$row.column_two$&lt;/CODE&gt;, &lt;CODE&gt;$row.column_three$&lt;/CODE&gt;... to fetch value from any column from the row where a particular cell is clicked. &lt;CODE&gt;$click.value$&lt;/CODE&gt; is for first column in the table and $click.value2$ is for current cell.&lt;/P&gt;

&lt;P&gt;Refer to Splunk Documentation : &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/EventHandlerReference#Drilldown_event_tokens"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Viz/EventHandlerReference#Drilldown_event_tokens&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 12:07:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388559#M25445</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-01-08T12:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use a value from a different field in drilldown?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388560#M25446</link>
      <description>&lt;P&gt;Guess I was late &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 12:08:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388560#M25446</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-01-08T12:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use a value from a different field in drilldown?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388561#M25447</link>
      <description>&lt;P&gt;lol ....:)&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 12:12:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388561#M25447</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-01-08T12:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use a value from a different field in drilldown?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388562#M25448</link>
      <description>&lt;P&gt;Actually, I tried with the row but, my column name is like, Device Name: so, when I tried $row.Device Name:$, it didn’t work. Is there any special format or I can’t rename it as such if I want to use the drill down?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 13:55:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388562#M25448</guid>
      <dc:creator>ZacEsa</dc:creator>
      <dc:date>2019-01-08T13:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use a value from a different field in drilldown?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388563#M25449</link>
      <description>&lt;P&gt;I suggest to rename column name in main query &lt;CODE&gt;| rename "Device Name:" as Device_Name&lt;/CODE&gt; and then use &lt;CODE&gt;$row.Device_Name$&lt;/CODE&gt; in drilldown.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 14:02:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388563#M25449</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-01-08T14:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use a value from a different field in drilldown?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388564#M25450</link>
      <description>&lt;P&gt;I actually renamed it to "Device Name:" so that it looks nicer on the dashboard. So, I can't use a nice name if I want to use a custom drilldown?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 08:50:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388564#M25450</guid>
      <dc:creator>ZacEsa</dc:creator>
      <dc:date>2019-01-09T08:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use a value from a different field in drilldown?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388565#M25451</link>
      <description>&lt;P&gt;I don't know how to use &lt;CODE&gt;:&lt;/CODE&gt; in token but if you can use &lt;CODE&gt;Device Name&lt;/CODE&gt; instead of &lt;CODE&gt;Device Name:&lt;/CODE&gt; for column header then try &lt;CODE&gt;$row.Device Name$&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 12:37:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388565#M25451</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-01-09T12:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use a value from a different field in drilldown?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388566#M25452</link>
      <description>&lt;P&gt;Hadn't tried it but I'll accept your answer and use Device_Name for now. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 08:09:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-use-a-value-from-a-different-field-in-drilldown/m-p/388566#M25452</guid>
      <dc:creator>ZacEsa</dc:creator>
      <dc:date>2019-01-10T08:09:14Z</dc:date>
    </item>
  </channel>
</rss>

