Dashboards & Visualizations

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

vasukadival
Loves-to-Learn

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
Loves-to-Learn

@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!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

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