Dashboards & Visualizations

Added and removing columns based on dropdown fields

shakSplunk
Path Finder

Hi All,

Currently I have a pivot table within a dashboard. I've added a dropdown that filters the pivot table based on the selected dropdown item. I was wondering is there a way where I can add a column to the pivot table if a particular dropdown value is selected. 

E.g. Something along the lines of the following logic: if($dropdownfield$=="cartridge") add column "Catridge" remove column "Artefact"

Feel free to ask for further clarification if the question doesn't make sense.

Any help would be highly appreciated. 

Labels (2)
0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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