Hello!
I’ve been provided a Quick Sight Dataset that is curated by another team in my organization. I do not have access to the underlying Data Sources.
I’d like to query this Dataset - or transform it inside the Quick Sight UI somehow - to collapse it to a single field containing only the unique values for that field. I will then join the result to another Dataset I own. I need to do this to prevent row-expansion.
Is this possible? And more generally, is it possible to define a SQL query on top of an existing QS Dataset owned by another user?
Thank you!
Hi @garthofj, Quick Sight doesn’t allow direct SQL queries on datasets owned by another user, you can create datasets based on data from multiple sources using the “Custom SQL” option if you have access to the underlying databases.
SQL Queries on Existing Datasets
While Quick Sight doesn’t allow direct SQL queries on datasets owned by another user, you can create datasets based on data from multiple sources using the “Custom SQL” option if you have access to the underlying databases.
- Access to Data Source: If you can request access to the underlying data source, you can create a new dataset with custom SQL.
- Permissions: Work with your admin or data team to get the necessary permissions to the source or to get a copy of the dataset.
Best Practices
- Communication with Data Owners: Coordinate with the team that owns the dataset to see if they can provide you with a derived dataset or the necessary access.
- Data Governance: Ensure that any data manipulation or exporting follows your organization’s data governance policies.
Summary
To summarize, while Quick Sight doesn’t support direct SQL queries on datasets owned by others, you can work around this by creating new derived datasets through the UI, exporting necessary data, and performing joins with your own datasets. Always ensure you have the necessary permissions and follow best practices for data governance.
I am marking this reply as, “Solution,” but let us know if this is not resolved. Thanks for posting your questions on the Quick Sight Community!
Got it. Thanks for the quick reply.