Combine Dynamic by OrgID and Simple Filters in Domo Publish
Pretty sure I know the answer to this one, but I thought I'd put this use-case out there in case someone has a workaround.
We have a dashboard with multiple line charts that is designed to show comparisons between data in a specific Publish subscriber instance and some state data for comparison. One or more lines show the subscriber instance data and another shows the state data.
The master dataset contains a column of OrgIDs for the different Publish subscriber instances and data for the state (which in this case just has 'State' in the OrgID column. The state data needs to be in the same dataset in order to plot it on the same cards as the subscriber instance-specific data.
When setting the data permissions for the dataset we run into a problem. We want to filter dynamically by OrgID (so each instance only sees their own internal (subscriber instance) data, but we also want to allow the State data through to each instance so the comparison can be made.
We can add both a Dynamic PDP filter and a simple filter, but it appears that the Dynamic PDP filter is always applied first (it doesn't matter which order the filters are added), so the state data is filtered out and never made available in the subscriber instance.
Ideally you would be able to create an 'OR' join i.e. "this OrgID OR the value 'State'", or even just allow the creation of more than one permission on the dataset so these filters can be added independently.
Other than splitting the 'State' data into it's own dataset and duplicating the entire dashboard to show only the State data, I'm not sure how to work around this limitation.
If anyone has thoughts on a workaround, I'd love to hear it…
Answers
-
Figured this out. When setting up data permissions, it is possible to add a second policy for the same dataset. In this case, I have one policy that filters dynamically by Org ID, and another that just filters to the state data I needed.
1
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