Dashboards & Visualizations

How to unset a drilldown token while other drilldown tokens are selected?

vasukadival
Observer

Dear Splunkers,

I have a dashboard with 2 pie charts and one statistical table
I have set drilldown on both the pie chart so that when I select the slices on either pie chart, the data on statistical table gets refreshed accordingly
Problem is when I click on any slice on 1st Pie Chart, data on table loads correctly
Then I click on any slice on 2nd Pie chart, data on table includes both the previous token value along with current one
I need the previous token value to be reset when I click on 2nd pie chart
Could someone please help

Labels (2)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

When you set the token for pie chart one, just also do an unset of the pie chart 2 token, e.g.

<drilldown>
  <set token="pc_1">your_value</set>
  <unset token="pc_2"></unset>
</drilldown>

and similarly for the second pie chart.

 

0 Karma

vasukadival
Observer

@bowesmana Hey 
Thank you so much for your response
I tried this but doesn't seem to work

0 Karma

bowesmana
SplunkTrust
SplunkTrust

Please share your XML for the two panels

 

 

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...