Can a Quicksight custom query be filtered before running against a database?
Does QuickSight provide a way to filter a direct query running against a database, based on filters selected by the user when the report is run? We have a report that needs to return financial balances for a period of time, based on the filters that a user chooses. So, if the user chooses a specific date, we would be expected to show a balance for that date and for 4 weeks previous, 8 weeks, 12 weeks etc. The only way we can achieve this currently is to have the balance for every single date for the last few financial years returned by our custom SQL query, for each separate account. This results in millions of rows needed in the dataset to cater for every filter date that the user may choose. The query also takes a long time to run because of this.
If the answer to this question is no, would this be something that may become available in the future please?
This feature is currently not supported in Quicksight, I do see a feature request in place for the functionality and it is on the Quicksight roadmap, but we do not have an ETA at this moment.
In the meantime, I request you to please follow this link to stay updated on the latest developments in QuickSight:
Relevant questions
Unable to refresh QuickSight Dataset
asked 5 months agoIs there a possibility SNS topic subscription can filter messages based on custom message header ? And Does SNS supports message grouping ?
asked 5 months agoAthena permission error running a query
asked 4 months agoError bringing in additional datasets/tables to Amazon Quicksight Dataset
asked 4 months agoQuicksight Incremental Refresh for Modified records?
asked 6 months agoQuicksight - Create data set (Athena) - Table query times out when trying to create data set
asked a month agoWhat's the best way to filter out duplicated records in a Glue ETL Job with bookmarking enabled?
asked 6 months agoCan a Quicksight custom query be filtered before running against a database?
Accepted Answerasked 2 months agoCan CloudWatch metric filters be created on logs in a different account?
Accepted Answerasked 3 months agoVisual Error : Can't Load all data on QuickSight Dashboard for Direct Query Mode
asked 17 days ago