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.9K Product Ideas
- 1.9K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 303 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 104 SQL DataFlows
- 640 Datasets
- 2.2K Magic ETL
- 4K Visualize
- 2.5K Charting
- 768 Beast Mode
- 70 App Studio
- 43 Variables
- 716 Automate
- 185 Apps
- 461 APIs & Domo Developer
- 56 Workflows
- 14 DomoAI
- 39 Predict
- 16 Jupyter Workspaces
- 23 R & Python Tiles
- 402 Distribute
- 116 Domo Everywhere
- 277 Scheduled Reports
- 9 Software Integrations
- 134 Manage
- 131 Governance & Security
- 8 Domo Community Gallery
- 44 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 111 Community Announcements
- 4.8K Archive