How can I hide a card, filter, or custom control on a dashboard?
We have a business case that requires us to have a control that sets a variable that we use to determine which column to display as part of a visualization. The value of the control will be preset. We want the control to be hidden on the dashboard. How can this be accomplished?
Best Answers
-
@D_Markley34 could you add the control directly to the card instead of the dashboard? What is the reasoning for using a variable here. Usually variables are used so people can change the values being shown, otherwise you can just hardcode the value in without needing a variable.
**If this answer solved your problem be sure to like it and accept it as a solution!
0 -
If you're determining what will be shown based on the user, an alternative might be to use one of the values in domo.env rather than a variable, and limit the shown columns based on this. You could extend this if you also have a dataset from the Domo Governance Datasets. Just mentioning this as a possible alternative so you don't have to deal with the variable, setting it and all that.
0 -
@D_Markley34 ah that makes more sense, this sounds like it would be a perfect use case for Column Masking once that becomes available.
**If this answer solved your problem be sure to like it and accept it as a solution!
0
Answers
-
@D_Markley34 could you add the control directly to the card instead of the dashboard? What is the reasoning for using a variable here. Usually variables are used so people can change the values being shown, otherwise you can just hardcode the value in without needing a variable.
**If this answer solved your problem be sure to like it and accept it as a solution!
0 -
In reading my original question I failed to mention the custom control is in a data brick making it necessary to have it on the dashboard. We have one set of users that can see an employees name and another set that is only allowed to see an employee ID. We have created a custom control in a data brick that allows us to pass the info we need to automatically set a variable that we use to control the column to display.
0 -
If you're determining what will be shown based on the user, an alternative might be to use one of the values in domo.env rather than a variable, and limit the shown columns based on this. You could extend this if you also have a dataset from the Domo Governance Datasets. Just mentioning this as a possible alternative so you don't have to deal with the variable, setting it and all that.
0 -
@D_Markley34 ah that makes more sense, this sounds like it would be a perfect use case for Column Masking once that becomes available.
**If this answer solved your problem be sure to like it and accept it as a solution!
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive