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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...