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.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 755 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive