Please help me to figure out how to deal with the next case:
1. I have a redshift instance for my big data and tenant column inside 2. I have one dataset based on that redshift instance 3. I have SaaS application which has many tenants
I want to provide a dashboard based on tenant from the dataset through embedding links. How to achieve that and does that approach even make sense cause maybe there is another approach to achieve that.
It will be great if I can generate embeded link with tenant filter.
Thank you again. I’ve read a lot of documentation.
That you shared is more about permissions but not about how to filter data and get embedded link for a dashboard.
Yeah, I’ve read that as well.
It’s a bit confused how to use that. There is no any evident returning example for it. I know about GenerateEmbedUrlForAnonymousUser method which is returning embedded link but how can I apply filter by tenant during GenerateEmbedUrlForAnonymousUser?
Thanks again for the link. What a pity that none of these links can’t explain how to get embedded dashboard with already filtered data by specific column. I think that’s pretty much common case…
You would perhaps need to use anonymous embed with tag/value RLS. This would allow you to pass specific key/values relevant to a column in your dataset so the dashboard is rendered with a single tenant’s dataset.
Alternatively you could explore using dashboard / dataset parameters to pass values down into your dataset queries to filter to specific tenant records
Thanks for your answer.
Question about tag/value RLS:
Should I provide that tags in request for generating embedding links? If that’s it well, it makes sense for me, otherwise I don’t quite understand how it works.
About the second approach what do you mean by dataset query? As I understand you a tenant should query their data by itself if that’s what you were about that’s not my case.
In your dataset, you’d write a Custom SQL table and reference a dataset defined parameter to filter data using parameter values that can be passed down to the query executed against your data source (Using dataset parameters in Amazon QuickSight - Amazon QuickSight)
We hope the response from @bkasen helped you.
Let us know if this is resolved.
And if it is, please help the community by marking the answer as a “Solution”.
Hi @Emanuel
I’m marking @bkasen’s response as a solution - if you are using the anonymous user embedding API, the dashboard can be filtered using RLS by utilizing sessionTags when the API is invoked.
Please let us know if you have further questions.
Thank you.