I have a database with data in columns like: (there are more total columns, this is a trivial example)
Organisation, Company, Office, Details.
However, some rows are populated as:
NULL, Company, Office, Details.
Or,
NULL, Company, Office, NULL
etc.
All the data for a specific query will be in the same format, as I am filtering based on the clients ID, and all of the clients data is populated in the same format - however the format varies between clients, and I need to make this generic.
The scenario: a generic dashboard for all our clients, using the same universe, but the populated fields vary by what is relevant to the particular client. The query will be run from an account with access limited by row-level security, so it will only ever see one clients format at a time, but it must be able to handle all clients formats so we only need to maintain one dashboard.
Can I specify a QaaWS query that will return those NULL fields as their own group? IE, so long as something is populated in the row, I want to return the row, and just have the non-filled columns as blanks.
pulseguy (BOB member since 2009-12-06)