Best Of
Understanding PDP, DataSets, and DataFlows
I've finally had a look at PDP as I need to retrofit a page with dozens of cards to filter the data on display for specific users and user groups. When I'm learning something new, I usually read the docs, try it out, and make junky little sketches. If I can't make a sketch, I definitely don't understand what I'm looking at. On the other, just because I can make a sketch it doesn't mean that the sketch is right. I figured this would be a good time to ask a few conceptual questions about PDP, DataSets and DataFlows and, hopefully, deepen my understanding of how Domo functions internally.
First up a Terrible Little Diagram for a DataSet with one filtering PDP policy:

As I understand it, PDP policies apply to a specific DataSet, so they can really be thought of as a property of the DataSet. I illustrated it as above as 1) it makes more sense for a policy to stand on its own and 2) we'll end up making redundant policies as a matter of course as Domo doesn't support policy sharing.
What I'm not sure I've gotten at all right is the box labelled "Virtual Filtered DataSet." Is that about right? I have the impression that a DataSet is rendered/indexed/stored within Domo and that a PDP filter is a runtime/dynamic operation. I got this idea after trying to map out the DataFlow behavior:

According to the docs, a DataSet with a PDP policy cannot be used as an input to a DataFlow, but an output DataSet can have PDP policies attached. If DataFlow outputs are fully rendered DataSets that are saved and indexed, and PDP policies are only applied dynamically at runtime based on a specific user context, then this all kind of makes sense. Hence the "Virtual Filtered DataSet" in the diagram.
But I could have it all wrong, I have no idea. Does anyone know about these points:
- Are DataSets parsed, stored, and indexed during import?
- Are DataFlow output DataSets parsed, stored, and indexed during DataFlow run/update?
- Are PDP filters only applied at runtime? Meaning there's no serialized version stored in advanced?
If anyone's got some info or insight, I'd love to hear about it. I'm not sure that I can claim that the information will do me any specific good right now, but getting a more fully developed mental model of how Domo works will definitely help me going forward.
Thanks
Re: Beast Mode Calc for URL Won't Activate Intranet Links
Hi @user028768
Try wrapping your values in double quotes:
CONCAT('<a href="', `Link to Additional Info`, '" target="_blank">Click to see additional info</a>')
Also, what type of card are you using? Hyperlinks will only work in table cards.
Re: Comma Separated Field to Child Table
I'd recommend doing the splitting out in your custom connector and having a single row for each tag in your dataset, then you can use an ETL to group by and combine them together with a comma afterwards. It's easier to loop through all of your tags and generate one row for each tag.
Re: Is there a way to prevent a card in a story page from using the page filters?
Thanks for the quick response. The problem I have with using filter cards is the size of the text lists that are being filtered. The text filter cards don't give me an easy view like the page filters.
The option that I would really like to see is a per dashboard/card interaction option to say 'ignore filters' and let the user pick which page level filters to ignore.
Re: Trigger a dataset update via python using a post call
I was able to figure this out. In case anyone needs it:
from pydomo import Domo from pprint import pprint domo = Domo(client_id, client_secret, api_host=api_host) dataset_id = xxxx streams = domo.streamsstream_list = streams.list(2000,0)
dataset_streams = [stream for stream in stream_list if stream['dataSet']['id'] == dataset_id]dataset_stream = dataset_streams[0]
pprint(dataset_stream)
dataset_stream_id = dataset_stream['id']
streams.create_execution(dataset_stream_id) print(dataset_stream_id )
Re: Have you upgraded Domo SSO successfully (or unsuccessfully) to Azure AD?
@PWeed domo has customers successfully using Azure AD.
To your second question, when you resync your AD groups are you saying that it's not synccing? I would imagine the sync command should create and remove groups in Domo to match AD.
SSO is a bit of a niche area, i recommend you liase with support@domo.com for fastest resolution.
Excited to be here!
Just wanted to pop in and say I'm excited to be a part of the community forums! My company implemented Domo last year and we love it. 😁😎
Re: Azure SQL Connector
This is likely a Domo infrastructure backend issue that you'll need to reach out to Domo Support to get resolved.
Re: Is there a way to use a matching value filter with a single select filter?
Complex filtering as you're asking isn't currently possible. If you're wanting to select specific values from the list then I'd recommend restructuring your data so that each animal appears on it's own line in your dataset and use a multi-select filter.


