GitHub user satanic-panic created a discussion: Filtered Chart Data via API
Hi, I'm a beginner to Apache Superset and I've been exploring the API. Specifically there's a use case I would like to employ but so far have not found a way to do it. Essentially I want to fetch chart data in a format like JSON, similar to the /api/v1/chart/data call, but be able to filter those results in the request itself. So if the chart has a column named ID, per example, I want to be able to apply a filter such as "ID == [value]" or "WHERE ID LIKE [value]". Is this at all possible? If so how? I have played around with Jinja Templating and Dashboard filters but haven't found a way to make them interact with the API call. I have also looked into Preset but that currently isn't an option so I was looking for alternatives that do not employ third party tools. In case it's relevant, I'm running Apache Superset on a Docker Compose container within an Ubuntu VM. Thank you in advance for any forthcoming replies. GitHub link: https://github.com/apache/superset/discussions/34668 ---- 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]
