Dashboards & Visualizations

How to hide/unhide detail panel in dashboard?

Keerthi
Path Finder

Hi All,
i am just struck at a point where when i select particular data in the pie chart , there is a detail information table created in another panel in tabular form. but i need that panel to hide and unhide when selected and cleared. as per  the screenshot there is no selection made in the pie chart so the detail panel at the bottom of the pie chart shouldn't be seen. it must be visible when there is selection made. kindly help!!!!!Keerthi_0-1686571202422.png

 

Labels (3)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Assuming Classic dashboard, you can add a depends attribute to the row or panel

<row depends="$tokenname$")

In this way, the row is only visible while the token (tokenname) is defined. To hide the row, depending on how you have set the token, you may need to unset the token.

0 Karma

Keerthi
Path Finder

i am half way now 🙂 
now the panel hides before any selection is made and the panel displays only when there is any selection. But i am struck where the detail panel is not hiding when some other pie chart is clicked. 

Keerthi_0-1686573424242.png

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You will have to modify the other pie charts so that they unset the token when they are clicked

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...