GitHub user billbelanger created a discussion: Scheduled reports with filters

Is it possible to create scheduled reports and specify filters for existing 
charts? We are looking to generate the same report for multiple clients, 
applying filters to restrict the data in the report, customizing for each 
client. Since the reporting UI doesn't allow for customized filters for each 
report, so far, the only way we've been able to figure out how to do this would 
be to generate a unique chart for each client. This might work when we have a 
small handful of clients, but will certainly not scale. Or possibly, we could 
create Alerts for each client, which do allow for customized filters, and the 
alert 'triggers' when 1 > 0 (meaning all the time).

We came across [an earlier 
discussion](https://github.com/apache/superset/discussions/29918) in which 
dosubot recommends using the API to define a `filters` field when creating the 
report. However, reviewing the swagger docs & the [code 
directly](https://github.com/apache/superset/blob/623348f190b5aa8f6bc47eb5734677efc4e4b8e8/superset/reports/schemas.py#L179),
 it doesn't look like `filters` is a field (maybe it was when dosubot 
responded, since that post is almost 2 years old).

We've looked into doing something custom within the celery config, but we were 
a little out of our depth and figured we should check here before we go down a 
rabbit hole.

So, is there something we've overlooked or is this simply something Superset 
can't do natively at the moment? Thanks for your time.

GitHub link: https://github.com/apache/superset/discussions/42544

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to