Dashboards & Visualizations

Reset dropdowns in dashboard studio

Poojitha
Communicator

Hi,

I have a dashboard created in dashboard studio . This contains two drop downs (Country and State).. Both of them are interdependent on each otherc to display values and has default value set to * (All).

When I select value from country dropdown , it loads its states in dropdown 2. 

Poojitha_0-1722629872472.png

But when I do the selection second time, Example -  USA -->  India. States will still have California in display. But on clicking  states dropdown later,t I can see India related states with California as first value.

Poojitha_1-1722630059317.png


Is there a way that dropdown selection can be reset automatically based on other dropdown value.

Example, when I select USA , states of USA must be displayed in states dropdown. When I change selection from USA to India, states dropdown should be either All or first value of Indian state. 

Please help on this.

Regards,
PNV
 






Labels (1)
0 Karma

KendallW
Contributor

Hi @Poojitha try using "unset" in the country dropdown, so that whenever it is changed, the state dropdown will first reset before populating.

E.g. in the country dropdown xml:

 

<change>
    <unset token="state"></unset>
</change>

 

 

0 Karma

Poojitha
Communicator

@KendallW  Thanks for your response.

The XML tags you provided works in classic dashboard. Do you know how we can do same in dashboard studio ?
Regards,
PNV

gm-gs
Engager

@Poojitha were you ever able to get this sorted out?

Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...